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

    • Type: Problem report
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 5.0.1
    • Fix Version/s: 5.0.5rc1, 5.2.0rc1, 5.2 (plan)
    • Component/s: Agent (G)
    • Labels:
      None
    • Team:
      Team A
    • Sprint:
      Sprint 68 (Sep 2020), Sprint 69 (Oct 2020)
    • Story Points:
      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:

      [[email protected] ~]# zabbix_agent2 -t agent.hostname
      agent.hostname                                [s|]
      [[email protected] ~]# zabbix_agent2 -t system.hostname
      system.hostname                               [s|50]
      

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved: