Xymon Mailing List Archive search

SPLITNCV and graphs

list Graham Nayler
Fri, 8 May 2009 15:27:26 +0100
Message-Id: <6FA8162AB5814F209823AA9FCB5269BE@gnaylerwork>

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