[rrd-users] Attempting to reuse
Ben Lentz
blentz at channing-bete.com
Thu Jun 23 19:38:46 MEST 2005
Greetings,
I am getting the following error while using RRDs::update: Attempting to
reuse 'ds name'.
I have googled, searched, tutorialed, and manpaged, and cannot find any
reference to this error that is meaningful. There is probably a problem
with how I've created the database, as I am a noob to rrdtool and barely
know what I'm doing. You all might be able to tell what I'm trying to
accomplish from this bit of code:
use warnings;
use strict;
use File::Tail;
use RRDs;
--snip--
my $daemon_rrd = "saplugingraph.rrd";
my @types = qw(RAZOR2_CHECK PYZOR_CHECK DCC_CHECK SPF_FAIL);
my $interval = 60;
RRDs::create($daemon_rrd, "--start", time(), "--step", $interval,
(map { "DS:$_:ABSOLUTE:".($interval*2).":0:U" }
@types),
"RRA:AVERAGE:0.5:1:198",
"RRA:AVERAGE:0.5:7:198",
"RRA:AVERAGE:0.5:31:198",
"RRA:AVERAGE:0.5:365:198",
"RRA:MAX:0.5:1:198",
"RRA:MAX:0.5:7:198",
"RRA:MAX:0.5:31:198",
"RRA:MAX:0.5:365:198"
);
--snip--
Then, doing something like "RRDs::update($daemon_rrd,
"1119540124:13:26:65:39");" produces "Attempting to reuse
'RAZOR2_CHECK'" in RRDs::Error
--
Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive http://lists.ee.ethz.ch/rrd-users
WebAdmin http://lists.ee.ethz.ch/lsg2.cgi
More information about the rrd-users
mailing list