Closed oetiker closed 12 years ago
[oetiker] Sierre,
make sure you are using rrdtool 1.2.12 ... there is much less dieing there ...
cheers tobi
[Sierra] Thanks for your answer, but I'm in trouble again. After install of rrdtool-1.2.12 there are the same problems - after ERROR: unknown DS name or ERROR: illegal attempt to update using time
my programm was terminate after RRDp::read.
[oetiker] Hi Sierra
ah now I see what your problem is, RRDp.pm find the ERROR and dies. This is fixed in [752]. please check it out.
Hi Tobi,
I've got trouble with RRDp.pm. I use a script like:
RRDp::start
while(1) {
...
run_rrd($command);
...
}
RRDp::end
sub runrrd { RRDp::cmd @; $answer = RRDp::read; print $answer; }
If there is an error like ERROR: illegal attempt to update using time ..., RRD terminates my program with this message. Why? I'd like to received this message (that's important for me) but my program must go on.
If my sub look's like
sub rrdrun { RRDp::start;
RRDp::cmd @ ;
RRDp::end;
}
then I've no problems and no error message too. But with every $command I must run RRDp::start and RRDp::end and so my performance falls.
Thanks Sierra
PS: Excuse me, but your display has got problems with ::, or hasn't it?