[rrd-users] Re: rrds::graph --units-exponent bug?

Warnes, Jason SktnHR jason.warnes at saskatoonhealthregion.ca
Tue Oct 19 17:43:14 MEST 2004


What does you're RRDs::graph statement look like?  Here is an example of one
of mine that I do have the unit-exponent option working:

RRDs::graph($rrddir.$deviceid.$path_sep."CPU".$cpu.".24-hours.gif",
		"--start=-86400",
		"--width=525",
		"--height=100",
		"--lower-limit=0",
		"--units-exponent=0",
		"--vertical-label=\%",
		"--title=CPU \#$cpu Utilization for
".$device{$deviceid."-DESC"}." (Last 24 hours)",
	
"DEF:cpu_util=".$rrddir.$deviceid.$path_sep."CPU".$cpu.".rrd:cpu_util:MAX",
		"LINE1:cpu_util\#00FF00:CPU Utilization\\c",
		"COMMENT:Graph generated on $readable_time\\c",
		"COMMENT:Samples are taken every $delay seconds.\\l");

Jason...


-----Original Message-----
From: rrd-users-bounce at list.ee.ethz.ch
[mailto:rrd-users-bounce at list.ee.ethz.ch] On Behalf Of Dulac, Daniel (Dan)
Sent: Tuesday, October 19, 2004 8:31 AM
To: rrd-users at list.ee.ethz.ch
Subject: [rrd-users] rrds::graph --units-exponent bug?


Hi All,
 

I'm running rrdtool 1.0.48 and using the RRDs perl-module in a script.
Everything works great except I can't get the "-units-exponent" option to
work properly.  I've also tried "-X" with the same negative results.
Essentially, RRDs::graph doesn't see either one of these graph options as
valid options.  The RRDs::error() output is the following:

 

RRDs::graph Error: unknown option '--units-exponent 6'

 

RRDs::graph Error: unknown option 'X'

 

When I use either one of these options at the command-prompt using
"rrdtool.exe graph <graph options>", it works fine.  I just can't get it to
work with RRDs.pm.

Has anyone else seen this?  I just want to make sure this is a bug and not
me. ;-)

 

Regards,

 

Dan

 




--
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

--
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