Xymon Mailing List Archive search

SPLITNCV and graphs

list David W Gore
Fri, 08 May 2009 15:39:29 +0000
Message-Id: <user-4cdfb5bff5f3@xymon.invalid>

-----Original Message-----
From: Graham Nayler [mailto:user-4eb117b3c67e@xymon.invalid] Sent: Friday, May 08, 2009 14:27
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] SPLITNCV and graphs

I'm doing what you're after using a custom script instead of SPLITNCV, but the two are closely related, and I think this works for what you are doing.

In the file hobbitserver.cfg, add your test name to the GRAPHS entry followed by "::1" i.e.
GRAPHS="la,disk.....,lines,ifmib::1,test::1"

This sets the limit of the number of traces per graph, so set it to "test::2" if e.g. you wanted two traces per graph

BTW, I assume there is a typo in your DEF: line below, it should be lambda not lanbda

Graham

----- Original Message -----
From: "Gatis A." <user-e47f4dceddb4@xymon.invalid>
To: <user-ae9b8668bcde@xymon.invalid>
Sent: Friday, May 08, 2009 10:32 AM
Subject: [hobbit] SPLITNCV and graphs

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
Graham,

Just an FYI, I did find your previous posts very helpful!  I certainly
was able to use something like what Gatis has above to get a single
multi-graph on the specific test column and multiple single graphs under
trends.  But can you get multiple single graphs under the specific test
column?

~David