<br><font size=2 face="sans-serif">i'm no whiz with it, but i'll be there
tonight.</font>
<br><font size=2 face="sans-serif"><br>
</font>
<hr><font size=1>William York, MS, MCP+I, MCSE (NT4 & W2K)</font><font size=1 color=red><br>
New Mexico Department of Health<br>
Network Operations Center</font><font size=1 color=blue><br>
Vice President - PODNet POD, Inc.</font><font size=1><br>
desk: 505.827.2420<br>
office: 505.243.2287 </font>
<hr>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td width=40%><font size=1 face="sans-serif"><b>jdavis <jd@taproot.bz></b>
</font>
<br><font size=1 face="sans-serif">Sent by: nmglug-bounces@nmglug.org</font>
<p><font size=1 face="sans-serif">02/26/2004 12:56 PM</font>
<table border>
<tr valign=top>
<td bgcolor=white>
<div align=center><font size=1 face="sans-serif">Please respond to<br>
"NMGLUG.org mailing list" <nmglug@nmglug.org></font></div></table>
<br>
<td width=59%>
<table width=100%>
<tr>
<td>
<div align=right><font size=1 face="sans-serif">To</font></div>
<td valign=top><font size=1 face="sans-serif">"NMGLUG.org mailing
list" <nmglug@nmglug.org></font>
<tr>
<td>
<div align=right><font size=1 face="sans-serif">cc</font></div>
<td valign=top>
<tr>
<td>
<div align=right><font size=1 face="sans-serif">Subject</font></div>
<td valign=top><font size=1 face="sans-serif">Re: [nmglug] RRD</font></table>
<br>
<table>
<tr valign=top>
<td>
<td></table>
<br></table>
<br>
<br>
<br><font size=2><tt>On Thu, 2004-02-26 at 12:16, Kevin P. Karns wrote:<br>
> jdavis wrote:<br>
> <br>
> >Hello,<br>
> > So i am trying to graph shyt using rrd. I have made a few graphs,
but I<br>
> >dont really get it. Is anyone coming to the glug tonight who is
versed<br>
> >with rrd?<br>
> ><br>
> >  <br>
> ><br>
> i don't get it either ...<br>
> i once donated to the GNU/rrdtools project  <br>
> http://people.ee.ethz.ch/~oetiker/webtools/rrdtool/<br>
> i'd like to learn more as well<br>
> you're speaking perl with this, right?<br>
yes, here is what im doing....<br>
<br>
 I am trying to setup a simple rrd and then graph the data. My data<br>
set is simple.. every 5 minutes my rrd is updated with a number between<br>
1 - 500. I would like the graph to have values ranging from 1 - 500 on<br>
the vertical axis. And the have a 24 hour period represented by the<br>
horizontal axis. I am still pretty confused as how to do this. Here is<br>
what Im trying....<br>
<br>
rrdtool create test.rrd   \<br>
--start 1077819500        \<br>
DS:speed:ABSOLUTE:300:U:U \<br>
RRA:AVERAGE:0.5:1:24<br>
<br>
I think this is only for  2 hours, i will adjust to 24 hours when
i<br>
think i understand ...<br>
<br>
then heres what updates the rrd...<br>
<br>
#! /usr/bin/perl -w<br>
$amount = 1;<br>
@array = 1 .. 500;<br>
<br>
while($amount){<br>
        sleep(300);<br>
        $index   = rand @array;<br>
        $element = $array[$index];<br>
        $date = `/bin/date +%s`;<br>
        chomp($date);<br>
        print "Date = $date - Element = $element\n";<br>
        `rrdtool update test.rrd  $date:$element`;<br>
}<br>
<br>
the output i get from this is not what i expected to see..<br>
on the vertical axis i get 1.0 to 1.4 not 1 to the highest value <br>
inserted. <br>
<br>
Could someone please help me understand. I just want a graph that tells<br>
me what the number was that was entered into the rrd every 5 minutes. <br>
<br>
thanks,<br>
jd<br>
<br>
> <br>
> <br>
> <br>
> _______________________________________________<br>
> nmglug mailing list<br>
> nmglug@nmglug.org<br>
> http://www.nmglug.org/mailman/listinfo/nmglug<br>
-- <br>
jdavis <jd@taproot.bz><br>
<br>
<br>
_______________________________________________<br>
nmglug mailing list<br>
nmglug@nmglug.org<br>
http://www.nmglug.org/mailman/listinfo/nmglug<br>
</tt></font>
<br>