[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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." <gatis.anee (at) gmail.com>
To: <hobbit (at) hswn.dk>
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@= (at) RRDFN@:lanbda:AVERAGE
       LINE1:p (at) RRDIDX@# (at) 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

To unsubscribe from the hobbit list, send an e-mail to
hobbit-unsubscribe (at) hswn.dk