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

3.0 KiB

Data Source Management

Data sources in Cacti are the points of data that Cacti will collect from a device. The following are examples of different sources that can be utilized for graphing, though that is just the surface of what is achievable:

  • Monitoring a device via ping will usually count as 1 data source.

  • If you have a 24 port switch, poll the device via SNMP, and graph all of the ports, then there will be 24 data sources.

Note

: If you add more graphs that base their data on the original Data source that would not count as another Data Source since it uses the already existing source.

For example, if you have a 24 port switch and you create an In/Out Bits graph for each interface, and you then add the In/Out Bits with 95th Percentile for each interface, you would still only have 24 data sources.

Keeping on top of the amount of data sources you have is important, as the more data sources you have, the more resources you will need to allocate to your server.

You can see how many data sources are associated with a single device by going to management then clicking on devices.

device datasources

You can also see the total amount of data sources by checking the poller stats on the system. Click the log tab and filter by stats and look out for the below message:

2019/05/24 17:21:11 - SYSTEM STATS: Time:9.5913 Method:spine Processes:2 Threads:2 Hosts:14 HostsPerProcess:7 DataSources:162 RRDsProcessed:117

This output tells us we have 162 data sources on the system.

Storage considerations and datasources

The amount of data sources on your system has an impact on the amount of storage you will need. You will also need to consider what rate you are polling your devices. e.g., 1 minute or 5 minute polls.

Here is the approximate amount of storage you can expect to consume per data source:

Polling time Retention File size Polling time Retention File size
30 second Daily 48kb 30 second Weekly 43kb
30 second Monthly 46kb 30 second Yearly 140kb
1 minute Daily 93kb 1 minute Weekly 45kb
1 minute Monthly 47kb 1 minute Yearly 140kb
5 minute Daily 19kb 5 minute Weekly 22kb
5 minute Monthly 25kb 5 minute Yearly 26kb

Viewing all Data sources by device

You are able to check the data sources associated to a specific device in the Console -> Management -> Data sources. You can then search based on a device you may be interested in to view the Data sources in use.

device datasources

You can also view Orphaned data sources in this view by checking the Orphaned checkbox. Orphaned data sources are where the graph has been deleted but the data source was not deleted.


Copyright (c) 2004-2026 The Cacti Group