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

RE: [hobbit] SPLITNCV and graphs



> -----Original Message-----
> From: dOCtoR MADneSs [mailto:doctor (at) makelofine.org] 
> Sent: Friday, May 08, 2009 11:57
> To: hobbit (at) hswn.dk
> 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@= (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
> >
> >
> >   
> 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