Just a check box to 'remove all ledgend entries' or something similar would be handy.gandalf wrote:I suppose I know what your aiming at, now. That is, you want to delete the complete legend line. Currently, it's only possible to skip a GPRINT related legend entry, not an AREA/STACK/LINE related legend entry.ben_c wrote:Yup but you dont want to skip the actual ones you want to aggregate do you?
So if I select 20 data datasources, skip the parts I don't need and aggregate, it still adds a field in for each under datasource that reads usually (traffic_out):device_name for instance. That in turn, adds 20 ledgend items for those names. Which you may not want, so I have to go in to each 20 items individually and blank out the title field box to remove it's ledgend text.
If you provide me with an idea how to build up the GUI for such a feature, I will consider implementing it
Reinhard
Aggregate, now at V0.66
Moderators: Developers, Moderators
-
- Posts: 32
- Joined: Fri Jan 19, 2007 2:11 pm
I am curious how people have managed to get the 95% working on aggregated graphs. I aggregated 4 graphs, but once I went to the created graph and tried to add the items for the 95% lines. Considering that there are 4 graph items, there isn't one data source for that information.
What am I doing wrong?
soloslinger
What am I doing wrong?
soloslinger
plugin: 2.1
cacti: 0.8.7b
apache 2.0
php: 5.2.5
mysql: 5.1
os: freebsd 6.2
cacti: 0.8.7b
apache 2.0
php: 5.2.5
mysql: 5.1
os: freebsd 6.2
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
Please see the Nth Percentile stuff at http://docs.cacti.net/node/525 to get the idea
Reinhard
Reinhard
Aggregate 0.65 + PIA 2.1, on a non-fresh Cacti 0.8.7b
sfinc wrote:Should this plugin definitely work with a fresh install in Cacti 0.8.7b/PIA 2.1? I have just installed with these versions and am unable to see any mention of "Create Aggregate Graphs" under Graph Management.
I seem to have a similar (but not exactly similar issue).sfinc wrote:After that, it showed up as installed anyway. I have added the $plugins[] = 'aggregate'; line to include/global.php, and can see the "Color Templates" entry on the menu. Just nothing about creating the aggregate graphs.
I've upgraded Cacti several times (debian lenny) over the past year and something, and now I have 0.8.7b.
I've tried to install on it (not a fresh Cacti install) the PIA 2.1. Had quite some errors, but I fixed all of them, and now I'm using the php files included with the PIA after some modifications.
I also added aggregate to the global.php file, but it doesn't seem to show anywhere.
I don't see anything in my console that allows me to enable plugins. (This is how it is supposed to be as I understand from the docs... in much older PIA and Aggregate installs it didn't include all that and editing config.php was enough).
Any idea how I should proceed from here to have the plugin installed?
Thanks,
--
Ran.
-
- Posts: 32
- Joined: Fri Jan 19, 2007 2:11 pm
bahh!! My fault. Thank you.gandalf wrote:Please see the Nth Percentile stuff at http://docs.cacti.net/node/525 to get the idea
Reinhard
plugin: 2.1
cacti: 0.8.7b
apache 2.0
php: 5.2.5
mysql: 5.1
os: freebsd 6.2
cacti: 0.8.7b
apache 2.0
php: 5.2.5
mysql: 5.1
os: freebsd 6.2
I've done that; I must have re-checked that line 10 times when trying to get to the bottom of this issue. The errors still occur.gandalf wrote:Please add aggregate to the list of plugins at include/global.php and retrysfinc wrote:Notice: Undefined index: keys in /data/www/cacti-0.8.7b/lib/plugins.php on line 128
Warning: Invalid argument supplied for foreach() in /data/www/cacti-0.8.7b/lib/plugins.php on line 128
Notice: Undefined index: keys in /data/www/cacti-0.8.7b/lib/plugins.php on line 128
Warning: Invalid argument supplied for foreach() in /data/www/cacti-0.8.7b/lib/plugins.php on line 128
Reinhard
Is there anywhere to download previous versions of the PIA? I keep thinking it might work better if I had 2.0 rather than 2.1. The cactiusers site does not appear to make any attempt to maintain older versions of its software.
Sure..gandalf wrote:Please post a "ls -l ./plugins" from cacti main directory. There's a known issue with specific directory names, e.g. containing a "-"
Reinhard
Code: Select all
# ls -la ./plugins
total 10
drwxr-xr-x 3 root webservd 512 Apr 10 17:35 .
drwxr-xr-x 13 root webservd 1536 Apr 10 17:27 ..
drwxr-xr-x 2 root webservd 512 Mar 25 08:11 aggregate
-rw-r--r-- 1 root webservd 44 Apr 10 17:27 index.php
# grep 'plugins\[' include/global.php
$plugins[] = 'aggregate';
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
I'm already at PIA2.2 beta with some patches. So please try replacing lib/plugins.php by the unzipped attachment
Reinhard
Reinhard
- Attachments
-
- plugins.zip
- zppped lib/plugins.php
- (3.07 KiB) Downloaded 266 times
Can't see plugin
I still don't see the plugin. What am I doing wrong? I did restart apache service several times. Here is my global.php file in include folder. I also tried to replace plugins.php in lib folder with the one above my post. Thank you for any help!
NEVERMIND. I found link to create aggregate graph under drop down "choose an action:" box.
And thank you for the great plugin which make newbie's life like myself much easier .
NEVERMIND. I found link to create aggregate graph under drop down "choose an action:" box.
And thank you for the great plugin which make newbie's life like myself much easier .
I tried the new plugins.php... no change to the problem.gandalf wrote:I'm already at PIA2.2 beta with some patches. So please try replacing lib/plugins.php by the unzipped attachment
Reinhard
Thanks for your help so far, but I think I'm ready to call it quits and go back to vanilla Cacti. I'll check back in a few versions' time when hopefully aggregate and the PIA are a bit more robust. In its current form, I tend to interpret the PIA acronym with a second, less polite definition..
From what I understand about the aggregate plug-in's functionality though (not speaking from experience since I can't get it to work..!), it's something I hope will be integrated directly into Cacti at some stage.
Who is online
Users browsing this forum: No registered users and 1 guest