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

Change description for system.hostname key

XMLWordPrintable

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

      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.

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

              Created:
              Updated:
              Resolved: