[Xymon] graphs that use multiple RRD files as input
Steve Brown
sgb at pics.com
Thu Nov 27 21:49:54 CET 2014
I figured this out.
First in cgioptions.cfg I had to add
CGI_SVC_OPTS="... --multigraphs=,disk,inode,qtree,quotas,snapshot,TblSpace,if_load,DBAreas"
Initially I added just my custom "DBAreas" but that broke the others. The html.c code says if mulitgraphs is blank then put "disk...if_load" as defaults but if it isn't blank then those don't get loaded so we have to basically add them back.
Adding the mods to cgioptions.cfg worked to a degree. It was graphing the first 4 of my rrds onto one graph but it was only creating the one graph.
To fix that problem I had to add
<!-- linecount=44-->"
Into the message/text that is sent
Like this
INFO=$INFO\n" <!-- linecount=40 -->"
status $MACHINE.$TEST $COLOR $INFO
Steve
From: Steve Brown
Sent: Wednesday, November 26, 2014 11:10 PM
To: xymon at xymon.com
Subject: graphs that use multiple RRD files as input
I have a graph setup on a custom test that is using multiple RRD files as input. The graph is working but it is combining all the RRDs into a single graph instead of splitting them up like the built in "disk" graphs.
Is there a parameter missing in my graphs.cfg definition or some other place I need to modify in order to have Xymon automatically split the graph up into multiple graphs?
Thanks
Steve
[DBAreas]
FNPATTERN DBAreas,(.*).rrd
TITLE Area Size
YAXIS KB
DEF:kba at RRDIDX@=@RRDFN@:kbarea:AVERAGE
LINE3:kba at RRDIDX@#@COLOR@:Area at RRDPARAM@
GPRINT:kba at RRDIDX@:LAST: \: %5.1lf (cur)
GPRINT:kba at RRDIDX@:MAX: \: %5.1lf (max)
GPRINT:kba at RRDIDX@:MIN: \: %5.1lf (min)
GPRINT:kba at RRDIDX@:AVERAGE: \: %5.1lf (avg)\n
Disk splits into more than 1 graph
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20141127/393247cb/attachment.html>
More information about the Xymon
mailing list