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

API returns visible name for hosts, even if it is empty

    XMLWordPrintable

    Details

    • Type: Incident report
    • Status: Closed
    • Priority: Trivial
    • Resolution: Incomplete
    • Affects Version/s: 1.9.8 (beta)
    • Fix Version/s: None
    • Component/s: API (A)
    • Labels:
      None

      Description

      When querying the templates, each template returned has the "name" filled, even if no visible name was entered. This causes a problem when trying to update templates as the API client does not know if a visible name was set or not.

      Example:

      • The default installation has no visible name set for "Template_Cisco_PIX515E"
      • The API returns "Template_Cisco_PIX515E" for both "host" and "name".
      • "name" should be null or "" to indicate that no name was set.

      I have skipped a possible bugfix as I don't know if that's intented or conflicts in other areas of Zabbix.

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            felicitus Timo A. Hummel
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: