API trigger.get return wrong 'dns' for trigger template

XMLWordPrintable

    • Type: Incident report
    • Resolution: Cannot Reproduce
    • Priority: Minor
    • None
    • Affects Version/s: None
    • Component/s: API (A)

      {"triggerids": ["100100000012209"], "output": "extend", "select_hosts": "extend"}

      , "jsonrpc": "2.0", "method": "trigger.get", "auth": "", "id": 4}
      return:
      ...
      'dns': 'Template_FreeBSD',
      'host': 'T.NOC.UNIX_ALL',
      ...
      T.NOC.UNIX_ALL - this is name of template. Template_FreeBSD - name of another template that linked with "T.NOC.UNIX_ALL", but have no relation with this trigger.

            Assignee:
            Unassigned
            Reporter:
            gescheit
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: