* 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>
5.8 KiB
Graph Templates
Graph Templates are Cacti objects that allow you to define how RRDtool is to render a Cacti Graph. Most RRDtool options are supported including CDEFs and VDEFs, Left and Right Axis, Ticks and Dashes, multiple Auto Scaling, Grid, and Legend Options.
The purpose of Graph Templates is to simplify the Automation process by pre-defining the layout of Graphs for various metrics that are to be monitored in Cacti. When used in conjunction with Cacti's Graph Rules, you can automatically create just about any Data Query based Graph during Cacti's Network Discovery process.
The Graph Templates main screen looks like the image below:
The list shows template IDs, the number of attached graphs, default size, image format and vertical label. IDs are useful for CLI operations. Deletability is based on referencing graph instances, not simply on a device-template association. A template with attached graphs is shown as non-deletable.
The Actions menu contains:
Table 1. Graph template actions
| Action | Effect |
|---|---|
| Delete | Remove a deletable template. |
| Duplicate | Create a separate copy of the template. |
| Change Settings | Apply selected common settings, such as graph dimensions. Review the confirmation form before applying them. |
| Full Sync Graphs | Reconcile attached graphs with the selected template's full definition. Use when quick synchronization is insufficient. |
| Quick Sync Graphs | Repair graph-item differences with less work than a full synchronization. Try this first for item mismatches. |
Synchronization changes existing graph definitions. Back up relevant database objects and review local graph inputs before applying a fleet-wide change.
The editor groups its fields into these sections:
Table 2. Graph template sections
| Section | Purpose |
|---|---|
| Graph Template Items | Ordered drawing and legend items. |
| Graph Item Inputs | Fields applied to one or more items; data-source inputs are normally created automatically. |
| Graph Template | Name, multiple-instance policy and data-source testing. |
| Common Options | Title, vertical label, image format, dimensions, base and slope mode. |
| Scaling Options | Automatic scaling and optional upper/lower bounds. |
| Grid Options | Canvas grid rendering. |
| Axis Options | Right-axis conversion and formatting. |
| Legend Options | Legend placement and formatting. |
Each of these sections is displayed below for reference. For more information on how to use these options, please visit the RRDtool Website.
The Graph Items make up what is drawn within the canvas of the Graph. There are several Graph Item types including:
Table 3. Common graph item types
| Type | Purpose |
|---|---|
| AREA | Fill a plotted area. |
| AREA:STACK | Stack an area on a preceding plotted item. |
| COMMENT | Print legend text, including supported replacement variables. |
| GPRINT | Print a value with a GPRINT preset and applicable CDEF or VDEF. |
| GPRINT:AVERAGE / LAST / MAX / MIN | Print a value using the selected consolidation function. |
| HRULE | Draw a horizontal rule using the configured value. |
| LEGEND | Create Current, Average and Maximum GPRINT items. |
| LEGEND_CAMM | Create Current, Average, Minimum and Maximum GPRINT items. |
| LINE1 / LINE2 / LINE3 | Draw a line of the selected width. |
| LINE:STACK | Stack a line on a preceding plotted item. |
| TEXTALIGN | Set alignment for subsequent text. |
| VRULE | Draw a vertical rule at a time position. |
The canvas is painted from the first Graph Item till the last with each successive Graph Item rendered on top of the previous. Please keep this in mind when creating a Graph Template.
Graph Template - General and Common Options
-
Name - Identifies the template in Cacti; it is separate from the graph's title pattern. A prefix such as
Net-SNMPcan help organize related templates. -
Multiple Instances - Allow more than one graph of this template on a device through the New Graphs interface.
-
Test Data Sources - Require a valid data-source response before creating a graph. This helps a generic device template select applicable measurements. Long-running scripts can increase graph-creation time when testing is enabled.
Common options set the title pattern, vertical label, dimensions and image
format. Use base 1000 for decimal scaling, such as traffic, and 1024 for
binary scaling, such as memory. Decimal MB and binary MiB are different unit
conventions; MiB means mebibytes. The base controls display scaling, not a
conversion of stored measurements. Slope Mode smooths the rendered lines.
Graph Template - Scaling Options
The Scaling Options allow the Administrator to apply either Rigid or Auto Scaling settings to the resulting Graph. These options are fairly self explanatory. However, you can always view the RRDtool Documentation online for more information.
Graph Template - Grid Options
The Grid Options are rarely necessary unless you have specific requirements to render the resulting Graphs with some exotic unit.
Graph Template - Axis Options
The Axis Options allow you to define a Right Axis and optional Formatters.
Graph Template - Legend Options
The Legend options allow you to specify how the Legend should be placed on the resulting Graph. Modern RRDtool has several options that were not available in Cacti prior to Cacti 1.0.
Copyright (c) 2004-2026 The Cacti Group






