<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 HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
/* Font Definitions */
@font-face
        {font-family:Wingdings;
        panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@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:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-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;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:3.0cm 2.0cm 3.0cm 2.0cm;}
div.WordSection1
        {page:WordSection1;}
-->
</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=DA link=blue vlink=purple>
<div class=WordSection1>
<p class=MsoNormal><span style='color:#1F497D'>Hi<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'> <span lang=EN-US>Found the bug –
in the list of orders (template) ,,,,, I’ll try again </span></span><span
lang=EN-US style='font-family:Wingdings;color:#1F497D'>J</span><span
lang=EN-US style='color:#1F497D'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US style='color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US style='color:#1F497D'>/Brian<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US style='color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US style='color:#1F497D'><o:p> </o:p></span></p>
<div>
<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'>
<p class=MsoNormal><b><span lang=EN-US style='font-size:10.0pt;font-family:
"Tahoma","sans-serif"'>From:</span></b><span lang=EN-US style='font-size:10.0pt;
font-family:"Tahoma","sans-serif"'> Brian Ipsen [mailto:bipsen@andebakken.dk] <br>
<b>Sent:</b> 24. juni 2010 17:24<br>
<b>To:</b> 'rrd-users@lists.oetiker.ch'<br>
<b>Subject:</b> Problems with rrd update on RRD database<o:p></o:p></span></p>
</div>
</div>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal><span lang=EN-US>Hi<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US> I’m having a very strange issue with
a RRD database…<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US>The database is created using:<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
rrdtool create file.rrd -b `date +%s` -s 300 \<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
DS:BackupDisk:GAUGE:600:0:10 \<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
DS:NoBackupDisk:GAUGE:600:0:10 \<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
DS:BackupVTape:GAUGE:600:0:10 \<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
DS:NoBackupVTape:GAUGE:600:0:10 \<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
DS:BackupTape:GAUGE:600:0:10 \<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
DS:NoBackupTape:GAUGE:600:0:10 \<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
DS:ReclaimVTape:GAUGE:600:0:10 \<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
DS:NoReclaimVTape:GAUGE:600:0:10 \<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
DS:ReclaimTape:GAUGE:600:0:10 \<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
DS:NoReclaimTape:GAUGE:600:0:10 \<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
DS:ReclaimCopy:GAUGE:600:0:10 \<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
DS:NoReclaimCopy:GAUGE:600:0:10 \<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
DS:Migration:GAUGE:600:0:10 \<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
DS:NoMigration:GAUGE:600:0:10 \<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
DS:Expiration:GAUGE:600:0:10 \<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
DS:NoExpiration:GAUGE:600:0:10 \<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
DS:FullDbBackup:GAUGE:600:0:10 \<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
DS:NoFullDbBackup:GAUGE:600:0:10 \<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
DS:IncrDbBackup:GAUGE:600:0:10 \<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
DS:NoIncrDbBackup:GAUGE:600:0:10 \<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
DS:Export:GAUGE:600:0:10 \<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
DS:NoExport:GAUGE:600:0:10 \<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
DS:Import:GAUGE:600:0:10 \<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
DS:NoImport:GAUGE:600:0:10 \<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
RRA:AVERAGE:0.5:1:600 \<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
RRA:AVERAGE:0.5:6:700 \<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
RRA:AVERAGE:0.5:24:775 \<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
RRA:AVERAGE:0.5:288:800 \<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
</span>RRA:MAX:0.5:1:600 \<o:p></o:p></p>
<p class=MsoNormal>
RRA:MAX:0.5:6:700 \<o:p></o:p></p>
<p class=MsoNormal>
RRA:MAX:0.5:24:775
\<o:p></o:p></p>
<p class=MsoNormal>
<span lang=EN-US>RRA:MAX:0.5:288:800<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US>This seem to be OK…. When I update
the RRD, I use:<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US>rrdtool update
/var/www/html/tsm/rrd/$1-processes.rrd -t
BackupDisk:NoBackupDisk:BackupVTape:NoBackupVTape:BackupDisk:NoBackupDisk:ReclaimVTape:NoReclaimVTape:ReclaimTape:NoReclaimTape:ReclaimCopy:NoReclaimCopy:Migration:NoMigration:Expiration:NoExpiration:FullDbBackup:NoFullDbBackup:IncrDbBackup:NoIncrDbBackup:Export:NoExport:Import:NoImport
N:0:1:0:1:1:0:0:1:0:1:0:1:0:1:0:1:0:1:0:1:0:1:0:1<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US>But when doing a rrdtool dump of the RRD
file, I search for the data I insert – and now it looks like:<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
<!-- 2010-06-24 17:20:00 CEST / 1277392800 --> <row><v>
1.0000000000e+00 </v><v> 0.0000000000e+00 </v><v>
0.0000000000e+00 </v><v> 1.0000000000e+00 </v><v> NaN
</v><v> NaN </v><v> 0.0000000000e+00
</v><v> 1.0000000000e+00 </v><v> 0.0000000000e+00
</v><v> 1.0000000000e+00 </v><v> 0.0000000000e+00
</v><v> 1.0000000000e+00 </v><v> 0.0000000000e+00
</v><v> 1.0000000000e+00 </v><v> 0.0000000000e+00
</v><v> 1.0000000000e+00 </v><v> 0.0000000000e+00
</v><v> 1.0000000000e+00 </v><v> 0.0000000000e+00 </v><v>
1.0000000000e+00 </v><v> 0.0000000000e+00 </v><v>
1.0000000000e+00 </v><v> 0.0000000000e+00 </v><v>
1.0000000000e+00 </v></row><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US>So – for some weird reason the value for
BackupDisk is set to 1 in the RRD file – even though I specified the order and
the value – so that it actually should be 0 … and vice-versa for the value
NoBackupDisk<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US>What am I doing wrong ? Or is this a bug ??<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Regards<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Brian<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
</div>
</body>
</html>