[rrd-users] RRDs::Create problem, in Cricket
Flowers, Jay
Jay_Flowers at CHCSII.COM
Tue May 14 15:54:05 MEST 2002
I am trying to use Cricket. I get this error <error>Cannot create: can't
parse argument 'DS:ds24:COMPUTE:ds4,ds3,/'</error>.
I was not aware of DERIVE or COMPUTE, and there are not in the manual.
Here is a small script that illustrates the problem I tracked down while
debugging the cricket scripts.
<script>
use RRDs;
RRDs::create (
"/installations/cricket-1.0.3/cricket-config/cricket-data/perfmon/jayflowers
.rrd",
"DS:ds0:DERIVE:1800:0:1288490188500",
"DS:ds1:DERIVE:1800:0:1288490188500",
"DS:ds2:GAUGE:1800:0:1288490188500",
"DS:ds3:GAUGE:1800:0:1288490188500",
"DS:ds4:GAUGE:1800:0:1288490188500",
"DS:ds5:DERIVE:1800:0:1288490188500",
"DS:ds6:DERIVE:1800:0:1288490188500",
"DS:ds7:DERIVE:1800:0:1288490188500",
"DS:ds8:DERIVE:1800:0:1288490188500",
"DS:ds9:DERIVE:1800:0:1288490188500",
"DS:ds10:GAUGE:1800:0:1288490188500",
"DS:ds11:GAUGE:1800:0:1288490188500",
"DS:ds12:GAUGE:1800:0:1288490188500",
"DS:ds13:GAUGE:1800:0:1288490188500",
"DS:ds14:GAUGE:1800:0:1288490188500",
"DS:ds15:GAUGE:1800:0:1288490188500",
"DS:ds16:DERIVE:1800:0:1288490188500",
"DS:ds17:DERIVE:1800:0:1288490188500",
"DS:ds18:DERIVE:1800:0:1288490188500",
"DS:ds19:GAUGE:1800:0:1288490188500",
"DS:ds20:GAUGE:1800:0:1288490188500",
"DS:ds21:GAUGE:1800:0:1288490188500",
"DS:ds22:GAUGE:1800:0:1288490188500",
"DS:ds23:GAUGE:1800:0:1288490188500",
"DS:ds24:COMPUTE:ds4,ds3,/",
"DS:ds25:COMPUTE:ds5,ds1,/",
"DS:ds26:COMPUTE:ds6,ds1,/",
"DS:ds27:COMPUTE:ds7,ds1,/",
"DS:ds28:COMPUTE:ds8,ds1,/",
"DS:ds29:COMPUTE:ds9,ds0,ds2,/,/",
"DS:ds30:COMPUTE:ds11,ds10,/",
"DS:ds31:COMPUTE:ds13,ds12,/",
"DS:ds32:COMPUTE:ds15,ds14,/",
"DS:ds33:COMPUTE:ds16,ds0,ds2,/,/",
"DS:ds34:COMPUTE:ds17,ds0,ds2,/,/",
"DS:ds35:COMPUTE:ds18,ds0,ds2,/,/",
"RRA:AVERAGE:0.5:1:600",
"RRA:AVERAGE:0.5:6:600",
"RRA:AVERAGE:0.5:24:600",
"RRA:MAX:0.5:24:600",
"RRA:AVERAGE:0.5:288:600",
"RRA:MAX:0.5:288:600"
);
if (my $error = RRDs::error()) {
print "Cannot create: $error\n";
}
</script>
Thanks
Jay Flowers
Integic
Health Care
--
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://www.ee.ethz.ch/~slist/rrd-users
WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
More information about the rrd-users
mailing list