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

item object and templateid

XMLWordPrintable

    • Icon: Documentation task Documentation task
    • Resolution: Fixed
    • Icon: Trivial Trivial
    • 4.2 (plan)
    • None
    • Templates (T)
    • None
    • Sprint 47, Dec 2018
    • 0

      Steps to reproduce:

      checkout docs at https://www.zabbix.com/documentation/3.0/manual/api/reference/item/object#item

      see that there is no hint how to add items to templates. There is one info  that templateid is ro-variable. There should be a hint that you have to use hostid param to add items to templates. Also the description of hostid in the docs could provide something like

       

      ```

      "ID of the host or template that the item belongs to."

      ```

       

      Furthermode interfaceid is not required either when you add items to templates. It is only required when adding items to hosts.

       

            martins-v Martins Valkovskis
            kago Karsten
            Team D
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: