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

Some problems with the drule API

    XMLWordPrintable

Details

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

    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

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

            Dates

              Created:
              Updated:
              Resolved: