<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.3354" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial size=2><SPAN class=390282517-11082008>I see at <A
href="http://www.trantor.org/theshire/doku.php/tutorials">http://www.trantor.org/theshire/doku.php/tutorials</A>
a link for "Develop your own graphing monitor using NCV" but it looks to be a
dead link. Looks like that may have my answer? Anyone have the
details?</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><SPAN class=390282517-11082008><FONT face=Arial
size=2>Thanks</FONT></SPAN></DIV>
<DIV><SPAN class=390282517-11082008><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=749302314-05092007>Bill
Richardson</SPAN></FONT></DIV>
<DIV align=left>
<DIV><FONT face=Arial size=2><SPAN
class=749302314-05092007></SPAN></FONT> </DIV>
<DIV><FONT face=Arial><SPAN class=749302314-05092007>Siguršur Gušbrandsson<<A
href="mailto:sigurdur" rel=nofollow>mailto:sigurdur</A> (at) raforninn.is>
wrote a pretty detailed tutorial on what he through setting up a custom graph
that I put up on The Shire's tutorial page.<BR><BR>=G=<BR><BR>From: Bill
Richardson [<A href="mailto:wrichardson" rel=nofollow>mailto:wrichardson</A>
(at) llbean.com]<BR>Sent: Monday, August 11, 2008 9:54 AM<BR>To: hobbit (at)
hswn.dk<BR>Subject: [hobbit] RRD Graphing configuration<BR><BR>I have looked
high and low for a way to change how custom rrd's are created in
hobbit.<BR><BR>I have created a custom script to graph and have 2 problems that
I would like to figure out.<BR><BR>1.) I would like to change the step from 300
secs to 60 secs in the rrd's and run the script ever 60 secs instead of 300
secs. "The default rrd behavior is set to 300 secs"<BR>2.) I would like to get
the true values not average. The problem is I have data that I want to graph
that can range from 0 to 5 "thats 0, 1, 2, 3, 4 or 5" and the graph
shows average so my graphs come out with numbers like 6m "6 milli" for a true
value of 2 and so on. The problem is the data will sit a 0 for an hour or more
and then go to 1 or 2 for just one sample. Average is not the right choice and I
cant get the true figures I 'm looking for.<BR><BR> Seems like the way to do
this is in the hobbitserver.cfg. I added the following to the
hobbitserver.cfg<BR><BR>NCV_testgraph="test1total:GAUGE,test2total:GAUGE,test3total:GAUGE"<BR><BR>What
other values can you pass to rrd other than GAUGE? Can I set a step to say 60
instead or 300 and can I change the default behavior of AVERAGE to something
else that may work for my above example? The rrd docs are not clear on
this.<BR><BR>Early on I was thinking that maybe I could fix the AVERAGE problem
with a change to the hobbitgraph.cfg but this is what I found:<BR>The
hobbitgraph.cfg does not have any effect on how rrd file is created. I deleted
the testgraph.rrd made the changes to hobbitgraph.cfg and no go. You cant see
the graphs if you use anything but AVERAGE after changing the hobbitgraph.cfg.
It looks like the *.rrd's are created by default "AVERAGE" and you just edit the
hobbitgraph.cfg to view whats already built. I need to figure out how to change
the way the rrd's are built and its not thru the hobbitgraph.cfg.<BR><BR>BTW
here is the output from rrdtool dump see attached.<BR><BR>You will see two areas
that need to be changed "the step 300 and AVERAGE"<BR>1:<BR><!-- Round Robin
Database Dump --><rrd> <version> 0003
</version><BR><BR><step> 300 </step> <!-- Seconds
--><BR><BR>2:<BR><BR><!-- Round Robin Archives -->
<rra><BR><BR><cf> AVERAGE </cf><BR><BR>Thanks for any clues...
: )<BR><BR>Bill Richardson<BR></SPAN></FONT></DIV></DIV>
<DIV> </DIV></BODY></HTML>