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: Confirmed
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • None
    • None

    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 has hostname.

      Attachments

        Activity

          People

            zabbix.dev Zabbix Development Team
            avolodin Aleksey Volodin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: