Include graph only in trends column

W.J.M. Nelis nelis at nlr.nl
Tue Apr 21 12:56:58 CEST 2009


Hello,

For a few servers, we would like to add one graph to the trends column 
only, a graph showing the total disk space used at that server. An 
additional graph definition is created to build the sum of the used 
space on (a subset of) the disks:

[disktua]
        TITLE Total disk usage
        YAXIS Disk space used [B]
        DEF:d0=disk,shared,asd,pool0001.rrd:used:AVERAGE
        DEF:d1=disk,shared,asd,pool0002.rrd:used:AVERAGE
        DEF:d2=disk,shared,asd,pool0003.rrd:used:AVERAGE
        DEF:d3=disk,shared,asd,pool0004.rrd:used:AVERAGE
        DEF:d4=disk,shared,asd,pool0005.rrd:used:AVERAGE
        DEF:d5=disk,shared,asd,pool0006.rrd:used:AVERAGE
        CDEF:tdu=d0,d1,+,d2,+,d3,+,d4,+,d5,+,1024,*
        LINE1:tdu#00CC00:Total
        GPRINT:tdu:MIN:Min\: %5.1lf %sB
        GPRINT:tdu:MAX:Max\: %5.1lf %sB
        GPRINT:tdu:AVERAGE:Avg\: %5.1lf %sB
        GPRINT:tdu:LAST:Cur\: %5.1lf %sB\n

If the configuration for this server in bb-hosts is modified to contain
        TRENDS:*,disk:disk|disk1|disktua
the graph is shown. However, as there are three graphs to show both 
"disk" and "disk1", there are one graph and two links visible for 
"disktua". This result in understandable, but it does not look nice.

If the configuration for this server is modified to contain
        TRENDS:*,disk:disk|disk1,disktua
graph "disktua" is not shown at all.

Is there a way to include a graph in the trends column only?

Kind regards,
  Wim Nelis.



*******************************************************************************************************
The NLR disclaimer (http://www.nlr.nl/emaildisclaimer) is valid for NLR e-mail messages.
*******************************************************************************************************




More information about the Xymon mailing list