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

Deleting map with the API

    XMLWordPrintable

    Details

    • Type: Incident report
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.8.2
    • Fix Version/s: 1.8.3
    • Component/s: API (A)
    • Labels:
      None

      Description

      http://www.zabbix.com/forum/showthread.php?t=16974

      There is a bug when you try to delete a map with the API. Elements concerning this map are not deleted in the other maps.

      In the file class.cmap.php, line 677, I think you have to change :
      ' WHERE '.DBcondition('sysmapid',$sysmapids).
      by
      ' WHERE '.DBcondition('elementid',$sysmapids).

      Thank you for the API. With python, it's a real pleasure to interface our system with zabbix.

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            aly Artem Suharev (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: