|
View:
New views
2 Messages
—
Rating Filter:
Alert me
|
|
|
Segfault updating rrd databases with hot winter RRADear 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; } _______________________________________________ rrd-users mailing list rrd-users@... https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users |
|
|
Re: Segfault updating rrd databases with hot winter RRAHi Pascal,
Today Pascal Béringuié wrote: > 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. so chances are that the bug is gone there ... if you can supply a complete test script I will be glad to investigate tobi > > Best regards. > -- Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten http://it.oetiker.ch tobi@... ++41 62 775 9902 _______________________________________________ rrd-users mailing list rrd-users@... https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users |
| Free Forum Powered by Nabble | Forum Help |