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

Change description for system.hostname key

    XMLWordPrintable

Details

    • Documentation task
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 6.2 (plan)
    • Documentation (D)
    • None
    • Team A
    • Sprint 87 (Apr 2022), Sprint 88 (May 2022)
    • 0.125

    Description

      Here

      https://www.zabbix.com/documentation/current/manual/config/items/itemtypes/zabbix_agent

      on this key

      system.hostname[<type>, <transform>] 

      Description

      The value is acquired by either GetComputerName() (for netbios) or gethostname() (for host) functions on Windows and by "hostname" command on other systems.

      on this part

      and by "hostname" command on other systems.

      Are not correct

      Formally - agent in src/libs/zbxsysinfo/+/hostname.c SYSTEM_HOSTNAME() function calls system API uname(). From all names returned by uname() Zabbix agent takes nodename and returns it as hostname.

      Attachments

        Issue Links

          Activity

            People

              martins-v Martins Valkovskis
              avolodin Aleksey Volodin
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: