Yesterday Chris Majewski wrote:
>
> Folks
> I'm unable to create an rrd with RRDs::create under rrdtool 1.0.35.
> I'm doing this:
>
> my @createParams = ($compareRRD,
> '--start',
> $fromTime,
> '--end',
> $untilTime,
> "DS:@$names[0]:GAUGE:400:U:U",
> "RRA:AVERAGE:0.5:1:300");
> RRDs::create(@createParams);
> if ($error ne '') { # something bombed
> warn("RRDs error: ", RRDs::error);
> }
>
> I don't get any RRDs error, and yet the file is not created.
> If I create the file beforehand with sysopen(), I end up with an empty
> file. What's up?
the error test must be
my $error = RRDs::error;
warn "ERROR: $error\n" if $error;
tobi
>
> -chris
>
>
>
>
> --
> Unsubscribe mailto:[EMAIL PROTECTED]
> Help mailto:[EMAIL PROTECTED]
> Archive http://www.ee.ethz.ch/~slist/rrd-users
> WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
>
--
______ __ _
/_ __/_ / / (_) Oetiker, OETIKER+PARTNER AG, Gallusstrasse 25
/ // _ \/ _ \/ / CH-4600 Olten, phoneto:+41(0)62 213 9909
/_/ \.__/_.__/_/ [EMAIL PROTECTED] http://google.com/search?q=tobi
--
Unsubscribe mailto:[EMAIL PROTECTED]
Help mailto:[EMAIL PROTECTED]
Archive http://www.ee.ethz.ch/~slist/rrd-users
WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi