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

Zabbix agent2 doesn't correctl report agent.hostname, HostnameItem is set

    XMLWordPrintable

Details

    • Problem report
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 5.0.1
    • 5.0.5rc1, 5.2.0rc1, 5.2 (plan)
    • Agent (G)
    • None
    • Team A
    • Sprint 68 (Sep 2020), Sprint 69 (Oct 2020)
    • 0.125

    Description

      If the Hostname= parameter is not explicitly set, the agent does not report agent.hostname correctly:

      #Hostname=
      HostnameItem=system.hostname
      

      or

      #Hostname=
      #HostnameItem=system.hostname
      

      result:

      [root@50 ~]# zabbix_agent2 -t agent.hostname
      agent.hostname                                [s|]
      [root@50 ~]# zabbix_agent2 -t system.hostname
      system.hostname                               [s|50]
      

      Attachments

        Activity

          People

            esneiders Eriks Sneiders
            zux Edgars Melveris
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: