[rrd-users] Using RPN variables in the RRD graph title label: simple yes or no answer

ambipur aolah76 at freemail.hu
Mon May 13 00:04:53 CEST 2013


Hi Rob,

I think the following code is what you have suggested:

	RRDs::graph "/tmp/dummy.png",
		    "-s -1$_[1]",
		    "DEF:mem=$rrd/$_[0].rrd:mem:AVERAGE",
		    "DEF:kernel=$rrd/$_[0].rrd:kernel:AVERAGE",
		    "PRINT:mem:MAX: %5.3lf %3bytes",
		    "PRINT:mem:MIN:      %5.1lf %sbytes",
		    "PRINT:mem:AVERAGE:      %5.3lf %sbytes",
		    "PRINT:mem:LAST:     %5.3lf %sbytes",

		    "PRINT:kernel:MAX:             %5.1lf %sbytes",
		    "PRINT:kernel:MIN:      %5.1lf %sbytes",
		    "PRINT:kernel:AVERAGE:      %5.1lf %Sbytes",
		    "PRINT:kernel:LAST:     %5.1lf %Sbytes";

But how to access the result of the 8 PRINT commands and redirect their
values to perl variables?



--
View this message in context: http://rrd-mailinglists.937164.n2.nabble.com/Using-RPN-variables-in-the-RRD-graph-title-label-simple-yes-or-no-answer-tp5734224p7581000.html
Sent from the RRDtool Users Mailinglist mailing list archive at Nabble.com.



More information about the rrd-users mailing list