gandalf Developer
Joined: 02 Dec 2004 Posts: 11619 Location: Muenster, Germany
|
Posted: Tue Apr 29, 2008 2:58 pm Post subject: |
|
|
That'S doable. But no automatism. Requires some knowledge of cacti, so be prepared ...
First, I advertise my AGGREGATE plugin for a fast and convenient way to get all required rrd files into the graph. Doing so, please check each "Skip" checkbox with the exception for the original AREA/LINE item.
Yes, it does show individual lines for each host, but we will change it in a minute:
Now, create a CDEF that reads cdef=CURRENT_DATA_SOURCE,0,*
Apply this to all your AREA/LINEs to suppress them.
Next, create a CDEF that reads cdef=SIMILAR_DATA_SOURCES_NODUPS.
Create a new Graph Item, select a data source referring to any traffic_in item and associate it with the new CDEF. Apply a color and either AREA or LINE.
Now, do the same with traffic_out.
That's it.
I do not claim this to be very elaborated. If in doubt, please post last result as a screenshot (Graph Management, DEBUG mode)
Reinhard |
|