<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:st1="urn:schemas-microsoft-com:office:smarttags" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]--><o:SmartTagType
 namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="PostalCode"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="State"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="City"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="place"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="Street"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="address"/>
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:"Century Gothic";
        panose-1:2 11 5 2 2 2 2 2 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:Arial;
        color:windowtext;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
-->
</style>

</head>

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

<div class=Section1>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>I am new to RRD, but have spent about 12 hours struggling
with this, so I hope someone can help. <o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>I am creating an rrd<o:p></o:p></span></font></p>

<p class=MsoNormal style='text-indent:.5in'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>/usr/bin/rrdtool create /tmp/ea.rrd
--start 1240207200 --step 7200 DS:ds:GAUGE:43200:0:100 RRA:LAST:0.5:1:100<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>And loading some data into it (I realize the values are all
one)<o:p></o:p></span></font></p>

<p class=MsoNormal style='margin-left:.5in'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>/usr/bin/rrdtool update /tmp/ea.rrd
1240246749:1 1240252503:1 1240259704:1 1240266904:1 1240274104:1 1240281305:1
1240288503:1 1240295704:1 1240302903:1 1240310104:1 1240317304:1 1240324504:1
1240331703:1 1240338903:1 1240346103:1 1240353304:1 1240360503:1 1240367704:1
1240374903:1 1240382104:1 1240389304:1 1240396503:1 1240403704:1 1240410904:1 <o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><br>
Now, I just want to print the data out. I try<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal style='text-indent:.5in'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>/usr/bin/rrdtool graph /tmp/ea.rrd
--start 20090420 'DEF:ds0=/tmp/ea.rrd:ds:LAST' 'PRINT:ds0:LAST:%2.2lf'<o:p></o:p></span></font></p>

<p class=MsoNormal style='text-indent:.5in'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>And get<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal style='text-indent:.5in'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>0x0<o:p></o:p></span></font></p>

<p class=MsoNormal style='text-indent:.5in'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>100.00<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>I was expecting to get a list of values?<br>
<br>
On a related note, these values represent time points where a device is on-line
(hence one; if it was off line, the value would be zero). I would like to
compute availability by computing every 24 hours the number of points that are
1 over the total number (which should be 12). Any suggestions on how to do
that? <o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Thanks in advance,<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Rob<o:p></o:p></span></font></p>

<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font
size=3 face="Times New Roman"><span style='font-size:12.0pt'><img width=221
height=58 id="_x0000_i1025" src="cid:image001.jpg@01C9C36E.1FE4FF90"><o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face="Century Gothic"><span style='font-size:
10.0pt;font-family:"Century Gothic"'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><b><font size=2 color="#5f5f5f" face="Century Gothic"><span
style='font-size:10.0pt;font-family:"Century Gothic";color:#5F5F5F;font-weight:
bold'>Robert Hagens</span></font></b><font size=2 face="Century Gothic"><span
style='font-size:10.0pt;font-family:"Century Gothic"'>&nbsp;</span></font><strong><b><font
color="#0099ff" face="Times New Roman"><span style='color:#0099FF'>|</span></font></b></strong><b><font
size=2 color=black face="Century Gothic"><span style='font-size:10.0pt;
font-family:"Century Gothic";color:black;font-weight:bold'> </span></font></b><font
size=2 face="Century Gothic"><span style='font-size:10.0pt;font-family:"Century Gothic"'>Chief
Technical Officer</span></font><strong><b><font color="#0099ff"
face="Times New Roman"><span style='color:#0099FF'>|</span></font></b></strong><font
size=2 color="#0099ff" face="Century Gothic"><span style='font-size:10.0pt;
font-family:"Century Gothic";color:#0099FF'> <b><span style='font-weight:bold'>Envysion,
Inc.</span></b> </span></font><font size=2 face="Century Gothic"><span
style='font-size:10.0pt;font-family:"Century Gothic"'><o:p></o:p></span></font></p>

<p class=MsoNormal><st1:Street w:st="on"><st1:address w:st="on"><font size=2
  face="Century Gothic"><span style='font-size:10.0pt;font-family:"Century Gothic"'>950
  Spruce Street</span></font></st1:address></st1:Street><font size=2
face="Century Gothic"><span style='font-size:10.0pt;font-family:"Century Gothic"'>
</span></font><strong><b><font color="#0099ff" face="Times New Roman"><span
style='color:#0099FF'>|</span></font></b></strong><font size=2 color="#00ccff"
face="Century Gothic"><span style='font-size:10.0pt;font-family:"Century Gothic";
color:#00CCFF'> </span></font><st1:place w:st="on"><st1:City w:st="on"><font
  size=2 face="Century Gothic"><span style='font-size:10.0pt;font-family:"Century Gothic"'>Louisville</span></font></st1:City></st1:place><font
size=2 face="Century Gothic"><span style='font-size:10.0pt;font-family:"Century Gothic"'>,
<st1:State w:st="on">CO</st1:State> <st1:PostalCode w:st="on">80027</st1:PostalCode><o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face="Century Gothic"><span style='font-size:
10.0pt;font-family:"Century Gothic"'>303.590.2365 office </span></font><strong><b><font
color="#0099ff" face="Times New Roman"><span style='color:#0099FF'>|</span></font></b></strong><font
size=2 color="#0099ff" face="Century Gothic"><span style='font-size:10.0pt;
font-family:"Century Gothic";color:#0099FF'> </span></font><font size=2
face="Century Gothic"><span style='font-size:10.0pt;font-family:"Century Gothic"'>303.590.2351
fax<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><a href="mailto:rhagens@envysion.com"
title="blocked::mailto:bzigich@envysion.com"><font size=2 color="#0099ff"
face="Century Gothic"><span style='font-size:10.0pt;font-family:"Century Gothic";
color:#0099FF'><span title="blocked::mailto:bzigich@envysion.com">rhagens@envysion.com</span></span></font></a></span></font><font
size=2 color="#0099ff" face="Century Gothic"><span style='font-size:10.0pt;
font-family:"Century Gothic";color:#0099FF'> </span></font><strong><b><font
color="#0099ff" face="Times New Roman"><span style='color:#0099FF'>|</span></font></b></strong><font
size=2 color="#0099ff" face="Century Gothic"><span style='font-size:10.0pt;
font-family:"Century Gothic";color:#0099FF'> </span></font><a
href="http://www.envysion.com/" title="blocked::http://www.envysion.com/"><font
size=2 color="#0099ff" face="Century Gothic"><span style='font-size:10.0pt;
font-family:"Century Gothic";color:#0099FF'><span
title="blocked::http://www.envysion.com/">www.envysion.com</span></span></font></a><font
size=2 color="#0099ff" face="Century Gothic"><span style='font-size:10.0pt;
font-family:"Century Gothic";color:#0099FF'> </span></font><strong><b><font
color="#0099ff" face="Times New Roman"><span style='color:#0099FF'>|</span></font></b></strong><font
size=2 color=black face="Century Gothic"><span style='font-size:10.0pt;
font-family:"Century Gothic";color:black'> </span></font><b><font size=2
color="#5f5f5f" face="Century Gothic"><span style='font-size:10.0pt;font-family:
"Century Gothic";color:#5F5F5F;font-weight:bold'>Visit our</span></font></b><b><font
size=2 color="#0066ff" face="Century Gothic"><span style='font-size:10.0pt;
font-family:"Century Gothic";color:#0066FF;font-weight:bold'> </span></font></b><a
href="http://managedvideoblog.com/"
title="blocked::http://managedvideoblog.com/"><b><font size=2 color="#0099ff"
face="Century Gothic"><span style='font-size:10.0pt;font-family:"Century Gothic";
color:#0099FF;font-weight:bold'><span
title="blocked::http://managedvideoblog.com/">blog</span></span></font></b></a><b><font
size=2 face="Century Gothic"><span style='font-size:10.0pt;font-family:"Century Gothic";
font-weight:bold'><o:p></o:p></span></font></b></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

</div>

</body>

</html>