[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

[SOLVED] autom8 not creating graphs

Post by Sirup »

Ok, I have installed autom8 successfully.
(Cacti 0.8.7.e @ FreeBSD 7.2)

I did the following:

1. Created a new Graph-Rule
2. Enabled the rule
3. Enabled autom8 creation in Settings/Misc.
4. Created 2 new Hosts via CLI (also tried to delete and recreate them)

Problem: No new graphs are created. Shouldn't they be created when a new device is added?

I attached a couple of screenshots with description.
Attachments
Oerview of the Cisco... rule
Oerview of the Cisco... rule
5.jpg (106.99 KiB) Viewed 5487 times
Graph Rules (Cisco... is the needed one)
Graph Rules (Cisco... is the needed one)
4.jpg (60.21 KiB) Viewed 5487 times
No graphs genereated for sw1..
No graphs genereated for sw1..
3.jpg (39.24 KiB) Viewed 5487 times
There are two devices in the Device tab (sw1.. and another sw1...)
There are two devices in the Device tab (sw1.. and another sw1...)
2.jpg (23.81 KiB) Viewed 5487 times
Autom8 enabled in settings/misc
Autom8 enabled in settings/misc
1.jpg (34.87 KiB) Viewed 5487 times
Last edited by Sirup on Tue May 18, 2010 9:17 am, edited 1 time in total.
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

This is which version of autom8?
R.
User avatar
Sirup
Cacti Moderator
Posts: 348
Joined: Tue Mar 02, 2010 9:03 am

Post by Sirup »

It is 0.33.
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Plese grep cacti.log for "AUTOM8" eye catchers. They should tell a story
R.
User avatar
Sirup
Cacti Moderator
Posts: 348
Joined: Tue Mar 02, 2010 9:03 am

Post by Sirup »

Forget to mention in my first post - Nothing in the cacti.log, which could have to do something with autom8. Neither with grep nor from inside cacti.
User avatar
Sirup
Cacti Moderator
Posts: 348
Joined: Tue Mar 02, 2010 9:03 am

Post by Sirup »

Any further ideas? I also switched logging level to Debugging. There are just no AUTOM8 entries.

When I try to manually apply AUTOM8-rules (In devices screen), the page is after the OK-Dialog completely blank (see screenshot)
Attachments
1.jpg
1.jpg (10.82 KiB) Viewed 5330 times
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Post your Apache Error log for Gandalf.
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
User avatar
Sirup
Cacti Moderator
Posts: 348
Joined: Tue Mar 02, 2010 9:03 am

Post by Sirup »

I booted my server (because it's a test machine), reapplied all rules and created the devices again.

Only entries since reboot are:
[Fri Apr 16 14:11:21 2010] [notice] Digest: generating secret for digest authentication ...
[Fri Apr 16 14:11:21 2010] [notice] Digest: done
[Fri Apr 16 14:11:22 2010] [notice] Apache/2.2.14 (FreeBSD) DAV/2 PHP/5.2.12 with Suhosin-Patch mod_ssl/2.2.14 OpenSSL/0.9.8e configured -- resuming normal operations
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Well, that's no good. I would have expected at least some warning somewhere. Looks like a syntax error in the code then. You will have to back off the plugin to verify where it is coming from. It could be PHP versions specific. Although Gandalf uses some real old stuff.

Also, another thing that might help is to make a few changes in your PHP.INI file. Here they are.

Code: Select all

error_reporting = E_ALL
display_errors = On
log_errors =On
Restart Apache after you make these changes.

TheWitness
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
User avatar
Sirup
Cacti Moderator
Posts: 348
Joined: Tue Mar 02, 2010 9:03 am

Post by Sirup »

Unfortunatelly I already have your suggested settings in my php.ini.
Nevertheless thanks for your answer.

Now its quitting time for me. I'll try the poor and unattractive solution to reinstall autom8 and recreate all rules on monday.
User avatar
Sirup
Cacti Moderator
Posts: 348
Joined: Tue Mar 02, 2010 9:03 am

Post by Sirup »

Anybody can help? =/
Last edited by Sirup on Wed Apr 21, 2010 6:53 am, edited 1 time in total.
[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 to the white screen when trying to apply manualy, there is a list-item without any text - and also this item shoudn't be here, because I only applied the autom8 rules to 1 device.
Attachments
missing.jpg
missing.jpg (12.46 KiB) Viewed 5220 times
[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 »

Still only talking with myself? :(
[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 »

The manual says:
At time of writing, you will find lots of information in the cacti.log file. Grep for “AUTOM8” to
find them.
But there is just no info in the log, when I apply the autom8 rules manually. This is maybe in context with the two interfaces errors (empty line and empty screen) posted in the screenshots above.

I tried a Tree-Rule. It doesn't show the white blank screen when appying and works fine.
[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 »

Sirup wrote:Additionaly to the white screen when trying to apply manualy, there is a list-item without any text - and also this item shoudn't be here, because I only applied the autom8 rules to 1 device.
This is a knows bug which should almost do no harm. I'm not sure ATM, that I fixed it already. Will have to look when I'm back home
R.
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests