Xymon Mailing List Archive search

SPLITNCV and graphs

list David W Gore
Fri, 08 May 2009 14:01:43 +0000
Message-Id: <user-d0ad946ee469@xymon.invalid>

-----Original Message-----
From: dOCtoR MADneSs [mailto:user-d54077869176@xymon.invalid] Sent: Friday, May 08, 2009 11:57
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] SPLITNCV and graphs

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
   
I have static entries, so I wouldn't mind seeing someone's working example because I still cannot get this to work.  I am using xymon 4.2.3 on a Redhat box, RRD 1.2.30.  
I can also see that SPLITNCV is some how extracting a line out of my status message in addition to my data message which is a bit odd?  Perhaps it extracts the data out of the status message and NOT the data message so perhaps I am just confused?  
The line it is extracting out of the status message is in the form: '&green 0 blah blah...'.  There is another line above that in the same format that it ignores so it is odd?

It creates an rrd like this:

<test/column name>,74_blah_blah...blah_blah.rrd

~David