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

Zabbix API allows specify unique criteria for simple checks in discovery rule creation

    Details

    • Type: Incident report
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.2.3
    • Fix Version/s: 2.3.2
    • Component/s: API (A)
    • Labels:

      Description

      There is possible to specify "uniq" = "1" for simple checks, like ICMP Ping, FTP, HTTP and other.

      For example, the following API query is accepted without errors:
      {
      "jsonrpc": "2.0",
      "method": "drule.create",
      "params": {
      "name": "test",
      "iprange": "10.2.158.0\/24",
      "dchecks": [

      { "type": "12", "uniq": "1" }

      ],
      "proxy_hostid": "1010",
      "delay": "3600",
      "status": "0"
      },
      "auth": "****",
      "id": 1
      }

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              dotneft Alexey Pustovalov
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: