[rrd-users] Using RPN variables in the RRD graph title label: simple yes or no answer
A Darren Dunham
ddunham at taos.com
Sat Nov 13 01:18:18 CET 2010
On Fri, Nov 12, 2010 at 02:47:31PM -0800, Rob Newman wrote:
> Is it possible to take one of these values and use it in the graph's
> title or GPRINT label?
I don't think so.
> Obviously my pseudocode will fail and just output the string 'dtfoo',
> but can I substitute it in somehow? My users need to know the max
> value that is being used to calibrate all the other values in the
> graph.
What I would do is run the graph twice. Once with a "PRINT" to ship the
data back to the script calling rrdgraph. I'd capture the data and then
call rrdgraph a second time, this time filling in the --title.
--
Darren
More information about the rrd-users
mailing list