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

Changed drawtype in graph prototype does not propagate to existing graphs

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Won't fix
    • Icon: Minor Minor
    • None
    • 2.4.4
    • API (A), Frontend (F)
    • None

      I would like to create graphs with gradient drawtype. This is not (yet?) possible through the web interface, so I used the webinterface to create the basic graph prototype and used the API to change the drawtype.

      The setup is as follows:

      Template -> Discovery Rule -> Graph prototype -> Graph items

      The graph items got a drawtype of 0 (line), and I used the API to change it to 5 (gradient line). The change was succesful, if I use the API to check, it does say drawtype 5 now.

      Now this discovery rule had already detected a lot of items and thus an equal amount of graphs already exist. They should have been changed accordingly, but this was not the case.
      I tried using the API to update those graphs but this gives an error, explaining that you cannot change dynamically created graphs individually, you have to change the graph prototype instead.

            Unassigned Unassigned
            eriklogtenberg Erik Logtenberg
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: