[Xymon] Multiple RRD graphs and text instance

Henrik Størner henrik at hswn.dk
Mon Aug 6 11:24:24 CEST 2012


On 06-08-2012 10:45, Joel Carnat wrote:
> When creating custom graph from multiple RRD, every GPRINT and COMMENT are repeated for each FNPATTERN.
> Is there a way to have text only written once.

It should only print once, but it depends on where you put it in the 
graph-definition.

> Something like:
> 	(...)
> 	COMMENT:@RRDPARAM@ title
> 	GPRINT:val at RRDIDX@:LAST:%4.0lf
> 	GPRINT:val at RRDIDX@:MIN:%4.0lf
> 	GPRINT:val at RRDIDX@:MAX:%4.0lf
> 	GPRINT:val at RRDIDX@:AVERAGE:%4.0lf\l
> 	COMMENT:Last comment written only once

Should be OK, if you write it *after* all of the DEF/CDEF/LINE/AREA 
definitions.

At least, that is how I think it works. Please post the full graphs.cfg 
definition.


Regards,
Henrik




More information about the Xymon mailing list