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

Some problems with the drule API

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Fixed
    • Icon: Minor Minor
    • 2.1.0
    • 2.0.6, 2.1.0
    • API (A)

      1. Typo in CDrule::exists()

      if (isset($object['hostids'])) $options['druleids'] = zbx_toArray($object['druleids']);
      must be
      if (isset($object['druleids'])) $options['druleids'] = zbx_toArray($object['druleids']);

      2. In CDRule.get() the limitSelect options must sort dcheck by "dcheckid" and "dhosts" by "dhostid", not by "name".

            Unassigned Unassigned
            jelisejev Pavels Jelisejevs (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: