Xymon Mailing List Archive search

Xymon:Sum graphs from different host and display as single graph

1 message in this thread

list Vivek j · Tue, 9 Jul 2013 00:26:49 -0700 (PDT) ·
Hi,

Am using xymon version 4.2.3

I need to sum two graphs of different host and display as single graph.

added below entry in graph.cfg 

[webgraph]
        TITLE Statistics for all services
        YAXIS Statistics
        DEF:Total=webgraph.rrd:Total:AVERAGE
        -l 0
        AREA:Total#736AFF:Total
        COMMENT:\n
        GPRINT:Total:LAST:Total                    \: %5.1lf%s (cur)
        GPRINT:Total:MAX: \: %5.1lf%s (max)
        GPRINT:Total:MIN: \: %5.1lf%s (min)
        GPRINT:Total:AVERAGE: \: %5.1lf%s (avg)\n


[combined]
        TITLE  Consolidated Statistics for all services
        YAXIS Statistics
        DEF:Total1=/home/xymon/data/rrd/host1/webgraph.rrd:Total:AVERAGE
        DEF:Total2=/home/xymon/data/rrd/host2/webgraph.rrd:Total:AVERAGE
        CDEF:sum=Total1,Total2,+
        -l 0
        AREA:Total#736AFF:Total
        COMMENT:\n
        GPRINT:Total:LAST:Total             \: %5.1lf%s (cur)
        GPRINT:Total:MAX: \: %5.1lf%s (max)
        GPRINT:Total:MIN: \: %5.1lf%s (min)
        GPRINT:Total:AVERAGE: \: %5.1lf%s (avg)\n

 
added the below entry in hobbitserver.cfg

GRAPHS=",combined"

NCV_combined="*:GAUGE"

Am not geting the graph. Please help.

Thanks & Regards
Sabari.


"If we only concentrate on the cup,we won't have time to enjoy/taste the water in it."     
 -Mother Teresa