Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-18041

Active agents autoregistration loops when ServerActive store multiply values

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Won't fix
    • Icon: Trivial Trivial
    • None
    • 5.0.1
    • Server (S)
    • None

      Trying to implement feature when active agents moving between proxies depends on HostMetadataItem value. HostMetadataItem returns a string contains proxy name which it must be controlled and ServerActive point to all needed proxies. Autoregistrations rules defined as below:

      If metadata returns 'c7-prx-01' - the host registering on c7-prx-01 proxy and if 'c7-prx-02' - moves to the corresponding one. But autoregistration procedure repeats every time then agent goes to proxy to get configuration (RefreshActiveChecks period) and I receive next email:

      Host name: c7-node-01
      Host IP: 172.16.1.41
      Agent port: 10050
      Host metadata: c7-prx-01
      Action name: c7-prx-01

      Host metadata stays unchanged.

      Steps to reproduce:

      1. Set ServerActive to multiply proxies
      2. Create an autoregistration actions as above
      3. Set notification to some user
      4. You will receive a mail about registered agent every time it's get configuration from proxy

      Expected:
      Host must be registered once.

            zabbix.support Zabbix Support Team
            asand3r Khatsayuk Alexander
            Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: