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

XMLWordPrintable

    • Type: Documentation task
    • Resolution: Fixed
    • Priority: Trivial
    • 5.4 (plan)
    • Affects Version/s: None
    • Component/s: 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

            Assignee:
            Martins Valkovskis
            Reporter:
            Kaspars Mednis
            Team D
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: