Howdy!
The attached patch against cacti 0.8.5a adds the 'SIMILAR_DATA_SOURCES_NODUPS' special data souce as a possible CDEF input for graph template items. This makes it possible to graph several different types of data on the same graph (eg. traffic_in and traffic_out), and have totals for each type of data without having to write one-shot CDEFs to handle each and every total. This really speeds up the generation of aggregate graphs where more than one data type is being graphed. (Check out the attached graph to see what I mean.)
To use:
1. Define a CDEF that uses the SIMILAR_DATA_SOURCES_NODUPS special data source.
2. Create a graph template with a couple data sources of similar type (and associated graph template items.)
3. Create a graph template item with the above CDEF, and with the same data source type as above and it will be the sum of the above.
4. Add any different data source type you want and it won't affect the above sum.
(And yes, you can interchange steps 3 and 4 above.)
Patch for feature: SIMILAR_DATA_SOURCES_NODUPS
Moderators: Developers, Moderators
Patch for feature: SIMILAR_DATA_SOURCES_NODUPS
- Attachments
-
- Don't you just love outages?
- cardomain-traffic.png (23.68 KiB) Viewed 3708 times
-
- sum-similar-inputs.diff.gz
- Patch works against cacti 0.8.5a
- (1.56 KiB) Downloaded 401 times
SIMILAR_DATA_SOURCES_NODUPS Working?
v0.8.6c
I'm trying to get this working, following the instructions above, and I just can't get it working. Can anybody post a few screen shots of the Graph Template and Graph (implementation) screens?
These instructions are kind of vaugue, and I'm tried to interpret them in 15 different ways now, alas I still can't get the "sum all above" thing working.
ARGH!!!!!
I'm trying to get this working, following the instructions above, and I just can't get it working. Can anybody post a few screen shots of the Graph Template and Graph (implementation) screens?
These instructions are kind of vaugue, and I'm tried to interpret them in 15 different ways now, alas I still can't get the "sum all above" thing working.
ARGH!!!!!
Who is online
Users browsing this forum: No registered users and 1 guest