[SOLVED] autom8 not creating graphs

General discussion about Plugins for Cacti

Moderators: Developers, Moderators

User avatar
Sirup
Cacti Moderator
Posts: 348
Joined: Tue Mar 02, 2010 9:03 am

Post by Sirup »

Nothing ;(

I don't know what to do anymore.

Just now everything worked fine - Applied 4 Rules. But then I deleted ALL Graphs and tried to reapply the Autom8 rules - Again the White Screen. (Seems like a Blue Screen to me :D )
In another try autom8 didn't worked from the beginning (fresh database).

Autom8 is just unpredictable. Sometimes also the above scencario works with a frest database. Sometimes it doesn't. But when I get the White-Screen-Error once - I have no change to remove it - Only the drop my database and make alle the configuration aigain.

Edit: Okay THIS seems to be an issue! If I apply the autom8 rules and the graphs a created - and then delete some graphs - atuom8 won't be working anymore. Must be a Bug.
There must be some residue in the mysql datbase from the graphs...
[size=67]Cacti version: 0.8.7e5
OS: FreeBSD 7.2
Plugin Architecture: 2.6
Plugins: aggregate 0.74, autom8 0.33, loginmod 1.0

[url=http://docs.cacti.net/manual:087]Official Cacti Documentation[/url]
[url=http://docs.cacti.net/manual:087:4_help.2_debugging#debugging]Gandalfs Official Debugging Help[/url]
[/size]
User avatar
Sirup
Cacti Moderator
Posts: 348
Joined: Tue Mar 02, 2010 9:03 am

Post by Sirup »

GOTCHA!

Sometimes the Graphs are not deleted properly. If this happens autom8 does not create any graphs anymore!

To solve the issue, I connected to the mysql database and emptied the following table (after deleting all graphes from the webinterface)

Code: Select all

truncate host_graph;
This seems to occur also/maybe in combination with deleting all hosts or importing them by cli-script.

:D 8) :D
[size=67]Cacti version: 0.8.7e5
OS: FreeBSD 7.2
Plugin Architecture: 2.6
Plugins: aggregate 0.74, autom8 0.33, loginmod 1.0

[url=http://docs.cacti.net/manual:087]Official Cacti Documentation[/url]
[url=http://docs.cacti.net/manual:087:4_help.2_debugging#debugging]Gandalfs Official Debugging Help[/url]
[/size]
User avatar
Sirup
Cacti Moderator
Posts: 348
Joined: Tue Mar 02, 2010 9:03 am

Post by Sirup »

Additionaly I found another issue: If autom8 has to create a lot of graphs, it runs into an timeout, the graph creation is stopped and a "this page cannot be found" error is shown.
[size=67]Cacti version: 0.8.7e5
OS: FreeBSD 7.2
Plugin Architecture: 2.6
Plugins: aggregate 0.74, autom8 0.33, loginmod 1.0

[url=http://docs.cacti.net/manual:087]Official Cacti Documentation[/url]
[url=http://docs.cacti.net/manual:087:4_help.2_debugging#debugging]Gandalfs Official Debugging Help[/url]
[/size]
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Please open explicit bug reports for all those issues (cacti plugin section). Else, I will loose track. And your findings are worth to be tackled, for sure
R.
User avatar
Sirup
Cacti Moderator
Posts: 348
Joined: Tue Mar 02, 2010 9:03 am

Post by Sirup »

[size=67]Cacti version: 0.8.7e5
OS: FreeBSD 7.2
Plugin Architecture: 2.6
Plugins: aggregate 0.74, autom8 0.33, loginmod 1.0

[url=http://docs.cacti.net/manual:087]Official Cacti Documentation[/url]
[url=http://docs.cacti.net/manual:087:4_help.2_debugging#debugging]Gandalfs Official Debugging Help[/url]
[/size]
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Last edited by gandalf on Sat Aug 28, 2010 8:09 am, edited 1 time in total.
tomsaurer
Posts: 12
Joined: Fri Dec 05, 2008 10:55 am

Post by tomsaurer »

I'm having the same problems running version 33, graph creation timing out and not creating certain graphs.

What was the full command that was used to clear the truncate host_graph; table? I'm not a database expert.
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests