Updating host name or visible name via API creates no audit entry

XMLWordPrintable

    • Type: Incident report
    • Resolution: Duplicate
    • Priority: Minor
    • None
    • Affects Version/s: 2.0.4
    • Component/s: Frontend (F)

      =Scenario=

      Update the technical host name via the API with a call like this:

      host.update(

      {hostid=<some_id>, host=<some_crazy_name>}

      )

      =Expected behaviour=

      • Host name is updated
      • Change causes an audit entry, like it does when you update the host name manually

      =Witnessed behaviour=

      • Host name is updated
      • There is no audit entry

      It also fails to write an entry when changing the visible name. If I change the host status via the API, audit entries are written.

            Assignee:
            Unassigned
            Reporter:
            Volker Fröhlich
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: