avoid spikes from being removed from graphs

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
ghattasjacob
Posts: 4
Joined: Tue Jul 17, 2018 1:35 pm

avoid spikes from being removed from graphs

Post by ghattasjacob »

Helolo Guys,
I don't know if I am even phrasing it right...
I have an issue, which seems a feature I want to avoid.
I have lots of interfaces which have legit spikes which I want to display in the graphs.
I see the spikes in the "daily"graph but when it moves to the weekly, monthly or yearly, it seems like cacti is averaging the data.
how can I avoid it or make the "spikes" appear more?
10xs And Best Regards.
Jacob
bmfmancini
Cacti User
Posts: 250
Joined: Wed Mar 13, 2019 3:37 pm
Location: toronto
Contact:

Re: avoid spikes from being removed from graphs

Post by bmfmancini »

What you are seeing is the averaging of the data like you said
to fix this you will have to modify the averaging of the data profile to store more detailed info

by default the daily 1 minute graph will store that detail for 2 days and then consolodate to 15 minute averages so you will lose momentary spikes

Check out the doc here
https://github.com/Cacti/documentation/ ... rofiles.md

This will make your graphs bigger so plan ahead !
Telecom Lifer, Monitoring and performance enthusiast, Father, Husband

Cacti Bug Hunter and Member

www.seanmancini.com
sean(at)seanmancini.com
github.com/bmfmancini

My Cacti scripts and templates ( Non official)
Cacti install wizard https://github.com/bmfmancini/cacti-install-wizard
Cacti templates https://github.com/bmfmancini/Cacti-templates

Always willing to help!
cigamit
Developer
Posts: 3369
Joined: Thu Apr 07, 2005 3:29 pm
Location: B/CS Texas
Contact:

Re: avoid spikes from being removed from graphs

Post by cigamit »

There is consolidation happening on multiple levels. First, as Sean points out, as data moves from one Profile RRA to the next, is it averaged into the new time slots.

The 2nd time actually happens via RRDTool visually. So even if you extend out the per minute data storage to 1 month, If you attempt to view 1 month of data at once, you have way more data points than RRDTool can display on the screen. So for instance say you only had 1800 data points, yet the RRDTool graph is 300 pixels wide. RRDTool can only fit 1 data point per pixel, so it is going to average your 1800 data points to fit within the available pixels (300). The data is still there of course if you Zoom in, since by Zooming in, you are reducing the number of data points that need to be displayed.

Now if you would rather things weren't averaged down, you can get into the complex world of "MAX of AVERAGES", etc... by changing up some things. Whether that is possible ofcourse depends on your Cacti Version (which you never state what version you are using).
User avatar
TheWitness
Developer
Posts: 17061
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: avoid spikes from being removed from graphs

Post by TheWitness »

You have to be careful with spikekill. The most important part is choosing the right method and limits. Before setting up profilactic despiking, you really need to experiment with settings.
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests