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

Details

    • Documentation task
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • None
    • 5.4 (plan)
    • None
    • None
    • Team D

    Description

      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

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: