[rrd-users] Perl RRDs module: add second Y axe does not work ?

Thomas Parvais tparvais at gmail.com
Sun Nov 25 22:30:25 CET 2012


I would like to add a second Y axe at the right with another scale with 
the following PERL code. (using RRDs module)

Unfortunately, it does not work the script stops on the argument 
"--right-axis 20:0"

Using RRDtool package 1.3.1 for my sheevaplug

Any idea ?

Thank you


Perl script extract:

			"--start=end-$_[2] ",
			"--end=now  ",
			"--width=500 ",
			"--height=200 -j ",
			"--title=$_[1] ",
			"--vertical-label=Watt ",
			"--lower-limit=0 ",
			"--right-axis 20:0",
			"LINE2:Watt#0000FF:Puissance instantanee",
			"LINE1:mean#A00000:Puissance moyenne $_[5]:",
			"LINE3:euro#F000FF:Depense euro",
			"GPRINT:WattHour:Consommation totale\\:%3.2lf%sWh",
			"GPRINT:Watt:LAST:      Puissance Instantanee\\:%3.2lf%sW\\j",	

More information about the rrd-users mailing list