describe purpose and logic of using more than 1 value for Hostname agent parameter

XMLWordPrintable

    • Type: Documentation task
    • Resolution: Unresolved
    • Priority: Minor
    • None
    • Affects Version/s: 6.0.45, 7.0.28rc1
    • Component/s: Documentation (D)
    • None

      Currently it's not described at all what is this for.
      https://www.zabbix.com/documentation/7.4/en/manual/appendix/config/zabbix_agentd#hostname

      For example if I have this configured:

      ServerActive=127.0.0.1,10.33.0.4
      Hostname=it0,it22
      

      the agent will start 4 active check process, dedicated for separate connections:

      # egrep sending zabbix_agentd.log | grep config_revision
      547752:20260618:165327.117 sending to [127.0.0.1]:10051: {"request":"active checks","host":"it22","config_revision":0,"session":"2a78f7063550497360200dd408d629dc","version":"7.0.27rc1","variant":1}
      547751:20260618:165327.117 sending to [127.0.0.1]:10051: {"request":"active checks","host":"it0","config_revision":0,"session":"891b7343cfb713e2ef2cb0a113a033dc","version":"7.0.27rc1","variant":1}
      547753:20260618:165327.118 sending to [10.33.0.4]:10051: {"request":"active checks","host":"it0","config_revision":0,"session":"d5ef190bcbd71f0027f2cfa570ddc3a4","version":"7.0.27rc1","variant":1}
      547754:20260618:165327.118 sending to [10.33.0.4]:10051: {"request":"active checks","host":"it22","config_revision":0,"session":"da933a8cdcf5790d13b72efeafee9a7c","version":"7.0.27rc1","variant":1}
      

      If a more simple thing - only one IP:

      ServerActive=127.0.0.1
      Hostname=it0,it22
      

      then:

      # egrep sending zabbix_agentd.log | grep config_revision
      552430:20260618:170436.928 sending to [127.0.0.1]:10051: {"request":"active checks","host":"it0","config_revision":0,"session":"cbbcb276ddc929bcfd8ce6b98c425ac0","version":"7.0.27rc1","variant":1}
      552431:20260618:170436.928 sending to [127.0.0.1]:10051: {"request":"active checks","host":"it22","config_revision":0,"session":"a6a009e0efe51733f376fae29941b5aa","version":"7.0.27rc1","variant":1}
      
      

            Assignee:
            Zabbix Development Team
            Reporter:
            Oleksii Zagorskyi
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: