Dear all

I have some problems to update rrd databases with Holt winter RRAs.
I use RRDs perl module and rrdtool version is 1.2.27. I have the same problem with older versions of rrdtool. I joined to this email an example of rrd database that causes the problem. I also joined the small perl script I use to update it.

./update_base.pl test.rrd updating test.rrd 1213282050:1300
updating test.rrd 1213282080:1300
updating test.rrd 1213282110:1300
updating test.rrd 1213282140:1300
updating test.rrd 1213282170:1300
Segmentation fault

If the problem is known and if you have a solution to avoid it (like changing holt winter parameters for example: seasonnal period) or better if a correction exists, thank you to give me the solution.
I would be very happy to use holt winter with my rrd databases.

Best regards.
#!/usr/bin/perl
package WOO::Sophia::RRDmagick;

use lib '/ADMIN/PROG/SNMPG/modules';

use strict;

use Data::Dumper;
use RRDs;
use POSIX;
use File::Basename;
use WOO::Sophia::DEBUG;


my $destination = $ARGV[0];
my $timestamp = 1213282050;
while($timestamp < 1223282080)
{
        print "updating $destination $timestamp:1300\n";
        RRDs::update($destination, "$timestamp:1300");
        #my $ERR=RRDs::error;
        my $ERR="";
        print "$ERR\n" if($ERR);
        $timestamp += 30; 
}

Attachment: test.rrd.gz
Description: application/gzip

_______________________________________________
rrd-users mailing list
[email protected]
https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users

Reply via email to