aggregate 2 or more DS NOT BWgraphs

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
husaren
Posts: 19
Joined: Wed Jun 01, 2005 6:23 am

aggregate 2 or more DS NOT BWgraphs

Post by husaren »

Hi all.

i would like to aggrgate these 2 graphs into one.

How would a go about accomplishing this ?
Attachments
mailscanner1.png
mailscanner1.png (4.59 KiB) Viewed 2458 times
mailscanner2.png
mailscanner2.png (4.58 KiB) Viewed 2458 times
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Do you want to show all 10 items on one graph or do you want to create 5 graphs that show each item type of both graphs?
Reinhard
husaren
Posts: 19
Joined: Wed Jun 01, 2005 6:23 am

Post by husaren »

lvm wrote:Do you want to show all 10 items on one graph or do you want to create 5 graphs that show each item type of both graphs?
Reinhard
I would like only graphs for aggregated values.

Its ok if all 10 will be a gprint on the bottom of the graph.
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

husaren
Posts: 19
Joined: Wed Jun 01, 2005 6:23 am

Post by husaren »

lvm wrote:Please see http://forums.cacti.net/viewtopic.php?t=5703
Reinhard
It is my understanding that the above only applies to "area" and "stack" graph item types

am in wrong on that assumption ?
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Yep, wrong. Simply change the type of graph to your liking. But this may result in lots of overlapping lines, thus the AREA/STACK. But it all depends on you
Reinhard
husaren
Posts: 19
Joined: Wed Jun 01, 2005 6:23 am

Post by husaren »

I would like to awoid the overlapping graphs and just have line2s aggregated from 2 datasources in my graph

is that impossible ?
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Possible, see link above. Simply change all AREA/STACKs to LINE2
Reinhard
husaren
Posts: 19
Joined: Wed Jun 01, 2005 6:23 am

Post by husaren »

Thx for the answer.

So, just to clarify things a bit.

1: it is only possible to aggregate 2 datasources that are already present in the graph ?

2: It is not possible to plot just one graph aggregated from N datasources not present i the graph already ?


Cheers
Husaren
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Both statements are wrong.
In most cases, "basic" graphs, e.g for all of your systems already exist. This is fine to have a look at each system seperately.
And in most cases, if you want to have an aggregate graph, you will build it from scratch. You may use _any_ already existing data source item to be graphed in that new graph. In your case, you will use all items of all of your systems.
But there's virtually no limit (ha hmm, I remember someone complaining about errors when using up to 100 items. This is mostly because of a command line length limitation of your OS)
Reinhard
husaren
Posts: 19
Joined: Wed Jun 01, 2005 6:23 am

Post by husaren »

Ok. I have been trying a couple of things now.

I copied the postfix graph template, thinking i would be able to add the 5 ekstra datasources i need and then use the template just for aggregated values only.

After i added the 5 ekstra datasources:
Image

-I made sure that the new datasources were associated with the correct graph-item-types

Image


I turned to the Graph Management interface, selected my new graph template and "None" in Host
Selected the appopriate DataSources which the graph should be built from
Image

And now after i pressed "save" the graph looks like this.

Image

-What am i doing wrong ?
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

IMHO, you didn't follow the link advertised above, did you? You'll have to add more data source items (above the red box you've indicated) to get it working. I would like to recommend, that you first copy the Graph Template. So you may leave the original as is and modify the copy only
Reinhard
husaren
Posts: 19
Joined: Wed Jun 01, 2005 6:23 am

Post by husaren »

I did read the post, but i am pursuing a solution where i wont have 6 graphs for mailscanner1 + 6 graphs for mailscanner 2 and 6 graphs with aggregated values.

im looking for 6 line2
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Please find a new approach via "Aggregate Plugin". Please comment.
Reinhard
Post Reply

Who is online

Users browsing this forum: No registered users and 6 guests