The workaround I implemented for now, is to insert zero-value data entries to ensure a known number fo data values.<br>It's not exactly ideal, but it works for system with or without ZFS.<br><br>Regards<br>Vernon<br><br>
<br><div class="gmail_quote">On 2 January 2013 20:46, Vernon Everett <span dir="ltr"><<a href="mailto:everett.vernon@gmail.com" target="_blank">everett.vernon@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi Henrik<br><br>Happy New Year!<br><br>Maybe I didn't express myself correctly.<br>I understand what you say below, and the problem isn't with SPLITNCV, but rather with configuring the graphs.<br><br>As you say below, we can do foo1 as AREA, and all the rest of foo2...fooX as STACK.<br>

But how do do this if X is an unknown number?<br>The config example below will work for an unknown number of rrd data files if we are going to make each data set a LINE2<div class="im"><br><span style="font-family:courier new,monospace">        FNPATTERN ^disk(.*).rrd<br>

        TITLE Disk Utilization<br>        YAXIS % Full<br>        DEF:p@RRDIDX@=@RRDFN@:pct:AVERAGE<br>        LINE2:p@RRDIDX@#@COLOR@:@RRDPARAM@</span><br></div>But how do we create a stack graph with unknown number of data sets?<br>

<br>Regards<span class="HOEnZb"><font color="#888888"><br>Vernon</font></span><div class="HOEnZb"><div class="h5"><br><br><div class="gmail_quote">On 2 January 2013 20:11,  <span dir="ltr"><<a href="mailto:henrik@hswn.dk" target="_blank">henrik@hswn.dk</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>On Mon, 31 Dec 2012 10:43:44 +0800, Vernon Everett<br>
<<a href="mailto:everett.vernon@gmail.com" target="_blank">everett.vernon@gmail.com</a>> wrote:<br>
> Hi all<br>
><br>
> Has anybody managed to create a stack graph with SPLITNCV data?<br>
> How do we configure it?<br>
><br>
> Once upon a time, I authored this<br>
<a href="http://www.xymonton.org/monitors:memstat" target="_blank">http://www.xymonton.org/monitors:memstat</a><br>
> But it had graphing problems if you didn't have ZFS running. (One field<br>
> less than the RRD graph config required.)<br>
> In the ToDo section, I promised to have a look at using SPLITNCV.<br>
> So I am looking into it now, but struggling.<br>
> To do a STACK graph, the first entry has to be AREA, and the rest need<br>
to<br>
> be STACK.<br>
> Configuring the RRD graph with SPLITNCV, applies the same graph type to<br>
> each data set.<br>
> How do we get the first to be AREA, and the rest STACK?<br>
<br>
</div>I don't understand with "SPLITNCV applies the same graph type to each<br>
dataset".<br>
<br>
With SPLITNCV you have multiple rrd files, each of these hold one data<br>
item and you define in the SPLITNCV setting what RRD datatype they are -<br>
essentialy GAUGE or COUNTER. E.g. SPLITNCV_foo="ds1:COUNTER,ds2:GAUGE"<br>
<br>
In the graph definition, you just refer to the specific RRD-file you want<br>
to pull data from. This has no relation to the data being a GAUGE or a<br>
COUNTER. So the graphs.cfg definition is straight-forward:<br>
<br>
[foo]<br>
   DEF:foo1=foo,ds1.rrd:lambda:AVERAGE<br>
   DEF:foo2=foo,ds2.rrd:lambda:AVERAGE<br>
   AREA:foo1#FF0000:foo 1 data<br>
   STACK:foo2#0000FF:foo 2 data<br>
<br>
<br>
Regards,<br>
Henrik<br>
<div><div><br>
_______________________________________________<br>
Xymon mailing list<br>
<a href="mailto:Xymon@xymon.com" target="_blank">Xymon@xymon.com</a><br>
<a href="http://lists.xymon.com/mailman/listinfo/xymon" target="_blank">http://lists.xymon.com/mailman/listinfo/xymon</a><br>
</div></div></blockquote></div><br><br clear="all"><br></div></div><div class="HOEnZb"><div class="h5">-- <br><span>"Accept the challenges so that you can feel the exhilaration of victory"</span><div><span>- General George Patton</span></div>

</div></div></blockquote></div><br><br clear="all"><br>-- <br><span>"Accept the challenges so that you can feel the exhilaration of victory"</span><div><span>- General George Patton</span></div>