Hmmm.... yes, I've just tried testing this on a SPLITNCV test, and am seeing
what you describe. I do get single lines per graph on the specific test
display for custom script handling though. From brief perusal of the
sources, I've not yet found why it's different between custom script and
standard NCV handling.
(Scratching head smiley)
Graham
----- Original Message -----
From: "Gore, David W" <user-3e5761c68b56@xymon.invalid>
To: <user-ae9b8668bcde@xymon.invalid>
Sent: Friday, May 08, 2009 4:39 PM
Subject: RE: [hobbit] SPLITNCV and graphs
-----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