rrdtool calculator link

Addons for Cacti and discussion about those addons

Moderators: Developers, Moderators

benphelps
Posts: 1
Joined: Tue Oct 27, 2009 2:48 pm

Post by benphelps »

psyber wrote:Heres version 2

A few improvements with the output
added some of the Holt-Winters stuff (possibly more to come if theres interest)
added a rough filesize estimator (I don't know what the overhead is for a rrd but this is within a few Kb)

This version isn't as clean and the javascript is probably the most inefficient way of doing things, but it works. Feel free to make improvements or post here with bugs.

~p
Amazing, i registered here just to say thanks!
User avatar
TheWitness
Developer
Posts: 16897
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

I due like the v2. Much nice.

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?
User avatar
psyber
Cacti User
Posts: 84
Joined: Tue Aug 02, 2005 7:18 pm

Post by psyber »

I appreciate the thanks! Its nice to know someone other than me uses this.
vpupkin
Posts: 1
Joined: Fri Jul 16, 2010 4:07 am

Post by vpupkin »

psyber wrote:Heres version 2

...
~p
Greate JOB! 10x a lot!
Crypty
Posts: 4
Joined: Tue Feb 08, 2011 4:11 pm

Re: rrdtool calculator link

Post by Crypty »

Thanks, I appreciate your work. Good tool.
lazna
Posts: 7
Joined: Tue Nov 22, 2011 2:16 pm

Re: rrdtool calculator link

Post by lazna »

Trying to create RRD archive for 1 minute patterns, the calculator generate such command

Code: Select all

rrdtool create newdata.rrd --step 60 \
DS:data:GAUGE:120:U:U \
RRA:AVERAGE:0.5:0.5:86400 \
RRA:AVERAGE:0.5:30:17520 \
but it give me "ERROR: Invalid step 0.5: value has trailing garbage" with RRDtool 1.8.0
This could be fixed by change second '0.5' value in first archive definition from

Code: Select all

0.5
to

Code: Select all

1
What could be wrong?
User avatar
TheWitness
Developer
Posts: 16897
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: rrdtool calculator link

Post by TheWitness »

That appears to be a bug. Not sure how the step was set to 0.5. The minimum step is 1.
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?
User avatar
TheWitness
Developer
Posts: 16897
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: rrdtool calculator link

Post by TheWitness »

Your Data Source Profile > Edit page should look something like below. Notice the Steps leads off with 1.
Attachments
DataSourceProfileEdit.png
DataSourceProfileEdit.png (88.54 KiB) Viewed 2665 times
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?
lazna
Posts: 7
Joined: Tue Nov 22, 2011 2:16 pm

Re: rrdtool calculator link

Post by lazna »

TheWitness wrote: Sun Jul 31, 2022 1:08 pm Your Data Source Profile > Edit page should look something like below. Notice the Steps leads off with 1.
I dont use Cacti, but scripting rrdtool directly. Found this thread is in the source of calculator, that is why I am asking here.
lazna
Posts: 7
Joined: Tue Nov 22, 2011 2:16 pm

Re: rrdtool calculator link

Post by lazna »

TheWitness wrote: Sun Jul 31, 2022 1:00 pm That appears to be a bug. Not sure how the step was set to 0.5. The minimum step is 1.
That is why I am writing it here, this only known contact to author
User avatar
psyber
Cacti User
Posts: 84
Joined: Tue Aug 02, 2005 7:18 pm

Re: rrdtool calculator link

Post by psyber »

As you can probably tell by the dates I haven't touched this in a very long time. @TheWitness is correct, it's a bug.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest