Amazing, i registered here just to say thanks!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
rrdtool calculator link
Moderators: Developers, Moderators
- TheWitness
- Developer
- Posts: 17047
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
I due like the v2. Much nice.
TheWitness
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?
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?
Re: rrdtool calculator link
Thanks, I appreciate your work. Good tool.
Re: rrdtool calculator link
Trying to create RRD archive for 1 minute patterns, the calculator generate such command
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 to
What could be wrong?
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 \
This could be fixed by change second '0.5' value in first archive definition from
Code: Select all
0.5
Code: Select all
1
- TheWitness
- Developer
- Posts: 17047
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Re: rrdtool calculator link
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?
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?
- TheWitness
- Developer
- Posts: 17047
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Re: rrdtool calculator link
Your Data Source Profile > Edit page should look something like below. Notice the Steps leads off with 1.
- Attachments
-
- DataSourceProfileEdit.png (88.54 KiB) Viewed 5671 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?
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?
Re: rrdtool calculator link
I dont use Cacti, but scripting rrdtool directly. Found this thread is in the source of calculator, that is why I am asking here.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.
Re: rrdtool calculator link
That is why I am writing it here, this only known contact to authorTheWitness 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.
Re: rrdtool calculator link
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.
Who is online
Users browsing this forum: No registered users and 2 guests