Xymon Mailing List Archive search

SPLITNCV and graphs

list dOCtoR MADneSs
Fri, 08 May 2009 13:56:47 +0200
Message-Id: <user-3f8d7dece168@xymon.invalid>

Gatis A. a écrit :
Hi,

How can I get SPLITNCV data to be drawn in seperate graphs not in one.

For isntance I am going to track:

value1 : a
value2 : b
value3 : c
valuex : x
(count of "values" will change randomly)

then i will get following rrd files (each tracking one value)

test,value1.rrd
test,value2.rrd
test,value3,rrd
test,valuex,rrd

and with following hobbitgraph definition

[test]
        FNPATTERN test,value(.*).rrd
        TITLE test
        YAXIS TEST
        DEF:p at RRDIDX@=@RRDFN@:lanbda:AVERAGE
        LINE1:p at RRDIDX@#@COLOR@:@RRDPARAM@ aa

I am getting one graph with three(or more) lines, but I want to get
three(or more) seperate graphs with one line each.

Thanks!

--
Gatis

Hi,

You could define graphs as it :
[value1]
   TITLE Whatever you want
 YAXIS value1_data_type
 DEF:VALUE1=test,value1.rrd:lambda:AVERAGE
 LINE1:VALUE1#000088:value1_data_type

repeat the operation for each test,valueX.rrd file