Files
Cactidocumentation/Settings-Spikes.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.8 KiB

Spike Kill

Certain types of RRDtool based Data Sources can from time to time generate what look like spikes to the casual observer. These spikes can make your Cacti Graphs unreadable.

Spikes happen when you either have set no maximum value on your Cacti Data Template by using a 'U' as the Maximum Value, or when certain COUNTER based RRDfiles have their counter data overflow, and start counting again from zero. When this happens, recent versions of RRDtool, like version 1.7, handle these overflows quite well, but for some older RRDtool versions, these changes can result in these spikes.

There are also cases where for some reason the Cacti system goes offline, and therefore your Cacti Graphs will develop what are referred to as gaps.

Spike Kill Settings

Cacti provides two gap filling options from the user interface. In the image below, you can see the default Settings for Cacti's Spike Killer GUI.

Settings Spike Kill

Those settings include:

  • Removal Method - Cacti supports both Variance (labeled Variance Based w/Outliers Removed) and Standard Deviation methods. When calculating those values, you have the ability to filter out outliers such that they don't negatively impact those calculations.

  • Replacement Method - When filling the Gap, what data point should be used. There is Last Known Good, which would be the last good known value, Average, which uses the Average value for the RRDfile data source, and NaN's which will cause the Graph to gap, but the spikes will be removed.

  • Number of Standard Deviations - This is the number of Standard Deviations above the Average that are required before the value is considered a spike. It only applies to the Standard Deviation spike removal method.

  • Variance Percentage - When using the Variance spike detection method, the percentage above variance before considering a value a spike.

  • Variance Number of Outliers - The number of high values to ignore when calculating the Variance.

  • Max Kills Per RRA - The maximum number of spikes to remove from any given RRDfile Data Source.

  • RRDfile Backup Directory - If you wish to back up RRDfiles that have been altered by Spike Kill, they will be placed in this directory.

Batch Spike Kill Settings

Cacti also allows administrators to kill Cacti spikes on a periodic basis using a batch process. From this batch process, you select the time of day, the Graph Templates to perform Spike Kill operations on, and the backup retention for RRDfiles that have spikes removed from them. The image below shows those settings.

Settings Spike Kill Batch

Those settings include:

  • Removal Schedule - Do you wish to periodically remove spikes from your graphs? If so, select the frequency. The options are Disabled, Every 6 Hours, Every 12 Hours, Once a Day and Every Other Day, and the default is Disabled.

  • Base Time - The Base Time for Spike removal to occur. For example, if you use 12:00am and you choose once per day, the batch removal would begin at approximately midnight every day. The default is 12:00am.

  • Graph Templates to Spike Kill - When performing batch spike removal, only the templates selected will be acted on.

  • Backup Retention - When SpikeKill kills spikes in graphs, it makes a backup of the RRDfile. How long should these backup files be retained? The options are Never and a list of time spans, and the default is 3 Months.

Of note is that first of all, the only Graph Templates that are shown are Graph Templates that include COUNTER or DERIVE type Data Sources. It is also worth noting that only Data Query type Graph Templates are supported as of the current Cacti version.


Copyright (c) 2004-2026 The Cacti Group