[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
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@= (at) RRDFN@:siebprd_XDB:AVERAGE
> DEF:whsidx (at) RRDIDX@= (at) RRDFN@:siebprd_WHS_INDEX:AVERAGE
> DEF:whsdata (at) RRDIDX@= (at) RRDFN@:siebprd_WHS_DATA:AVERAGE
> DEF:users (at) RRDIDX@= (at) RRDFN@:siebprd_USERS:AVERAGE
> DEF:undotbs1 (at) RRDIDX@= (at) RRDFN@:siebprd_UNDOTBS1:AVERAGE
> DEF:tools (at) RRDIDX@= (at) RRDFN@:siebprd_TOOLS:AVERAGE
> DEF:system (at) RRDIDX@= (at) RRDFN@:siebprd_SYSTEM:AVERAGE
> DEF:siebind (at) RRDIDX@= (at) RRDFN@:siebprd_SIEB_INDEX:AVERAGE
> DEF:siebdata (at) RRDIDX@= (at) RRDFN@:siebprd_SIEB_DATA:AVERAGE
> DEF:loader (at) RRDIDX@= (at) RRDFN@:siebprd_LOADER_DATA:AVERAGE
> LINE2:xdb (at) RRDIDX@# (at) COLOR@:XDB
> LINE2:whsidx (at) RRDIDX@# (at) COLOR@:WHS_INDEX
> LINE2:whsdata (at) RRDIDX@# (at) COLOR@:WHS_DATA
> LINE2:users (at) RRDIDX@# (at) COLOR@:USERS
> LINE2:undotbs1 (at) RRDIDX@# (at) COLOR@:UNDO
> LINE2:tools (at) RRDIDX@# (at) COLOR@:TOOLS
> LINE2:system (at) RRDIDX@# (at) COLOR@:SYSTEM
> LINE2:siebind (at) RRDIDX@# (at) COLOR@:SIEB_INDEX
> LINE2:siebdata (at) RRDIDX@# (at) COLOR@:SIEB_DATA
> LINE2:loader (at) RRDIDX@# (at) 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= (at) RRDFN@:siebprd_XDB:AVERAGE
DEF:whsidx= (at) RRDFN@:siebprd_WHS_INDEX:AVERAGE
DEF:whsdata= (at) RRDFN@:siebprd_WHS_DATA:AVERAGE
DEF:users= (at) RRDFN@:siebprd_USERS:AVERAGE
DEF:undotbs1= (at) RRDFN@:siebprd_UNDOTBS1:AVERAGE
LINE2:xdb# (at) COLOR@:XDB
LINE2:whsidx# (at) COLOR@:WHS_INDEX
LINE2:whsdata# (at) COLOR@:WHS_DATA
LINE2:users# (at) COLOR@:USERS
LINE2:undotbs1# (at) COLOR@:UNDO
-u 100
-l 0
[ora9-sga1]
FNPATTERN tablespace.rrd
TITLE TableSpace Utilization
YAXIS % Full
DEF:tools= (at) RRDFN@:siebprd_TOOLS:AVERAGE
DEF:system= (at) RRDFN@:siebprd_SYSTEM:AVERAGE
DEF:siebind= (at) RRDFN@:siebprd_SIEB_INDEX:AVERAGE
DEF:siebdata= (at) RRDFN@:siebprd_SIEB_DATA:AVERAGE
DEF:loader= (at) RRDFN@:siebprd_LOADER_DATA:AVERAGE
LINE2:tools# (at) COLOR@:TOOLS
LINE2:system# (at) COLOR@:SYSTEM
LINE2:siebind# (at) COLOR@:SIEB_INDEX
LINE2:siebdata# (at) COLOR@:SIEB_DATA
LINE2:loader# (at) 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