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

Dulac, Daniel (Dan) ddulac at aprisma.com
Tue Oct 19 17:47:36 MEST 2004


Thanks for everyone's help...I got it (thanks Richard)!  I wasn't setting
--units-exponent equal to a value.  All I had to do was fix my statement to
look like:

"--units-exponent=6" (instead of "--units-exponent 6")

Thanks for the help!!!!!

Best Regards,

DanD.
-----Original Message-----
From: Warnes, Jason SktnHR [mailto:jason.warnes at saskatoonhealthregion.ca] 
Sent: Tuesday, October 19, 2004 11:43 AM
To: 'Dulac, Daniel (Dan)'; rrd-users at list.ee.ethz.ch
Subject: RE: [rrd-users] rrds::graph --units-exponent bug?

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