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

name and description incorrectly inserted through API

XMLWordPrintable

    • Icon: Problem report Problem report
    • Resolution: Won't fix
    • Icon: Minor Minor
    • None
    • 3.2.6
    • API (A), Frontend (F)
    • archlinux/docker image (zabbix:zabbix-web-nginx-mysql:alpine-3.2-latest)

      Attempting to create a single trigger using the API. Later on, in the interface, (2 attached images), it looks like:

      1. the trigger 'name' has been replaced by the description content in the request,
      2. the trigger 'description' is empty.

      *Request JSON:
      {
      "jsonrpc": "2.0",
      "method": "trigger.create",
      "params": [
      {
      "name": "name123",
      "description": "description123",
      "expression": "

      {test:test.last()}

      >80",
      "priority": 4
      }
      ],
      "id": 1,
      "auth": "69d031f97193d09358d5d69e7b90338a"
      }

      *Response:

      {"jsonrpc":"2.0","result":

      {"triggerids":["14623"]}

      ,"id":1}

        1. detail.png
          detail.png
          41 kB
        2. preview.png
          preview.png
          70 kB

            Unassigned Unassigned
            ipe Ivan Petkov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: