Cacti magically started showing the recent data, even though 'rrdtool dump' 
shows dates that are quite wrong.  I'm wondering nfsen breaking is related...

-Steve S.

-----Original Message-----
From: owner-m...@openbsd.org [mailto:owner-m...@openbsd.org] On Behalf Of 
Steven Surdock
Sent: Thursday, October 9, 2014 2:41 PM
To: misc@openbsd.org
Subject: rrdtool troubles after 5.4->5.5 upgrade

As required for the upgrade I exported all my rrd's and they appear correct, 
but when I performed a 'restore' on the upgraded 5.5 system the dates appeared 
to become advanced by 136 years.

These are for Cacti and interestingly, cacti shows graphs for the old data, but 
not for data collected after the upgrade.  The rrd's are being updated, but 
with a recent date.


--------------5.4 EXPORTED RRD-------------
<!-- Round Robin Archives -->   <rra>
                <cf> AVERAGE </cf>
                <pdp_per_row> 1 </pdp_per_row> <!-- 300 seconds -->

                <params>
                <xff> 5.0000000000e-01 </xff>
                </params>
                <cdp_prep>
                        <ds>
                        <primary_value> 6.0147896722e+02 </primary_value>
                        <secondary_value> NaN </secondary_value>
                        <value> NaN </value>
                        <unknown_datapoints> 0 </unknown_datapoints>
                        </ds>
                        <ds>
                        <primary_value> 2.1042432308e+02 </primary_value>
                        <secondary_value> NaN </secondary_value>
                        <value> NaN </value>
                        <unknown_datapoints> 0 </unknown_datapoints>
                        </ds>
                </cdp_prep>
                <database>
                        <!-- 2014-10-07 06:50:00 EDT / 1412679000 --> <row><v> 
1.6942546263e+02 </v><v> 1.0782825095e+02 </v></row>
                        <!-- 2014-10-07 06:55:00 EDT / 1412679300 --> <row><v> 
1.3230701552e+02 </v><v> 8.5905507986e+01 </v></row>
                        <!-- 2014-10-07 07:00:00 EDT / 1412679600 --> <row><v> 
1.5090053841e+03 </v><v> 5.1040593693e+02 </v></row>
                        <!-- 2014-10-07 07:05:00 EDT / 1412679900 --> <row><v> 
4.3326648631e+02 </v><v> 1.7794450478e+02 </v></row>
                        <!-- 2014-10-07 07:10:00 EDT / 1412680200 --> <row><v> 
5.0533918152e+01 </v><v> 6.0539432673e+01 </v></row>
                        <!-- 2014-10-07 07:15:00 EDT / 1412680500 --> <row><v> 
6.0977588814e+01 </v><v> 6.1744402908e+01 </v></row>
                        <!-- 2014-10-07 07:20:00 EDT / 1412680800 --> <row><v> 
5.0497766741e+01 </v><v> 8.6521608203e+01 </v></row>
                        <!-- 2014-10-07 07:25:00 EDT / 1412681100 --> <row><v> 
5.5865600000e+01 </v><v> 6.6604500000e+01 </v></row>
                        <!-- 2014-10-07 07:30:00 EDT / 1412681400 --> <row><v> 
4.1272303359e+01 </v><v> 5.2785814360e+01 </v></row>

--------------5.5 RESTORED then EXPORTED RRD-------------
        <!-- Round Robin Archives -->
        <rra>
                <cf>AVERAGE</cf>
                <pdp_per_row>1</pdp_per_row> <!-- 300 seconds -->

                <params>
                <xff>5.0000000000e-01</xff>
                </params>
                <cdp_prep>
                        <ds>
                        <primary_value>6.0147896722e+02</primary_value>
                        <secondary_value>NaN</secondary_value>
                        <value>NaN</value>
                        <unknown_datapoints>0</unknown_datapoints>
                        </ds>
                        <ds>
                        <primary_value>2.1042432308e+02</primary_value>
                        <secondary_value>NaN</secondary_value>
                        <value>NaN</value>
                        <unknown_datapoints>0</unknown_datapoints>
                        </ds>
                </cdp_prep>
                <database>
                        <!-- 2150-11-13 12:18:16 EST / 5707646296 --> 
<row><v>1.6942546263e+02</v><v>1.0782825095e+02</v></row>
                        <!-- 2150-11-13 12:23:16 EST / 5707646596 --> 
<row><v>1.3230701552e+02</v><v>8.5905507986e+01</v></row>
                        <!-- 2150-11-13 12:28:16 EST / 5707646896 --> 
<row><v>1.5090053841e+03</v><v>5.1040593693e+02</v></row>
                        <!-- 2150-11-13 12:33:16 EST / 5707647196 --> 
<row><v>4.3326648631e+02</v><v>1.7794450478e+02</v></row>
                        <!-- 2150-11-13 12:38:16 EST / 5707647496 --> 
<row><v>5.0533918152e+01</v><v>6.0539432673e+01</v></row>
                        <!-- 2150-11-13 12:43:16 EST / 5707647796 --> 
<row><v>6.0977588814e+01</v><v>6.1744402908e+01</v></row>
                        <!-- 2150-11-13 12:48:16 EST / 5707648096 --> 
<row><v>5.0497766741e+01</v><v>8.6521608203e+01</v></row>
                        <!-- 2150-11-13 12:53:16 EST / 5707648396 --> 
<row><v>5.5865600000e+01</v><v>6.6604500000e+01</v></row>


-Steve S.

Reply via email to