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

Wrong default value for hostname in zabbix agent 2 configuration

XMLWordPrintable

    • Icon: Problem report Problem report
    • Resolution: Unresolved
    • Icon: Trivial Trivial
    • None
    • 7.0.0
    • Agent (G)
    • None

      Steps to reproduce:

      1. apt install zabbix-agent2
      2. grep Hostname= /etc/zabbix/zabbix_agent2.conf -B7

      Result:
      The Hostname setting is described as not set by default, but below it's set to "Zabbix server".
      **

      Expected:
      It shouldn't be set to anything specific there.

       

      When installing zabbix agent 2 on many machines, we need to set Hostname to the empty string on all of them, for it to pick up the machine's hostname. If it followed the default described in the configuration of not setting it there and then picking the machine's hostname, that wouldn't be necessary.

            zabbix.dev Zabbix Development Team
            kb_jorgensen KB Jørgensen
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: