Cacti (home)ForumsRepositoryDocumentation
Cacti: offical forums and support  

 FAQFAQ   SearchSearch   MemberlistMemberlist    RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in    


rrdtool calculator link

 
Post new topic   Reply to topic    Cacti Forum Index -> Addons for Cacti
Author Message
egarnel
Cacti Pro User


Joined: 21 Nov 2002
Posts: 630
Location: Austin, TX

PostPosted: Fri Jul 14, 2006 12:37 pm    Post subject: rrdtool calculator link Reply with quote

found this neat tool for rrd calculations when checking out nmis
http://sins.com.au/nmis/rrd_calc.xls
Back to top
TheWitness
Developer


Joined: 14 May 2002
Posts: 9470
Location: MI, USA

PostPosted: Sat Jul 15, 2006 9:38 am    Post subject: Reply with quote

Very nice. That would be a good tools addon under utilities.

TheWitness
Back to top
rony
Developer/Forum Admin


Joined: 17 Nov 2003
Posts: 5398
Location: Wisconsin, USA

PostPosted: Sat Jul 15, 2006 10:17 am    Post subject: Reply with quote

Think I will translate that into a perl script/web page, because not all of us have Excel..
Back to top
TheWitness
Developer


Joined: 14 May 2002
Posts: 9470
Location: MI, USA

PostPosted: Sat Jul 15, 2006 11:40 am    Post subject: Reply with quote

Shall we race?

TheWitness
Back to top
rony
Developer/Forum Admin


Joined: 17 Nov 2003
Posts: 5398
Location: Wisconsin, USA

PostPosted: Sat Jul 15, 2006 12:16 pm    Post subject: Reply with quote

No, you win...
Back to top
TheWitness
Developer


Joined: 14 May 2002
Posts: 9470
Location: MI, USA

PostPosted: Sat Jul 15, 2006 12:59 pm    Post subject: Reply with quote

I was thinking of Ajax, but then, we would be talking about 0.9

TheWitness
Back to top
psyber



Joined: 02 Aug 2005
Posts: 46

PostPosted: Mon Feb 04, 2008 12:42 pm    Post subject: Reply with quote

What specifically will you be using for AJAX in 9. I wouldn't mind tackling this as I already have an XLS version on steroids and one in the pipe thats a Perl CGI with AJAX. I've done AJAX before with Perl using scriptaculous and I'm looking to picking up a bit of PHP so its really all the same only different
I also wanted to expand it a bit to include all the stuff for Holt-Winters in the initial RRD definition. (Yet another learning curve)
---
Actually after thinking about this, this could all be done client side with a static web page using only javascript.
----
After about an hour last night of cutting, pasting, cussing, and remembering exactly why it is I loathe javascript so much I have the basics covered. I just need to make it prettyful which may take longer than it did to actually get it working. I'm also still toying with the idea of implementing RRA:HWPREDICT, RRA:SEASONAL, RRA:DEVSEASONAL, RRA:DEVPREDICT, and RRA:FAILURES just for completeness sake and my future sanity's sake. Does anyone here have any experience using these?

And, isn't sanity really just a one-trick pony anyway? I mean all you get is one trick, rational thinking, but when you're good and crazy, oooh, oooh, oooh, the sky is the limit!
Back to top
fmangeant
Cacti Guru User


Joined: 19 Sep 2003
Posts: 2325
Location: Sophia-Antipolis, France

PostPosted: Fri Feb 15, 2008 3:14 am    Post subject: Reply with quote

Moving to addons.
Back to top
psyber



Joined: 02 Aug 2005
Posts: 46

PostPosted: Sat Feb 16, 2008 10:50 pm    Post subject: Reply with quote

Here's version 1.
I got interrupted while working on this and I don't think I will get back to it for a bit so I figured I'd post it up and if anyone wants to move forward they will at least have a starting point.
Please feel free to absorb this into the tools plugin or where ever you think it best fits.
~p



rrd_calc.zip
 Description:
RRD calculator

Download
 Filename:  rrd_calc.zip
 Filesize:  3.45 KB
 Downloaded:  193 Time(s)

Back to top
psyber



Joined: 02 Aug 2005
Posts: 46

PostPosted: Thu Apr 17, 2008 9:53 am    Post subject: Reply with quote

Has anyone found this useful? I'm thinking of finishing what I started but don't want to put too much work into something no one uses. Feature requests/bug reports????
Back to top
incudie



Joined: 06 Mar 2008
Posts: 15

PostPosted: Thu Apr 17, 2008 3:30 pm    Post subject: Reply with quote

Hey Psyber,

I played around with it a bit,

Looks awesome, it took my inputed values and gave me the appropriate RRD commands.

I'm just not sure what I personally would use it for.

Would you use this in creating new templates?
Back to top
psyber



Joined: 02 Aug 2005
Posts: 46

PostPosted: Sat Apr 19, 2008 10:57 am    Post subject: Reply with quote

Well I can only tell you what I've used it for. We don't currently use cacti at work due mostly to issues with our supported production environment but also in some features that aren't quite where we need them in cacti. It's all getting better and at some point we will move monitoring to a cacti install.

Currently we have a "home grown" solution that works pretty good but is lacking in the polish and usability areas. Most of the time its plug and play, just add something and the scripts take care of adding the device and setting up the rrd. Now and again we have something odd we would like to monitor that requires a different poll cycle or we would like to keep more accurate data for longer periods, what ever the case it happens now and again. The first time I had to do this manually it took me a day of reading and trying and head banging to figure out all the numbers and what they do.

I spent a lot of that time sifting through posts in these forums on how to define a large rra without data loss http://docs.cacti.net/node/54 and how to alter your poll cycle and how that affects the rrd. As cacti moves toward variable polling knowing how to tweak the numbers becomes a little more important (then again knowing the developers that may be done via cacti magic and all very seamless) Either way the xls file was useful to me and having it's functionality web accessible makes it even more useful. I don't know how useful it is to others but it it saves anyone time and headaches I'm on board for further developing it.
Back to top
jt555



Joined: 17 Nov 2007
Posts: 7
Location: Atlanta, Ga

PostPosted: Fri Sep 26, 2008 11:11 am    Post subject: Reply with quote

psyber wrote:
Has anyone found this useful? I'm thinking of finishing what I started but don't want to put too much work into something no one uses. Feature requests/bug reports????


Why not make a javascript version part of Cacti? Would it be possible to estimate file size with it?
Back to top
TheWitness
Developer


Joined: 14 May 2002
Posts: 9470
Location: MI, USA

PostPosted: Fri Sep 26, 2008 10:08 pm    Post subject: Reply with quote

jt555 wrote:
psyber wrote:
Has anyone found this useful? I'm thinking of finishing what I started but don't want to put too much work into something no one uses. Feature requests/bug reports????


Why not make a javascript version part of Cacti? Would it be possible to estimate file size with it?


I am sure it could be worked out. You would simply need to know the in's and out's of RRDtool. Feature request would be good. Post it at http://bugs.cacti.net

TheWitness
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Cacti Forum Index -> Addons for Cacti All times are GMT - 5 Hours
Page 1 of 1

 



Powered by phpBB © 2001, 2005 phpBB Group