Changed drawtype in graph prototype does not propagate to existing graphs

XMLWordPrintable

    • Type: Incident report
    • Resolution: Won't fix
    • Priority: Minor
    • None
    • Affects Version/s: 2.4.4
    • Component/s: 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.

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

              Created:
              Updated:
              Resolved: