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

API call usermacro.get does not work correctly

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Duplicate
    • Icon: Major Major
    • None
    • 1.9.9 (beta)
    • API (A)

      There are number of problems in methods of Usermacro related API calls:

      (1) it returns array of hosts regardless of user parameters
      (2) processing of template related macros is incorrect (no processing of templateids), the code is absolutely broken

      All code of usermacro.get must be reviewed.

      Note that calls to usermacro.get must be reviewed and fixed in template.get, host.get and other methods when (1) and (2) are done.

            Unassigned Unassigned
            alexei Alexei Vladishev
            Votes:
            2 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: