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

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Fixed
    • Icon: Minor Minor
    • 2.3.2
    • 2.2.3
    • API (A)

      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
      }

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

              Created:
              Updated:
              Resolved: