[Xymon] Stack Graphs with SPLITNCV data

henrik at hswn.dk henrik at hswn.dk
Wed Jan 2 13:11:11 CET 2013


On Mon, 31 Dec 2012 10:43:44 +0800, Vernon Everett
<everett.vernon at gmail.com> wrote:
> Hi all
> 
> Has anybody managed to create a stack graph with SPLITNCV data?
> How do we configure it?
> 
> Once upon a time, I authored this
http://www.xymonton.org/monitors:memstat
> But it had graphing problems if you didn't have ZFS running. (One field
> less than the RRD graph config required.)
> In the ToDo section, I promised to have a look at using SPLITNCV.
> So I am looking into it now, but struggling.
> To do a STACK graph, the first entry has to be AREA, and the rest need
to
> be STACK.
> Configuring the RRD graph with SPLITNCV, applies the same graph type to
> each data set.
> How do we get the first to be AREA, and the rest STACK?

I don't understand with "SPLITNCV applies the same graph type to each
dataset".

With SPLITNCV you have multiple rrd files, each of these hold one data
item and you define in the SPLITNCV setting what RRD datatype they are -
essentialy GAUGE or COUNTER. E.g. SPLITNCV_foo="ds1:COUNTER,ds2:GAUGE"

In the graph definition, you just refer to the specific RRD-file you want
to pull data from. This has no relation to the data being a GAUGE or a
COUNTER. So the graphs.cfg definition is straight-forward:

[foo]
   DEF:foo1=foo,ds1.rrd:lambda:AVERAGE
   DEF:foo2=foo,ds2.rrd:lambda:AVERAGE
   AREA:foo1#FF0000:foo 1 data
   STACK:foo2#0000FF:foo 2 data


Regards,
Henrik




More information about the Xymon mailing list