Xymon Mailing List Archive search

Multiple Variable Named Item Graphing

list Geoff Hallford
Thu, 8 Jul 2010 09:42:42 -0400
Message-Id: <user-06cfcad1c3e5@xymon.invalid>

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!

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.