PDA

View Full Version : Linked graphs in alpha8


christian
09-05-2005, 20:24
I just upgraded from alpha7 to alpha8 and I tried to add a linked graph by adding it to my template host. Then I went to add items to the graph. For every device that uses the template host, I got the following output:

Error in query [select hostid,host,useip,ip,port,status from hosts where hostid=] [You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1]ERROR EXECUTING: insert into graphs (name,width,height,yaxistype,yaxismin,yaxismax) values ('test1',900,200,0,0.0000,100.0000)

This repeats over and over for every host. Then I get...

Added graph test1 of linked host
Added graph element to graph test1 of linked host

Which also repeats over and over, followed by...

No host with hostid=[]

Repeats for every host as well.

The graphs are not added to the linked hosts, despite the success message.

Any suggestions?

Thanks,

Christian

Alexei
09-05-2005, 21:24
Please, give me some time to reproduce this.

christian
09-05-2005, 21:49
Please, give me some time to reproduce this.

Thanks for looking into it.

Christian

dpsantos
10-05-2005, 03:19
Any help to do more debus just say...

Duarte Santos