[rrd-users] Problems with rrd update on RRD database
    Brian Ipsen 
    bipsen at andebakken.dk
       
    Thu Jun 24 17:33:21 CEST 2010
    
    
  
Hi
 
 Found the bug - in the list of orders (template) ,,,,, I'll try again J
 
/Brian
 
 
From: Brian Ipsen [mailto:bipsen at andebakken.dk] 
Sent: 24. juni 2010 17:24
To: 'rrd-users at lists.oetiker.ch'
Subject: Problems with rrd update on RRD database
 
Hi
 
 I'm having a very strange issue with a RRD database.
 
The database is created using:
 
            rrdtool create file.rrd -b `date +%s` -s 300 \
            DS:BackupDisk:GAUGE:600:0:10 \
            DS:NoBackupDisk:GAUGE:600:0:10 \
            DS:BackupVTape:GAUGE:600:0:10 \
            DS:NoBackupVTape:GAUGE:600:0:10 \
            DS:BackupTape:GAUGE:600:0:10 \
            DS:NoBackupTape:GAUGE:600:0:10 \
            DS:ReclaimVTape:GAUGE:600:0:10 \
            DS:NoReclaimVTape:GAUGE:600:0:10 \
            DS:ReclaimTape:GAUGE:600:0:10 \
            DS:NoReclaimTape:GAUGE:600:0:10 \
            DS:ReclaimCopy:GAUGE:600:0:10 \
            DS:NoReclaimCopy:GAUGE:600:0:10 \
            DS:Migration:GAUGE:600:0:10 \
            DS:NoMigration:GAUGE:600:0:10 \
            DS:Expiration:GAUGE:600:0:10 \
            DS:NoExpiration:GAUGE:600:0:10 \
            DS:FullDbBackup:GAUGE:600:0:10 \
            DS:NoFullDbBackup:GAUGE:600:0:10 \
            DS:IncrDbBackup:GAUGE:600:0:10 \
            DS:NoIncrDbBackup:GAUGE:600:0:10 \
            DS:Export:GAUGE:600:0:10 \
            DS:NoExport:GAUGE:600:0:10 \
            DS:Import:GAUGE:600:0:10 \
            DS:NoImport:GAUGE:600:0:10 \
            RRA:AVERAGE:0.5:1:600 \
            RRA:AVERAGE:0.5:6:700 \
            RRA:AVERAGE:0.5:24:775 \
            RRA:AVERAGE:0.5:288:800 \
            RRA:MAX:0.5:1:600 \
            RRA:MAX:0.5:6:700 \
            RRA:MAX:0.5:24:775 \
            RRA:MAX:0.5:288:800
 
This seem to be OK.. When  I update the RRD, I use:
 
rrdtool update /var/www/html/tsm/rrd/$1-processes.rrd -t
BackupDisk:NoBackupDisk:BackupVTape:NoBackupVTape:BackupDisk:NoBackupDisk:Re
claimVTape:NoReclaimVTape:ReclaimTape:NoReclaimTape:ReclaimCopy:NoReclaimCop
y: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
 
But when doing a rrdtool dump of the RRD file, I search for the data I
insert - and now it looks like:
 
                        <!-- 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>
 
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
 
What am I doing wrong ? Or is this a bug ??
 
Regards
Brian
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.oetiker.ch/pipermail/rrd-users/attachments/20100624/3c643c7f/attachment.htm 
    
    
More information about the rrd-users
mailing list