<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=iso-8859-1"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@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";
        mso-fareast-language:EN-US;}
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;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Texte de bulles Car";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";
        mso-fareast-language:EN-US;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.TextedebullesCar
        {mso-style-name:"Texte de bulles Car";
        mso-style-priority:99;
        mso-style-link:"Texte de bulles";
        font-family:"Tahoma","sans-serif";}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 70.85pt 70.85pt;}
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=FR link=blue vlink=purple><div class=WordSection1><p class=MsoNormal>Hi,<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><span lang=EN-US>I have a problem with rrdtool dump and restore and the same server (pb was first detected also when converting from 32b to 64b).<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>When I dump a RRD file made by PNP4NAGIOS Disk_space_C.rrd with the command ‘rrdtool dump Disk_space_C.rrd Disk_space_C.rrd.xml’, I get an XML file (Disk_space_C.rrd .xml) with values like that :<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US> <database><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US> <!-- 2012-11-12 12:13:00 CET / 1352718780 --> <row><v> 7.1210000000e+03 </v></row><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US> <!-- 2012-11-12 12:14:00 CET / 1352718840 --> <row><v> 7.1210000000e+03 </v></row><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US> <!-- 2012-11-12 12:15:00 CET / 1352718900 --> <row><v> 7.1210000000e+03 </v></row><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US> <!-- 2012-11-12 12:16:00 CET / 1352718960 --> <row><v> 7.1210000000e+03 </v></row><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US> </span><!-- 2012-11-12 12:17:00 CET / 1352719020 --> <row><v> 7.1210000000e+03 </v></row><o:p></o:p></p><p class=MsoNormal><span lang=EN-US>The values are in MB, and there is 7121 MB free on the server.<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>Then, I restore the XML file with the command ‘rrdtool restore Disk_space_C.rrd.xml Disk_space_C.rrd’, and dump it another time with the same command as above, and get another XML file with values like that :<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US> <database><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US> <!-- 2012-11-12 12:13:00 CET / 1352718780 --> <row><v> 7.0000000000e+00 </v></row><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US> <!-- 2012-11-12 12:14:00 CET / 1352718840 --> <row><v> 7.0000000000e+00 </v></row><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US> <!-- 2012-11-12 12:15:00 CET / 1352718900 --> <row><v> 7.0000000000e+00 </v></row><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US> <!-- 2012-11-12 12:16:00 CET / 1352718960 --> <row><v> 7.0000000000e+00 </v></row><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US> </span><!-- 2012-11-12 12:17:00 CET / 1352719020 --> <row><v> 7.0000000000e+00 </v></row><o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><span lang=EN-US>My problem is that in the new file, the values in the new dump are not the same unit.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>In the first file, the unit is MB. In the second file, it seems to be in GB.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>The RRD files are coming from PNP4NAGIOS.<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>Can you explain me why the units are different ? I expect the second file would be the same as the first !<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Indeed, with the new restore RRD database, I cannot have a good graph because the new values inserted by pnp4nagios come again in MB. So I have old values at 7 and new at 7121.<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>Thanks for your answer.<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 style='mso-fareast-language:FR'>Regards,<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:FR'>------------------------------------------------------------------<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:FR'>Mickael GARNIER | Pôle Projets<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:FR'>10 rue du petit Chatelier - CS 50324 - 44303 Nantes Cedex 3<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:FR'>Standard : +33 (0)2 40 89 89 30 | Mobile : +33 (0)6 52 17 19 44<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:FR'>------------------------------------------------------------------<o:p></o:p></span></p><p class=MsoNormal><o:p> </o:p></p></div></body></html>