how to add new ds into existing RRD file

2 messages Options
Embed this post
Permalink
Vinit Prajapati () how to add new ds into existing RRD file
Reply Threaded More More options
Print post
Permalink
Respected,
  
   I want to add New ds into existing RRD file. I have dump old file than using rrdAddDS.pl file
i tried to insert new ds and than after restoring data from previous file, it runs well.  my commands are as follows

# /usr/local/bin/rrdtool dump wan-queues.rrd > backup.xml
# ./rrdAddDS.pl backup.xml test1 > new_backup.xml
# /usr/local/bin/rrdtool restore new_backup.xml wan-queues.rrd
Segmentation fault (core dumped)


But no previous data is displayed when i am generating graph from this rrd.

Please help me. All suggestion will be appreciated.

THanks in advance.

Cheers,
Vinit


_______________________________________________
mrtg-developers mailing list
[hidden email]
https://lists.oetiker.ch/cgi-bin/listinfo/mrtg-developers
S Shipway () RE: [mrtg-developers] how to add new ds into existing RRD file
Reply Threaded More More options
Print post
Permalink
Some javascript/style in this post has been disabled (why?)
Which version of rrdtool are you using?  It should not be possible to get a segmentation fault even with a corrupt XML file, so possibly you have a buggy version.  Try and upgrade RRDtool to the latest version in your branch if possible, this may fix the problem.
Otherwise if you can send me a copy of the XML file then I can have a go at loading it here (we use RRDtool 1.3.6)
Steve
 

From: Vinit Prajapati (via Nabble) [ml-user+[hidden email]]
Sent: Sunday, 19 July 2009 12:23 a.m.
To: Steve Shipway
Subject: [mrtg-developers] how to add new ds into existing RRD file

Respected,
  
   I want to add New ds into existing RRD file. I have dump old file than using rrdAddDS.pl file
i tried to insert new ds and than after restoring data from previous file, it runs well.  my commands are as follows

# /usr/local/bin/rrdtool dump wan-queues.rrd > backup.xml
# ./rrdAddDS.pl backup.xml test1 > new_backup.xml
# /usr/local/bin/rrdtool restore new_backup.xml wan-queues.rrd
Segmentation fault (core dumped)


But no previous data is displayed when i am generating graph from this rrd.

Please help me. All suggestion will be appreciated.

THanks in advance.

Cheers,
Vinit


_______________________________________________
mrtg-developers mailing list
mrtg-developers@...
https://lists.oetiker.ch/cgi-bin/listinfo/mrtg-developers