Xymon Mailing List Archive search

Multiple Variable Named Item Graphing

3 messages in this thread

list Geoff Hallford · Thu, 8 Jul 2010 09:06:14 -0400 ·
Hi All,

I hoping that someone has done this before, either through Hobbit built in
graphing and status/data messages or through another means. I have data in
the following format:

SERVER1 : 800
SERVER2 : 1054
SERVER3 : 10000
SERVER4 : 43

These numbers represent the load on a Citrix server, using the qfarm /load
CLI. The maximum number will always be 10000 if the server is full and 0 if
the server is empty.

The problem I am having in figuring this out, is that the names of the
servers can change day to day, so adding all those entries as NCV GAUGE
types doesn't make sense. Am I missing a way to do this?

I am also hoping to have 5 servers per graph and I have about 150 to graph.

Thanks!

Geoff.
list Geoff Hallford · Thu, 8 Jul 2010 09:42:42 -0400 ·
Actually, it appears that the DEF line in hobbitgraph.cfg is what I need to
figure out how to make variable.

Instead of having to do the following, is there a way to make the ds-name
variable based on the graph data itself??

Not sure if below is possible in any way. Look on the RRDtool site and it
doesn't show an way to make ds-name variable and dynamic:

[farmload]
        TITLE Citrix Farm Load
        YAXIS Load Value
        DEF:p at RRDIDX@=farmload.rrd:*THIS_PART_IS_RANDOM*:AVERAGE
        LINE2:p at RRDIDX@#@COLOR@:@RRDPARAM@
        GPRINT:p at RRDIDX@:LAST: \: %5.1lf%s (cur)
        GPRINT:p at RRDIDX@:MAX: \: %5.1lf%s (max)
        GPRINT:p at RRDIDX@:MIN: \: %5.1lf%s (min)
        GPRINT:p at RRDIDX@:AVERAGE: \: %5.1lf%s (avg)\n

Thanks!
quoted from Geoff Hallford

On Thu, Jul 8, 2010 at 9:06 AM, Geoff Hallford <user-dc9e7f30b1e2@xymon.invalid>wrote:
Hi All,

I hoping that someone has done this before, either through Hobbit built in
graphing and status/data messages or through another means. I have data in
the following format:

SERVER1 : 800
SERVER2 : 1054
SERVER3 : 10000
SERVER4 : 43

These numbers represent the load on a Citrix server, using the qfarm /load
CLI. The maximum number will always be 10000 if the server is full and 0 if
the server is empty.

The problem I am having in figuring this out, is that the names of the
servers can change day to day, so adding all those entries as NCV GAUGE
types doesn't make sense. Am I missing a way to do this?

I am also hoping to have 5 servers per graph and I have about 150 to graph.

Thanks!

Geoff.
list W.J.M. Nelis · Fri, 09 Jul 2010 09:43:06 +0200 ·
Hello,
quoted from Geoff Hallford
I hoping that someone has done this before, either through Hobbit built in graphing and status/data messages or through another means. I have data in the following format:

SERVER1 : 800
SERVER2 : 1054
SERVER3 : 10000
SERVER4 : 43

These numbers represent the load on a Citrix server, using the qfarm /load CLI. The maximum number will always be 10000 if the server is full and 0 if the server is empty.

The problem I am having in figuring this out, is that the names of the servers can change day to day, so adding all those entries as NCV GAUGE types doesn't make sense. Am I missing a way to do this?

I am also hoping to have 5 servers per graph and I have about 150 to graph.
This seems to be a good candidate for using SPLITNCV: a variable number of measurements, one per RRD with a fixed name for the dataset.

HTH,
  Wim Nelis.


*******************************************************************************************************
The NLR disclaimer (http://www.nlr.nl/emaildisclaimer) is valid for NLR e-mail messages.
*******************************************************************************************************