Xymon Mailing List Archive search

client disk graph differences

list Pat Vaughan
Thu, 20 Oct 2005 12:28:51 -0400 (EDT)
Message-Id: <user-47b80bff00bb@xymon.invalid>

I get the same results with either expression.  Either I get one big
graph, or only the first rrd file is graphed with the --multigraphs option
in hobbitcgi.cfg
What happens if you use "FNPATTERN diagshow.(.*).rrd" ?

This is my working definition for system activity reporter:

[sar]
        FNPATTERN sar.(.*).rrd
        TITLE Device Workload
        YAXIS % Busy
        DEF:sar at RRDIDX@=@RRDFN@:sar:AVERAGE
        LINE2:sar at RRDIDX@#@COLOR@:@RRDPARAM@
        -u 100
        -l 0
        GPRINT:sar at RRDIDX@:LAST: \: %5.1lf (cur)
        GPRINT:sar at RRDIDX@:MAX: \: %5.1lf (max)
        GPRINT:sar at RRDIDX@:MIN: \: %5.1lf (min)
        GPRINT:sar at RRDIDX@:AVERAGE: \: %5.1lf (avg)\n

Rrds are dropped with names like sar,DEVICENR.rrd. At the moment about 20
devices displayed well in groups of four graphs.

But this is for hobbit 4.0.4. Just noticed, that there are some problems
with displaying disks graphs on another system running hobbit 4.1.2. Not
sure that both things are correlated, but as you discussed prior, all of
the disk graphs for remote clients are displayed in one single graph.

Still investigating.

So long,
Anatoli


user-37bf2569640f@xymon.invalid schrieb am 20.10.2005 15:22:43:
That almost works.  What I get when I enable that option is a single
graph
with only the first rrd file on it.  I use it to graph error counts on
each port of a fibre switch.  The graph now shows only the first port on
each switch. If I remove this option, it displays all of the ports on a
single graph.  Here is my graph definition:

[diagshow]
        FNPATTERN diagshow,port(.*).rrd
        TITLE Port LLI Errors
        YAXIS Errors
        DEF:LLIERRORS at RRDIDX@=@RRDFN@:LLIERRORS:AVERAGE
        LINE2:LLIERRORS at RRDIDX@#@COLOR@:@RRDPARAM@
        COMMENT:\n
        GPRINT:LLIERRORS at RRDIDX@:LAST:LLI Errors \: %5.1lf (cur)
        GPRINT:LLIERRORS at RRDIDX@:MAX: \: %5.1lf (max)
        GPRINT:LLIERRORS at RRDIDX@:MIN: \: %5.1lf (min)
        GPRINT:LLIERRORS at RRDIDX@:AVERAGE: \: %5.1lf (avg)\n

Hi

You are probably looking  for the "--multigraphs" option specified as
part
of "CGI_SVC_OPTS" variable within "hobbitcgi.cfg".

For example if you have a custom test called "myextratest" you should
specify something like this:
CGI_SVC_OPTS="--env=/opt/hobbit/server/etc/hobbitserver.cfg --no-svcid
--history=top --multigraphs=myextratest,disk"

Remember to include "disk", since by specifying this option you
overwrite
the default values and disk will be no longer split up. You can also
find
the description for this option within the HOBBITD_FILESTORE man page.

Best wishes,
Anatoli Bogajewski