* docs: [1.2.x] document features the manual did not cover Add pages for the user profile settings and for the SNMP Agent and its notification receivers, and link them from the front page. Add sections on realtime graphs and CSV export to Viewing-Graphs, on the data source statistics collection process to Settings-Data, and on upgrading from 0.8.x to Upgrading-Cacti. Extend the RRDfile Cleaner, RRDfile Checker and user log descriptions in System-Utilities, document cli/add_datasource.php, and replace the Users, Groups and Domains stub with an overview. Labels, defaults, menu paths and options are taken from the Cacti 1.2.x source at 1523aa04b. Signed-off-by: Thomas Vincent <thomasvincent@gmail.com> * docs: [1.2.x] add a manual page for every supported plugin (#282) * docs: [1.2.x] add a manual page for every supported plugin Add pages for Thold, Monitor, Maintenance, Intropage, Host MIB, APC UPS, Evidence, FlowView, MikroTik, ReportIt, Router Configs, Service Check, Slowlog, Weathermap and WMI, each with the same sections: requirements, installation, permissions, settings, use, background processing, command-line tools and troubleshooting. Bring the Syslog and MacTrack pages to the same structure and add screenshots to MacTrack. Each page documents the plugin's latest published release for Cacti 1.2.x and states that version; WMI has no release and follows its development branch. Link the pages from the front page and the plugin catalog, and correct the catalog's APC UPS and Router Configs descriptions to match those releases. Signed-off-by: Thomas Vincent <thomasvincent@gmail.com> * docs: [1.2.x] update front-page developer credits and GitHub profile links Align the Active Developers, Contributors, Emeritus Members and In Memoriam entries in README.md with Cacti 1.2.x about.php (Cacti/cacti 3c4b7fde0): move Sean Mancini to Active Developers, Thomas Urban to Contributors, and Chris Bell and Jing Chen to Emeritus Members. Link each named developer and contributor to their verified GitHub profile. Signed-off-by: Thomas Vincent <thomasvincent@gmail.com> --------- Signed-off-by: Thomas Vincent <thomasvincent@gmail.com> --------- Signed-off-by: Thomas Vincent <thomasvincent@gmail.com>
11 KiB
System Utilities
This section will describe System Utilities in Cacti.
The system utilities page in Cacti contains tools used for administering Cacti. From this page, you can do the following:
-
Rebuild poller cache.
-
View technical support information.
-
Administer the Cacti log (Log Administration).
-
View the user log for audits.
Some of the most important tools are listed below
Rebuild poller cache
The Poller Cache will be re-generated if you select this option. Use this option only in the event of a database crash if you are experiencing issues after the crash and have already run the database repair tools. Alternatively, if you are having problems with a specific Device, simply re-save that Device to rebuild its Poller Cache. There is also a command line interface equivalent to this command that is recommended for large systems. NOTE: On large systems, this command may take several minutes to hours to complete and therefore should not be run from the Cacti UI. You can simply run 'php -q cli/rebuild_poller_cache.php --help' at the command line for more information.
Technical support
Cacti technical support page. Used by developers and technical support persons to assist with issues in Cacti. Includes checks for common configuration issues. There are also built-in checks that help you tune your Cacti installation.
For example, in the technical support section under the summary, you will see a calculation for how many MySQL connections you should have (Cacti 1.2.16+). You will also see poller information such as the last polling time, process count, and more detailed info that can be used for a quick view of how the system is configured.
You will also see all of the system variables such as allocated PHP memory as well as MySQL variables.
Any Variable appearing in red indicates a subpar setting and should be looked at. The recommendations are dynamic in that they change when more system resources are detected, so if you upgrade your server hardware be sure to check back to this page to get the most out of your new hardware.
Rebuild resource cache
Console > Utilities > System Utilities > Rebuild Resource Cache
When operating multiple Data Collectors in Cacti, Cacti will attempt to maintain state for key files on all Data Collectors. This includes all core, non-install related website and plugin files. When you force a Resource Cache rebuild, Cacti will clear the local Resource Cache, and then rebuild it at the next scheduled poller start. This will trigger all Remote Data Collectors to recheck their website and plugin files for consistency.
Purge Data Source Statistics
Console > Utilities > System Utilities > Purge Data Source Statistics
This menu pick will purge all existing Data Source Statistics from the Database. If Data Source Statistics is enabled, the Data Sources Statistics will start collection again on the next Data Collector pass.
SNMP Agent utilities
These entries appear under Console > Utilities > System Utilities when SNMP
Agent Support is enabled in the Poller settings.
- View SNMP Agent Cache - This shows all objects being handled by the SNMP Agent.
- Rebuild SNMP Agent Cache - The SNMP cache will be cleared and re-generated if you select this option. Note that it takes another poller run to restore the SNMP cache completely.
- View SNMP Agent Notification Log - This menu pick allows you to view the latest events SNMP Agent has handled in relation to the registered notification receivers.
- SNMP Notification Receivers - Allows Administrators to maintain SNMP notification receivers.
See SNMP Agent and Notification Receivers for what the SNMP Agent exposes and how the receivers are configured.
RRD cleaner
Console > Utilities > System Utilities > RRDfile Cleaner
When you delete Data Sources from Cacti, the corresponding RRDfiles are not removed automatically. Use this utility to facilitate the removal of these old files.
In system utilities you can manually start the RRD cleaning procedure. You can either archive the selected RRDs or have them deleted in the next polling cycle.
The entry is only shown on the main Data Collector. The page works as follows:
-
The list of files is not refreshed on its own. Select
Rescanto have Cacti search the RRA directory and its sub-directories for.rrdfiles and compare them with the existing Data Sources. Files that do not belong to a Data Source are listed.Last Scanbelow the list shows when the list was built. An archive directory inside the RRA directory is skipped. -
The list shows the RRD File Name, DS Name, DS ID, Template ID, Template, Last Modified and Size [KB] of each file, and the total size of the listed files.
-
The Time Since Update filter defaults to
< 1 Week, which shows only files that were modified during the last week. Select> 1 Weekup to> 1 Yearto see files that have not been updated for at least that long. -
To act on single files, select them and choose
DeleteorArchivefrom the actions drop-down. The buttonsDelete AllandArchive Allapply the action to all unknown RRDfiles.
The files are not removed by the web page. The selected action is queued and
carried out by Cacti's maintenance process, which the main Data Collector
starts at the end of a poller run. Delete removes the file. Archive moves
it to the Archive directory that is set in
Console > Configuration > Settings > Paths, keeping its sub-directory.
RRDfiles can also be scheduled to be removed automatically. This option can
be configured in Console > Configuration > Settings > Paths by selecting
the RRDfile autoclean selection.
RRDfile Checker
Console > Utilities > System Utilities > RRDfile Checker
The RRDfile checker is a tool that scans all RRDfiles at a scheduled time and tests the stored data:
- Stale values for 1 or 24 hours
- Whether the file is updated regularly
- Incorrect file read/write access
- Whether the Database Data Source objects match the RRDfiles Data Sources
For very large Cacti installs the RRDfile checker can take quite
a long time to complete.
You can set the number of concurrent parallel processes in Console > Configuration > Settings > Data
The entry is only shown on the main Data Collector. The checks only run
when Enable RRDfile Check is checked in the
Data settings, which is not the default.
While it is disabled, the page shows the message RRD check is disabled, please enable in Configuration -> Settings -> Data.
The main Data Collector starts poller_rrdcheck.php in the background at
the end of a poller run. The checks themselves run when the Check
Frequency has elapsed. It defaults to 4 Hours. If Enable On-demand RRD
Updating is checked in the Performance settings,
the checks run at the end of a Boost run that updated RRDfiles instead. The
runtime is limited by the RRDChecker Timeout in the
Poller settings.
The page lists the problems that were found with the Host Description,
Data Source, Local Data ID, Message and Date. The Age
filter defaults to < 2 hours, which shows the problems found during the
last two hours. Select > 4 hours up to > 5 days to see older ones. The
Purge button removes all recorded problems. After each run of the checks,
problems that are older than seven days are removed.
A check can also be started from the command line:
shell>php -q poller_rrdcheck.php [--force] [--debug]
-
--force- Force the execution of an update process, even when the check is disabled or the Check Frequency has not elapsed. The checks are still left to Boost when Boost is enabled. -
--debug- Display verbose output during execution.
Viewing Change log from system utilities
With Cacti 1.2.16+, you are now able to view the CHANGELOG information up to the version your server is currently running. This is available via the system utilities menu which is useful for seeing what fixes and occasional features are included in your version.
View user login history
Console > Utilities > System Utilities > View User Log
In system utilities you are able to view a log of user logins, both successful and failed. The Log will also show what Client IP address the login originated from along with info if the login was based on password or token based login.
The page is titled User Login History and requires the
Settings/Utilities permission. Each row shows the User, Full
Name, Authentication Realm, Date, Result and IP Address of
one login attempt. The Result is one of Success - Password, Success - Token, Success - Password Change or Failed. A password change that a
User makes on the Change Password page, see
User Profile, is recorded as
Success - Password Change.
The filter offers the following options:
-
User -
All, a single user, orDeleted/Invalidfor entries whose user name does not match an existing account. -
Result -
Anyor one of the results listed above. -
Search - Matches the user name, the date, the full name and the IP address.
The Purge button does not empty the log completely. For every existing
account it keeps the most recent Success - Password entry and the most
recent Success - Token entry, and removes the older ones together with all
Failed entries. Entries of accounts that no longer exist are removed
entirely.
View boost update status and stats
Console > Utilities > System Utilities > View Boost Status
In this view you can see statistics on how Boost is running. You will be able to see information such as when the last time Boost started, how long it ran for, and the average Boost record size.
Viewing the Data Query Cache
Console > Utilities > System Utilities > View Data Query Cache
The Data Query Cache stores information gathered from Data Query input types. The values from these fields can be used in the text area of Graphs for Legends, Vertical Labels, and GPRINTs as well as in CDEFs.
Viewing the Poller Cache
Console > Utilities > System Utilities > View Poller Cache
This is the data that is being passed to the poller each time it runs.
Viewing the Cacti log via Log Administration
You are able to view the Cacti log via the Log Administration entry on the System utilities page. This will show the RAW log. This slightly differs from the view log tab as the device names will show the device ID rather than the Device name. This is the same view as when you read the log in the OS.
Copyright (c) 2004-2026 The Cacti Group











