Files
Cactidocumentation/Aggregate-Templates.md
T
Thomas Vincent 741ad51355 docs: [1.2.x] refresh the front page, correct grammar and Markdown, and align plugin pages with their READMEs (#273)
* docs: [1.2.x] refresh the manual front page

The front page opened with version notes before saying what Cacti is,
used headings as sentences in the credits, and its table of contents
listed seven sections while the page has ten.

Open with a short description and a getting-started sequence, link the
website and forums, give the credits real headings, and list every
section in the table of contents in page order. Record Jeff Pasnak
under In Memoriam with a link to the 1.2.31 release announcement.
Correct label typos and wrap long entries with reference links.

Existing section anchors are unchanged, and every page is still linked.

Signed-off-by: Thomas Vincent <thomasvincent@gmail.com>

* docs: [1.2.x] fix typos, unrendered headings and forum links

A check of every page linked from the front page found misspellings in
eleven pages, three Mactrack headings written without a space after the
hashes, which render as plain text, and two forum links still using
http.

Correct the spellings, add the missing space so the headings render,
and point the forum links at https, where they already redirect.

Signed-off-by: Thomas Vincent <thomasvincent@gmail.com>

* docs: [1.2.x] align the plugin pages with the plugin READMEs

The supported plugins list and the Syslog and Mactrack pages had drifted
from the README and INFO files in the plugin repositories.

Update the descriptions that the READMEs contradict: Monitor's Thold
requirement, the Router Configs transfer methods, the ReportIt release
and Cacti versions, the WMI collection methods and its development
status, and NUT support in Apcupsd. Add the Syslog requirements, the
upgrade procedure, the dedicated database settings and the remote
collector settings, and correct the database grant and a misplaced
code fence. Add the Mactrack requirements and a short section on
history partitioning and ignored ports that links to the README.

Signed-off-by: Thomas Vincent <thomasvincent@gmail.com>

* docs: [1.2.x] correct grammar, spelling and broken Markdown

A read of every page linked from the front page found grammar and
spelling errors throughout, and Markdown that does not render as
intended.

Correct grammar, spelling, punctuation and product-name capitalization
in 95 pages without changing headings, code blocks, link targets or
the meaning of the text. Repair the Markdown defects: a code fence in
the SSH tunnel how-to that never closed, malformed bold markers in the
user management and device defaults pages, a release notes table with
no blank line before it, split rows in the tree sorting table, and
LDAP list items missing their markers. Correct three interface labels
quoted with typos.

Signed-off-by: Thomas Vincent <thomasvincent@gmail.com>

* docs: [1.2.x] correct statements that differ from the 1.2.x source

Reviewers of the linked pages flagged statements that looked wrong.
Each was compared with the Cacti 1.2.x source at 1523aa04b, and only
those the source or the page itself settles are changed.

Correct interface labels and option names (Index Count Changed,
Permissive, Not Selected, Utilities, the BCC description, the gear
icon for plugin install), the default Maximum Value of U for a new
data source item, the sysDescr object name, the PHP floor wording in
the requirements table, the Mactrack wildcard character and the
snmptrapd -On option. Repair cross-references, example values that
disagree with their commands, two table captions, a split list and
several sentences with missing words.

Statements the source does not settle are left as written.

Signed-off-by: Thomas Vincent <thomasvincent@gmail.com>

---------

Signed-off-by: Thomas Vincent <thomasvincent@gmail.com>
2026-11-24 00:58:06 -08:00

6.5 KiB

Aggregate Templates

Aggregate Overview

Aggregate Templates are a special form of a Graph Template. They allow you to easily create Graphs that combine data from multiple common Graphs from multiple Devices, and allow you to easily manage the resulting Aggregate Graphs to add and remove elements from other common Graphs.

To create Aggregate Graphs that are managed through a Template, you first must create the Aggregate Template. Then from the Cacti Graphs page, you can select the Graphs that you want used as part of the Aggregate. You then select Create Aggregate from Template from the Cacti Actions drop-down.

Once you have created your Aggregate Graphs, they behave like any other Cacti Graph. They can be a part of a Tree, zoomed, etc. They have an added bonus - you can add and remove Graphs from aggregates in a very controlled way, reducing the effort to maintain them during their life-cycle.

If you wish to change settings for Graphs managed by the Aggregate Template, simply make the changes in the Aggregate Template, and they will cascade to attached Aggregate Graphs with Propagation Enabled. An aggregate whose propagation has been disabled no longer follows these template settings. See Aggregate Graphs for membership and propagation.

Aggregate Template Interface

The images below show an Aggregate Template for Traffic.

Aggregate Templates

When you edit the Aggregate Template, you are presented with an interface that allows you to define the Graph Canvas as well as its formatting. You should experiment until you find the mechanism that works best to suit your needs.

The Aggregate Template Prefix setting allows you to provide a pattern to be applied to the Aggregate Graph legend items. Any host, query or input references can be used in the Prefix section in order to uniquely identify the Graph Item.

There are several Graph Type transformations that deal with how AREA, LINEX and STACK items are handled in the resulting Aggregate Graph, they include:

  • Keep Graph Types - No transformation will occur. All AREA, LINE, and STACKS will be unchanged.
  • Keep Type and STACK - The graph types of the first aggregated graph are preserved (a STACK item becomes an AREA). The items of every later graph are converted to STACK, so the data is stacked.
  • Convert to AREA/STACK Graph - On the first aggregated graph, AREA items are kept and LINEX and STACK items become AREA. The items of every later graph are converted to STACK.
  • Convert to LINE1 Graph - All Graph Items will be converted to LINE1
  • Convert to LINE2 Graph - All Graph Items will be converted to LINE2
  • Convert to LINE3 Graph - All Graph Items will be converted to LINE3
  • Convert to LINE1/STACK Graph - Items of the first aggregated graph are converted to LINE1 and items of every later graph to LINE:STACK.
  • Convert to LINE2/STACK Graph - Items of the first aggregated graph are converted to LINE2 and items of every later graph to LINE:STACK.
  • Convert to LINE3/STACK Graph - Items of the first aggregated graph are converted to LINE3 and items of every later graph to LINE:STACK.

The Totaling setting has multiple values. They include:

  • No Totals - There will be no Summation of Data in the Legend
  • Print All Legend Items - Means that all Legend Items selected will be included with a Total
  • Print Totaling Legend Items Only - This option means that the Legend will total all the Legend items into a single Legend.

The Total Type - Will create groupings of common elements on the Graph, and reset stacking rules when a change in the common element occurs. The options include:

  • Total Similar Data Sources - Means that you will Total legend items and Data Sources through similar Data Source names, for example traffic_out and traffic_in.
  • Total All Data Sources - It means that you will sum the values for all Data Sources regardless of their Data Source name.

When using Total Type, you are provided an option to additionally prefix your legends using the Prefix for GPRINT Totals with a text value. The default works in most cases.

The Reorder Type will re-order the Data Sources within their respective grouping on the Graph so that they are ordered in a common way, in alphabetic order. The options include:

  • No Reordering - Don't make any changes in ordering.
  • Data Source, Graph - Order by Data Source name and then by Graph name
  • Graph, Data Source - Order by Graph name and then by Data Source name
  • Base Graph Order - Focus on the Graph name only

Aggregate template general options

The Graph Template Items section allows you to either Skip or Total (aka include) the Graph Items in the resulting Aggregate Graphs. When you think about how a resulting Aggregate graph will look, there are some elements that simply will not result in a good looking Graph. In those cases you will want to remove them from the resulting Aggregate Graphs.

The Color Template option allows you to use differing Color rotations when displaying elements on the resulting Aggregate Graphs. Color Templates can be added and removed from the Color Templates menu pick under Console > Templates.

Aggregate Templates Edit Canvas Options

The several sections allow you to override any of the common Graph Template elements from the resulting Aggregate Graph. We will not explain those options here, only let you know that you can override them in your resulting Aggregate Graph.

Aggregate Templates Edit Common Options

Aggregate template scaling options

Aggregate Templates Edit Grid Options

Aggregate Templates Edit Axis Options

Aggregate Templates Edit Legend Options

Summary

There are several combinations of options that you can use when working with an Aggregate Template. Some of these options will result in horrible and unexpected outcomes, so you will have to experiment until you come up with a desirable Aggregate Template.


Copyright (c) 2004-2026 The Cacti Group