Configuration - Customgraphs
The customgraphs
directory contains files which define graphs which
aren't associated with a specific host. They are very like a graph
defined on an rrd. They do have a times
line preceeding the graph definition, to set the time-periods for that
graph. They are linked in under the Custom Index
.
Note that the graph definition itself must be indented, like rrd graphs.
As an example:
times day yesterday week 3month year
--upper-limit 100 --lower-limit 0 --rigid
--vertical-label 'CPU %'
--title 'CPU Usage (##GRAPHTIME##)'
DEF:silverlockuser=##DATADIR##/silverlock.dgim.crc.ca/cpu.rrd:user:AVERAGE
DEF:silverlocksys=##DATADIR##/silverlock.dgim.crc.ca/cpu.rrd:system:AVERAGE
DEF:loisuser=##DATADIR##/lois.dgim.crc.ca/cpu.rrd:user:AVERAGE
DEF:loissys=##DATADIR##/lois.dgim.crc.ca/cpu.rrd:system:AVERAGE
CDEF:silverlock=silverlockuser,silverlocksys,+
CDEF:lois=loisuser,loissys,+
'LINE2:silverlock###COLOR1##:silverlock'
'LINE2:lois###COLOR2##:lois'
Last updated Thu Mar 17 16:58:31 UTC 2005 by <thomas.erskine@sourceworks.com>.
[