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

Drule.get returns empty dchecks list

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Fixed
    • Icon: Critical Critical
    • 1.8.20rc1
    • 1.8.5rc1
    • API (A)
    • Centos 5.6, PostgreSQL 8.4

      Drule.get returns empty dchecks list, while there is an ICMP Ping check defined in that rule.

      JSON query
      {
      "params" : {
      "filter" :

      { "name" : [ "???? 10.1.1.0/24" ] }

      ,
      "output" : "extend",
      "selectDChecks" : "extend"
      },
      "auth" : "23df0748c4e89204014830e343e707ab",
      "jsonrpc" : "2.0",
      "method" : "drule.get",
      "id" : 7
      }

      JSON reply
      [

      { "nextcheck" : "0", "iprange" : "10.1.1.0/24", "druleid" : "7", "proxy_hostid" : "0", "status" : "0", "delay" : "300", "name" : "???? 10.1.1.0/24", "dchecks" : [], "unique_dcheckid" : "0" }

      ]

        1. class.cdrule.php.patch
          1 kB
        2. class.cdrule.php.2.patch
          7 kB
        3. api_drule.patch
          11 kB
        4. rule.get_1.8.16.patch
          1 kB

            Unassigned Unassigned
            sire Sergey Syreskin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: