Files
Cactidocumentation/Settings-Data.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

5.2 KiB

Data Settings

The Cacti Data settings include settings for gathering statistical data about Cacti's Data Sources and about settings around how Cacti stores its Round Robin Archives Time Series Databases (TSDB), otherwise known as RRDfiles.

There are presently three sub-sections for these settings.

Data Source Statistics

Cacti has the ability to store peak and average data for all your Data Sources. You can then use that data to easily build dashboards using third party plugins including plugins like Superlinks from Howard Jones.

Below you will find an image of the default settings.

Data Source Statistics

Those settings include:

  • Enable Data Source Statistics Collection - This setting will either enable or disable the statistics collection.

  • Number of DSStats Processes - For very large Cacti installs the Data Source Statistics can take quite a long time to complete. This setting allows Cacti to perform the statistics calculation at orders of magnitude faster. You can allocate as many as 20 concurrent processes to perform all the updates.

  • Daily Update Frequency - This setting determines how often daily averages and peaks should be calculated. You can set it to run hourly, up to every 6 hours, or after Cacti's boost process completes.

  • Hourly Average Window - This is a floating time window where Cacti holds onto all samples for determining the hourly averages for your Data Sources. You have to watch this cache as by default it's stored in a memory table. You can run out of space.

  • Maintenance Time - This is the time in the day that Cacti will calculate Weekly, Monthly and Yearly numbers and perform table maintenance.

  • Memory Limit for Data Source Statistics Data Collector - This setting controls the peak memory that the statistics poller will be allowed to use. Most systems can work fine using the default 1GByte setting.

RRDfile Check

RRD Checker

The RRDfile checker scans RRDfiles and tries to find problems like stale values.

Those settings include:

  • Enable RRDfile Check - This setting will either enable or disable the RRD checker.

  • Number of RRDfile Check Processes - For very large Cacti installs the RRDfile Checker can take quite a long time to complete. This setting allows Cacti to perform the checks at orders of magnitude faster.

  • Check Frequency - This setting determines how often checks should be executed. You can set it to run hourly, up to 24 hours, or after Cacti's boost process completes.

Data Storage Settings

These settings determine how you store your RRDfiles. This sub-section has two layouts as shown in the images below.

Data Storage Local

The settings above include:

  • Location - Either Local or RRDtool Proxy Server. The example above shows the local storage option.

  • Enable Structured Paths - In very large systems having a flat directory structure has severe performance consequences. However, with the Structured Paths option, Cacti will separate RRDfiles by Device ID and use the Data Source ID as the RRDfile name.

  • Directory Pattern - Which Directory Pattern to use for Structured RRD Paths. The options are Device ID, which is the default, Device ID/Data Query ID, Device Hash/Device ID and Device Hash/Device ID/Data Query ID. Use Device ID/Data Query ID when you have Devices with thousands of Graphs. After changing the Directory Pattern, you must run the Structured Path CLI script again.

  • Max Device Hash Directories - The maximum number of Device directories to be created based upon hashed Device IDs. The default is 100.

Note

: If you are migrating from non-structured to structured paths setup, you must run the CLI script to move those files per the updated specification right after making this change.

The RRD Proxy settings below are more involved.

Note

: It should be noted that although the RRD Proxy is in production at large commercial sites, it continues to not support replication. The author claims that it's 95% complete, but to date, has not completed the last 5%.

Data Storage Proxy

The settings above include:

  • Proxy Server - The IP or DNS name of the primary RRDfile proxy server.

  • Proxy Port Number - The port number to connect to in order to communicate with the RRD Proxy. The default is 40301.

  • RSA Fingerprint - The fingerprint of the current public RSA key the proxy is using. This is required to establish a trusted connection to the RRD Proxy service.

Warning

: None of the settings below are implemented.

  • Load Balancing - Whether calls to the RRD Proxy should be load balanced.

  • Proxy Server - The secondary Proxy server IP or DNS name.

  • Proxy Port Number - The port number on the secondary RRD Proxy to talk to.

  • RSA Fingerprint - The fingerprint of the current public RSA key the proxy is using. This is required to establish a trusted connection to the RRD Proxy service.


Copyright (c) 2004-2026 The Cacti Group