Ad Widget

Collapse

Problem with template graphs

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Godzilla
    Junior Member
    • Aug 2005
    • 24

    #1

    Problem with template graphs

    I tried to make a graph from templates but there is an error.
    It does not add a different name for each graph when I add the first item to the graph. It is just adding the same item to the same graph and a sql error occurs.

    Is this a bug in graph templating? Thanks

    OUTPUT below:

    [Item added]

    Graph '*** TESTING {HOSTNAME} *** ' added
    Added Item 'Ping Test' for graph ''
    Graph '*** TESTING {HOSTNAME} *** ' added
    Added Item 'Ping Test' for graph ''
    Graph '*** TESTING {HOSTNAME} *** ' added
    Added Item 'Ping Test' for graph ''
    Added Item 'Ping Test' for graph '*** TESTING {HOSTNAME} *** '


    SQL error: Duplicate entry '*** TESTING {HOSTNAME} *** ' for key 2
    Query: insert into graphs (name,width,height,yaxistype,yaxismin,yaxismax,tem plateid) values ('*** TESTING {HOSTNAME} *** ',900,200,0,0.0000, 100.0000,295)
    No graph with graphid=[721]
    SQL error: Duplicate entry '*** TESTING {HOSTNAME} *** ' for key 2
    Query: insert into graphs (name,width,height,yaxistype,yaxismin,yaxismax,tem plateid) values ('*** TESTING {HOSTNAME} *** ',900,200,0,0.0000, 100.0000,295)
    No graph with graphid=[722]
    SQL error: Duplicate entry '*** TESTING {HOSTNAME} *** ' for key 2
    Query: insert into graphs (name,width,height,yaxistype,yaxismin,yaxismax,tem plateid) values ('*** TESTING {HOSTNAME} *** ',900,200,0,0.0000, 100.0000,295)
    No graph with graphid=[723]
Working...