<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">

<head>

<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body lang=EN-US link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>It’s a “FIXME” which means it’s one I’ve asked for that noone’s
given…Sigur’s tutorial is the one below it.<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>

<div>

<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'>

<p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> Bill Richardson
[mailto:wrichardson@llbean.com] <br>
<b>Sent:</b> Monday, August 11, 2008 1:30 PM<br>
<b>To:</b> hobbit@hswn.dk<br>
<b>Subject:</b> [hobbit] RE: RRD Graphing configuration<o:p></o:p></span></p>

</div>

</div>

<p class=MsoNormal><o:p> </o:p></p>

<div>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>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><o:p></o:p></p>

</div>

<div>

<p class=MsoNormal> <o:p></o:p></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>Thanks</span><o:p></o:p></p>

</div>

<div>

<p class=MsoNormal> <o:p></o:p></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>Bill
Richardson</span><o:p></o:p></p>

</div>

<div>

<p class=MsoNormal> <o:p></o:p></p>

</div>

<div>

<p class=MsoNormal><span style='font-family:"Arial","sans-serif"'>Siguršur
Gušbrandsson<<a href="mailto:sigurdur">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">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</span><o:p></o:p></p>

</div>

<div>

<p class=MsoNormal> <o:p></o:p></p>

</div>

</div>

</body>

</html>