[hobbit] Changing default graph resolution

Vernon Everett v.everett at afgonline.com.au
Tue May 24 08:20:21 CEST 2005


Hmmm
That's pretty much what I tried earlier (with a few lines in different
order), and it didn't work. I get the first (less populated) graph, but
not the second. :-(
Should this work with a bb client, or is it essential that I use a
hobbit client?

Cheers
    Vernon


-----Original Message-----
From: Henrik Stoerner [mailto:henrik at hswn.dk] 
Sent: Tuesday, 24 May 2005 2:00 PM
To: hobbit at hswn.dk
Subject: Re: [hobbit] Changing default graph resolution

On Tue, May 24, 2005 at 11:35:22AM +0800, Vernon Everett wrote:

> In hobbitgraph.cfg, I have the following definition, and it produces
> wonderful, but somewhat cluttered graphs.
> ---snip---
> [ora9-sga]
>         FNPATTERN tablespace.rrd
>         TITLE TableSpace Utilization
>         YAXIS % Full
>         DEF:xdb at RRDIDX@=@RRDFN@:siebprd_XDB:AVERAGE
>         DEF:whsidx at RRDIDX@=@RRDFN@:siebprd_WHS_INDEX:AVERAGE
>         DEF:whsdata at RRDIDX@=@RRDFN@:siebprd_WHS_DATA:AVERAGE
>         DEF:users at RRDIDX@=@RRDFN@:siebprd_USERS:AVERAGE
>         DEF:undotbs1 at RRDIDX@=@RRDFN@:siebprd_UNDOTBS1:AVERAGE
>         DEF:tools at RRDIDX@=@RRDFN@:siebprd_TOOLS:AVERAGE
>         DEF:system at RRDIDX@=@RRDFN@:siebprd_SYSTEM:AVERAGE
>         DEF:siebind at RRDIDX@=@RRDFN@:siebprd_SIEB_INDEX:AVERAGE
>         DEF:siebdata at RRDIDX@=@RRDFN@:siebprd_SIEB_DATA:AVERAGE
>         DEF:loader at RRDIDX@=@RRDFN@:siebprd_LOADER_DATA:AVERAGE
>         LINE2:xdb at RRDIDX@#@COLOR@:XDB
>         LINE2:whsidx at RRDIDX@#@COLOR@:WHS_INDEX
>         LINE2:whsdata at RRDIDX@#@COLOR@:WHS_DATA
>         LINE2:users at RRDIDX@#@COLOR@:USERS
>         LINE2:undotbs1 at RRDIDX@#@COLOR@:UNDO
>         LINE2:tools at RRDIDX@#@COLOR@:TOOLS
>         LINE2:system at RRDIDX@#@COLOR@:SYSTEM
>         LINE2:siebind at RRDIDX@#@COLOR@:SIEB_INDEX
>         LINE2:siebdata at RRDIDX@#@COLOR@:SIEB_DATA
>         LINE2:loader at RRDIDX@#@COLOR@:LOADER
>         -u 100
>         -l 0
> ---snip---

Minor nit: Since you only have one input file, the "@RRDIDX@" in all of
the DEF and LINE definitions is ignored.

> How do I get it to split this across 2 or even 3 graphs, like the disk
> utilisation graphs.

You'll need to split them into multiple graph definitions. E.g. define
two graphs:

[ora9-sga]
         FNPATTERN tablespace.rrd
         TITLE TableSpace Utilization
         YAXIS % Full
         DEF:xdb=@RRDFN@:siebprd_XDB:AVERAGE
         DEF:whsidx=@RRDFN@:siebprd_WHS_INDEX:AVERAGE
         DEF:whsdata=@RRDFN@:siebprd_WHS_DATA:AVERAGE
         DEF:users=@RRDFN@:siebprd_USERS:AVERAGE
         DEF:undotbs1=@RRDFN@:siebprd_UNDOTBS1:AVERAGE
         LINE2:xdb#@COLOR@:XDB
         LINE2:whsidx#@COLOR@:WHS_INDEX
         LINE2:whsdata#@COLOR@:WHS_DATA
         LINE2:users#@COLOR@:USERS
         LINE2:undotbs1#@COLOR@:UNDO
         -u 100
         -l 0

[ora9-sga1]
         FNPATTERN tablespace.rrd
         TITLE TableSpace Utilization
         YAXIS % Full
         DEF:tools=@RRDFN@:siebprd_TOOLS:AVERAGE
         DEF:system=@RRDFN@:siebprd_SYSTEM:AVERAGE
         DEF:siebind=@RRDFN@:siebprd_SIEB_INDEX:AVERAGE
         DEF:siebdata=@RRDFN@:siebprd_SIEB_DATA:AVERAGE
         DEF:loader=@RRDFN@:siebprd_LOADER_DATA:AVERAGE
         LINE2:tools#@COLOR@:TOOLS
         LINE2:system#@COLOR@:SYSTEM
         LINE2:siebind#@COLOR@:SIEB_INDEX
         LINE2:siebdata#@COLOR@:SIEB_DATA
         LINE2:loader#@COLOR@:LOADER
         -u 100
         -l 0

Then to have them both displayed on the "ora9-sga" column, add a LARRD
tag to the host, like this:

  1.2.3.4  db1.foo.com # LARRD:*,ora9-sga:ora9-sga|ora9-sga1


Henrik


To unsubscribe from the hobbit list, send an e-mail to
hobbit-unsubscribe at hswn.dk


_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

NOTICE: This message and any attachments are confidential and may contain copyright material 
of Australian Finance Group Limited or a third party. It is intended solely for the purpose of the 
addressee and any other named recipient. If you are not the intended recipient, any use, 
distribution, disclosure or copying of this message is strictly prohibited. The confidentiality attached
to this message is not waived or lost by reason of the mistaken transmission or delivery to any 
unintended party. If you have received this message in error, please notify the author immediately or 
contact Australian Finance Group on +61 8 9420 7888.




More information about the Xymon mailing list