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

Zabbix API method item.create uses deprecated $1 syntax in example

XMLWordPrintable

    • Icon: Documentation task Documentation task
    • Resolution: Fixed
    • Icon: Trivial Trivial
    • 5.4 (plan)
    • None
    • None
    • None

      https://www.zabbix.com/documentation/current/manual/api/reference/item/create

      documentation says, that the use of positional macros ($1,$2… $9 - referring to the first, second… ninth parameter of the item key) is now deprecated.

      "params": {
              "name": "Free disk space on $1",
              "key_": "vfs.fs.size[/home/joe/,free]",
              "hostid": "30074", 

      API documentation must be changed to not use deprecated item name as an example

            martins-v Martins Valkovskis
            kaspars.mednis Kaspars Mednis
            Team D
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: