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

Re: [hobbit] ncv/splitncv question(s)



Wally.nl a écrit :
What do you want, exactly ?

Something impossible probably :)

I want multiple graphs with 2 lines each and I get the feeling that
SPLITNCV is limited to 1 line / graph.

I hope the attached screenshots clarify things. If I send status for just
1 lun there is no problem (attached SingleGraph.jpg), I get a column, RRD
file and working graph. If I send the data for multiple luns I get
multiple columns (attached columns.jpg) instead of a single one (even if I
send it in "lun,<#>" format like 'disk' seems to do). But a bigger issue
is that I don't get any RRD files/graphs if I do that. It appears that the
NCV logic is limited to 1 RRD/graph somehow where I was hoping it would be
as flexible as the disk monitor.

What I would like as an end-result is a single 'lun' column which
'unfolds' like disk into multiple graphs something like the attached
'MultipleMockup.jpg' although I thing that even the graph title is an
issue since it doesn't like parse stuff like @RRDFN@ in the title field.

I _really_ hope someone has some form of solution/workaround/patch/ideas.

Wally.nl
------------------------------------------------------------------------


------------------------------------------------------------------------


------------------------------------------------------------------------

------------------------------------------------------------------------

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

As far as i know, you can have only one graph illustrating a test.
But you can define in your hobbitgraph.cfg several graphs using your rrd files. So you could define like this :

[lun]
FNPATTERN lun(.*).rrd
TITLE LUNs IOPS
YAXIS IOPS
DEF:p (at) RRDIDX@= (at) RRDFN@:lambda:AVERAGE
LINE2:p (at) RRDIDX@# (at) COLOR@:@RRDPARAM@
GPRINT:p (at) RRDIDX@:LAST: \: %5.1lf (cur)
GPRINT:p (at) RRDIDX@:MAX: \: %5.1lf (max)
GPRINT:p (at) RRDIDX@:MIN: \: %5.1lf (min)
GPRINT:p (at) RRDIDX@:AVERAGE: \: %5.1lf (avg)\n

[lun1]
FNPATTERN lun1(.*).rrd
TITLE LUN1 IOPS
YAXIS IOPS
...

then you could define in your hobbitserver.cfg :
GRAPHS="...,lun1,lun2,..."

and finally in bb-hosts :
host IP.AD.DR.ESS # TRENDS:*,lun1,lun2...

So, you'll have a graph dedicated for "lun" column, including all IOPS (maybe you could format your test's output to get comprehensive name as "Read_lun1").
And in "trend" column, you'll get separated graphs
If I misunderstood your request, please add following details :
-your script output format
-your actual [lunX] definitions in hobbitgraph.cfg, and SPLITNCV definitions for lun* in hobbitserver.cfg

Hope this helps