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

Confusing that Host object property "host" is required for the Maintenance API

    XMLWordPrintable

Details

    • Team C
    • Sprint 89 (Jun 2022), Sprint 90 (Jul 2022), Sprint 91 (Aug 2022)
    • 0.1

    Description

      Steps to reproduce:

      1. Go to [maintenance.create|create], [maintenance.update|update]
      2. Click on Hosts
      3. Try to send request "params": { "hosts":[

        { "hostid":"12345", "host":"example.com" }

        ],...

      Result:
      "error":

      { "code": -32602, "message": "Invalid params.", "data": "Invalid parameter \"/1/hosts/1\": unexpected parameter \"host\"." }

      Expected:
      More accurate documentation stating that only the hostid property should be used and no other. The link to the Host object only confuses.

      Attachments

        Activity

          People

            agavriluks Andrejs Gavriluks
            yuriip Yurii Polenok
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: