Hi,

Someone had some feature requests for "fancier graphs".  My standard  
reply is "the stats the pool are collecting aren't as interesting as  
you think" or sometimes "it's on the todo, but pretty far down".

I just thought of another way:  You get the RRD files and figure out  
what to do with them.  So to that end I've added a link to the RRD  
files next to the CSV link on the server stats page!

If you don't know about rrdtool, you can read more at http:// 
oss.oetiker.ch/rrdtool/

Please don't setup something to download the RRD file frequently  
(more than say every few days).   The RRD files have the same data as  
the CSV data (less actually), but obviously it's already in RRD  
format ready to be graphed with rrdtool.

FWIW, the graphs on the site are made with these parameters:

                     '--lazy',
                     '--end'    => 'now',
                     '--start'  => 'end-3d',
                     '--width'  => 420,
                     '--height' => 130,
                    '--height' => 160,
                    '--title'  => $title,
                    '--lower-limit' => -10,
                    '--upper-limit' => 20,
                    '--slope-mode',
                    qq[DEF:score=$rrd:score:AVERAGE],
                    qq[DEF:step=$rrd:step:AVERAGE],
                    q[CDEF:step_blue=step,1,LT,INF,0,IF],
                    q[CDEF:step_yellow=step,0.6,LT,INF,0,IF],
                    q[CDEF:step_orange=step,-0.9,LT,INF,0,IF],
                    q[CDEF:step_red=step,-3.9,LT,INF,0,IF],
                    q[CDEF:step_white=step,0,EQ,INF,0,IF],
                   qq[AREA:step_blue#9999FF:],
                    qq[AREA:step_yellow#EEEE33:],
                    qq[AREA:step_orange#FFAA22:],
                    qq[AREA:step_red#FF6666:],
                    qq[AREA:step_white#FFFFFF],
                    q[LINE2:5#660000:Bad server cutoff],
                    q[LINE1:20#000000:],
                    qq[LINE2:score#00BB00:Score],

(from https://svn.develooper.com/projects/ntppool/trunk/lib/NP/Model/ 
Server.pm )


  - ask

-- 
http://develooper.com/ - http://askask.com/


_______________________________________________
timekeepers mailing list
[email protected]
https://fortytwo.ch/mailman/cgi-bin/listinfo/timekeepers

Reply via email to