[SOLVED] autom8 not creating graphs
Moderators: Developers, Moderators
[SOLVED] autom8 not creating graphs
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.
(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
- 5.jpg (106.99 KiB) Viewed 5487 times
-
- Graph Rules (Cisco... is the needed one)
- 4.jpg (60.21 KiB) Viewed 5487 times
-
- 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...)
- 2.jpg (23.81 KiB) Viewed 5487 times
-
- 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.
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
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?
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?
I booted my server (because it's a test machine), reapplied all rules and created the devices again.
Only entries since reboot are:
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
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
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.
Restart Apache after you make these changes.
TheWitness
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
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?
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?
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]
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]
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 (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]
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]
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]
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]
The manual says:
I tried a Tree-Rule. It doesn't show the white blank screen when appying and works fine.
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.At time of writing, you will find lots of information in the cacti.log file. Grep for “AUTOM8†to
find them.
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]
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]
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
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 homeSirup 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.
R.
Who is online
Users browsing this forum: No registered users and 2 guests