Files
Cactidocumentation/Settings-Paths.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.1 KiB

Path Settings

Cacti's Path Settings include mainly the locations of core binaries that Cacti must call in order to operate correctly. Generally, these binaries are included in the Web Server's path, but being able to override these settings is important, especially for debugging issues. Cacti's Paths sub-tab is broken into the following sub-sections:

  • Required Tool Paths - Paths that are essential for Cacti's operation
  • Logging - Settings associated with Cacti's logging facilities including log rotation
  • Alternate Poller Path - Locations for Cacti's spine binary and spine config file if not in the established default locations
  • RRD Cleaner - Settings for Cacti's RRDfile disposal of removed RRDfile when Data Sources are removed.

When using Cacti's Remote Data Collectors or Remote Pollers the settings that refer to a File Path or Directory Path will be local to the Data Collector. Therefore, you can have one set of paths for your Main Cacti site, and another set of paths for your Remote Poller, say in the case that they are on Windows.

Required Tool Paths

The image below shows Cacti's Required Tool Paths settings.

Required Tools Paths

Those settings include:

snmpwalk Binary Path - This is the path to the snmpwalk binary.

snmpget Binary Path - This is the path to the snmpget binary.

snmpbulkwalk Binary Path - This is the path to the snmpbulkwalk binary. Bulk requests are available with SNMPv2c and SNMPv3. Configure this separately from snmpwalk; the two commands use different request types.

snmpgetnext Binary Path - This is the path to the snmpgetnext binary.

snmptrap Binary Path - This is the path to the snmptrap binary. This binary is important for SNMP Notification and Trap generation.

RRDtool Binary Path - The location of the RRDtool binary that matches your RRDtool version.

PHP Binary Path - The absolute path to the PHP CLI executable used by the poller and background commands, for example /usr/bin/php. Use the actual installation path and verify its version and extensions as the service user. The web server may use a different PHP installation or configuration.

Logging

The next set of settings define where Cacti's Standard Output and Standard Error files are to be placed, and how they should be rotated, and for how long they should be retained. You can see those settings from the image below.

Logfile Settings

Those settings include:

Cacti Log Path - The location of Cacti's Standard Output (stdout) log file.

Poller Standard Error Log Path - For Cacti's Data Collector functions only, the location of the Standard Error (stderr) log file.

Rotate the Cacti Log - Determines if Cacti or the package maintainer rotates the Cacti log.

Rotation Frequency - Should the Log files be rotated Daily or Weekly or Monthly

Log Retention - How many generations of Log files should be maintained. Older files will be removed automatically.

Note

: Some package maintainers control log rotation and therefore the log rotation settings may be missing from certain versions of Cacti if you install through a packaging tool such as apt-get, yum or dnf

Alternate Poller Path

This sub-section identifies the separately installed Spine binary and its configuration. Install a compatible package or build it as described in Spine. Spine uses multiple threads; size its process and thread counts for the available CPU, database connections and polling workload. Device capacity depends on those resources and the metrics being collected. The image below shows this sub-section.

Alternate Poller Path

Those settings include:

  • Spine Binary File Location - The path to the spine binary.

  • Spine Config File Path - This setting is optional. If blank, Cacti will search the following locations for a spine.conf file.

    • pwd - The same directory as spine
    • ../etc/ - One sibling etc directory of the spine binary directory.
    • /etc/ - The system's /etc/ directory.

RRD Cleaner

This setting defines how Cacti manages RRDfiles from Data Sources that have been removed. By default, Cacti does not manage these files, and leaves it to the Cacti Administrator to pro-actively manage them. The RRD Cleaner settings can be seen in the image below. Note that unless you enable RRDfile Auto Clean, you will not see the other settings by default.

RRD Cleaner

Those settings include:

  • RRDfile Auto Clean - Denotes that you wish Cacti to manage RRDfiles from removed Data Sources potentially automatically.

  • RRDfile Auto Clean Method - This is the method to perform cleanup. Options include:

    • Delete - Simply remove the files once the Data Source is removed
    • Archive - Archive the RRDfile to an Archive directory once it's removed.
  • Archive directory - The Archive directory to move old RRDfiles to.


Copyright (c) 2004-2026 The Cacti Group