RRA tune feature.

Anything that you think should be in Cacti.

Moderators: Developers, Moderators

Post Reply
User avatar
pestilence
Cacti User
Posts: 207
Joined: Fri Jul 25, 2003 10:37 am
Location: Athens/Greece
Contact:

RRA tune feature.

Post by pestilence »

The tune function for the maximum and minimum value should be brought back to cacti, it will save some time from working both in cacti and at the console changing this rra's to the proper values.
Also there is a script which removes the spikes, it would be nice if we could implement this into cacti as well, maybe from an edit menu you could be able to select the remove spike feature.
/* * Oops. The kernel tried to access some bad page. We'll have to * terminate things with extreme prejudice. */ die_if_kernel("Oops", regs, error_code);
Elmar
Posts: 29
Joined: Mon May 19, 2003 4:25 am
Location: Netherlands

Post by Elmar »

The rrdtool tune function is exactly what i'm missing in Cacti at the moment.
Maybe some more things to verify the data source settings. The debug feature is only showing how the RRD file would be created and not how it really looks and the inside.

Elmar
oharel
Cacti User
Posts: 84
Joined: Wed Jan 07, 2004 11:16 am

Remove Spike Feature

Post by oharel »

Yes, definitely - a "remove spike" feature is what's needed, per data-source, probably?

-harel
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

bump.

Yea, having cacti automatically run rrdtool tune when the min/max/heartbeat is changed for a datasource would be really handy.
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Ian wanted to incorporate into 0.8.6, but I threw him off track with other features and we just didn't get it done. I think the function is already written, just not incorporated. The tuning would take place during a subsequent poll cycle. No promises at this point.

TheWitness
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?
Atle
Posts: 7
Joined: Thu Feb 03, 2005 2:07 pm

Spikes

Post by Atle »

I have resorted to using DERIVE rather than COUNTER for most of our graphs, works great. Especially for our MySQL servers, the graphs will spike and spoil the graphs upon restart when using the COUNTER ds. Not anymore, instead it will show a small gap. :)

I had this huge one line shell command to convert as many RRDs as I needed (via rrdtool tune) from COUNTER to DERIVE, but unfortunately it got lost in the history...
User avatar
bulek
Cacti Pro User
Posts: 854
Joined: Mon May 20, 2002 2:07 am
Location: Poland
Contact:

Post by bulek »

DERIVE is almost the same as COUNTER with tis exception that it allows for negative values (negative rates actually). If your device resets the first read is negative but it is dropped because by default you have Minimum Value set to 0. Then why not to stay with COUNTER and set proper Maximum Value? You would avoid spikes this way too. Another drawback of DERIVE is that you will have this "small gap" every time your counter wraps while CONUTER would handle this situation in a smart way.

- Piotr
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

/nod
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

We all do in fact worship Bulek!

TheWitness :lol:
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?
Atle
Posts: 7
Joined: Thu Feb 03, 2005 2:07 pm

Post by Atle »

bulek wrote:DERIVE is almost the same as COUNTER with tis exception that it allows for negative values (negative rates actually). If your device resets the first read is negative but it is dropped because by default you have Minimum Value set to 0. Then why not to stay with COUNTER and set proper Maximum Value? You would avoid spikes this way too. Another drawback of DERIVE is that you will have this "small gap" every time your counter wraps while CONUTER would handle this situation in a smart way.

- Piotr
When I use DERIVE and the correct MIN/MAX settings I never have spikes. That was not the case for our MySQL graphs using a 32bit COUNTER, which upon every restart left me with unusable graphs (unless I manually removed the spikes). I'll take a small gap any time over spikes in my performance graphs. :)
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Stay tuned Cacti 0.8.6d will be released within the next day or so.

TheWitness
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?
Lewis
Posts: 40
Joined: Thu May 19, 2005 8:04 pm

Post by Lewis »

TheWitness wrote:Stay tuned Cacti 0.8.6d will be released within the next day or so.

TheWitness
when will you release 0.8.6e ?

we have 45 wireless routers graphed,
with 4-6 interfaces each,
but we reboot them every night, sometimes twice a day...

so, i live in a spike-y world :lol:

its very difficult to remove spikes with this killspike script, from 200-250 files...
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Lewis,

Please follow this link. I believe that I am done. You tell me.

TheWitness

http://forums.cacti.net/viewtopic.php?t=7693
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?
Lewis
Posts: 40
Joined: Thu May 19, 2005 8:04 pm

Post by Lewis »

TheWitness wrote:Lewis,

Please follow this link. I believe that I am done. You tell me.

TheWitness

http://forums.cacti.net/viewtopic.php?t=7693
well, i tried to build this..
i chmod +x configure script but when i run it, i get this error message:

Code: Select all

configure: error: Cannot find MySQL header files under /usr
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

Hey guys, let's not have a support replys in a feature request thread.
:(
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests