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

Some problems with the drule API

    XMLWordPrintable

    Details

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

      Description

      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".

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved: