Re: Multi-target frustration

Quanah Gibson-Mount <[email protected]>
Newsgroups gmane.network.cricket.user
Message-ID <[email protected]>

--On Wednesday, May 31, 2006 6:20 PM +0100 "Edmonds, Alan" 
<[email protected]> wrote:

> Strange.  Here's one of mine:
>
> target weblogic-standard-storage_servers
>         mtargets        =
> "/portal/nextra/machines/rf03/standard-storage-servers;/portal/nextra/mac
> hines/rf04/standard-storage-servers"         mtargets-ops    =       sum()
>         target-type     =       standard-storage
>
> (lookOut word wrapped the above).  What errors if any are you seeing in
> the httpd log files?

You mean like the huge error log bit I sent to the list yesterday? ;)

Here's my complete setup for this particular thing.  Since mtargets is not 
really well documented, I understand I may have any number of mistakes in 
my assumptions.  "binds-all" works and graphs as expect, so I don't 
understand why "binds-total" doesn't.

target ldap1-binds
    short-desc   =   "ldap1: binds"
    target-type  =   ldap1-binds

target ldap2-binds
    short-desc   =   "ldap2: binds"
    target-type  =   ldap2-binds

target ldap3-binds
    short-desc   =   "ldap3: binds"
    target-type  =   ldap3-binds

target ldap4-binds
    short-desc   =   "ldap4: binds"
    target-type  =   ldap4-binds

target ldap5-binds
    short-desc   =   "ldap5: binds"
    target-type  =   ldap5-binds

target ldap6-binds
    short-desc   =   "ldap6: binds"
    target-type  =   ldap6-binds

target ldap7-binds
    short-desc   =   "ldap7: binds"
    target-type  =   ldap7-binds

target ldap8-binds
    short-desc   =   "ldap8: binds"
    target-type  =   ldap8-binds

target ldap9-binds
    short-desc   =   "ldap9: binds"
    target-type  =   ldap9-binds

target binds-all
    short-desc   =   "binds/second on all ldap servers"
    long-desc    =   "binds/second on the LDAP servers dedicated to all 
queries"
    target-type  =   binds-all

target binds-total
    short-desc   =   "binds/second total across all ldap servers"
    long-desc    =   "binds/second total across the LDAP servers dedicated 
to all queries"
    mtargets     = 
"ldap1-binds;ldap2-binds;ldap3-binds;ldap4-binds;ldap5-binds;ldap6-binds;ldap7-binds;ldap8-binds;ldap9-binds"
    mtarget-ops  =   "sum()"
    target-type  =   binds-all

targetType  binds-all
    ds  = 
"binds-ldap1,binds-ldap2,binds-ldap3,binds-ldap4,binds-ldap5,binds-ldap6,binds-ldap7,binds-ldap8,binds-ldap9"

targetType  ldap1-binds
    ds  =   "binds-ldap1"

targetType  ldap2-binds
    ds  =   "binds-ldap2"

targetType  ldap3-binds
    ds  =   "binds-ldap3"

targetType  ldap4-binds
    ds  =   "binds-ldap4"

targetType  ldap5-binds
    ds  =   "binds-ldap5"

targetType  ldap6-binds
    ds  =   "binds-ldap6"

targetType  ldap7-binds
    ds  =   "binds-ldap7"

targetType  ldap8-binds
    ds  =   "binds-ldap8"

targetType  ldap9-binds
    ds  =   "binds-ldap9"

datasource  binds-ldap1
    ds-source   =   "exec:0:/usr/local/bin/ldapmon -B -h ldap1.stanford.edu"
    desc        =   "The number of binds/second on ldap1.stanford.edu."
    rrd-ds-type =   DERIVE
    rrd-min     =   0
    rrd-max     =   undef

datasource  binds-ldap2
    ds-source   =   "exec:0:/usr/local/bin/ldapmon -B -h ldap2.stanford.edu"
    desc        =   "The number of binds/second on ldap2.stanford.edu."
    rrd-ds-type =   DERIVE
    rrd-min     =   0
    rrd-max     =   undef

datasource  binds-ldap3
    ds-source   =   "exec:0:/usr/local/bin/ldapmon -B -h ldap3.stanford.edu"
    desc        =   "The number of binds/second on ldap3.stanford.edu."
    rrd-ds-type =   DERIVE
    rrd-min     =   0
    rrd-max     =   undef

datasource  binds-ldap4
    ds-source   =   "exec:0:/usr/local/bin/ldapmon -B -h ldap4.stanford.edu"
    desc        =   "The number of binds/second on ldap4.stanford.edu."
    rrd-ds-type =   DERIVE
    rrd-min     =   0
    rrd-max     =   undef

datasource  binds-ldap5
    ds-source   =   "exec:0:/usr/local/bin/ldapmon -B -h ldap5.stanford.edu"
    desc        =   "The number of binds/second on ldap5.stanford.edu."
    rrd-ds-type =   DERIVE
    rrd-min     =   0
    rrd-max     =   undef

datasource  binds-ldap6
    ds-source   =   "exec:0:/usr/local/bin/ldapmon -B -h ldap6.stanford.edu"
    desc        =   "The number of binds/second on ldap6.stanford.edu."
    rrd-ds-type =   DERIVE
    rrd-min     =   0
    rrd-max     =   undef

datasource  binds-ldap7
    ds-source   =   "exec:0:/usr/local/bin/ldapmon -B -h ldap7.stanford.edu"
    desc        =   "The number of binds/second on ldap7.stanford.edu."
    rrd-ds-type =   DERIVE
    rrd-min     =   0
    rrd-max     =   undef

datasource  binds-ldap8
    ds-source   =   "exec:0:/usr/local/bin/ldapmon -B -h ldap8.stanford.edu"
    desc        =   "The number of binds/second on ldap8.stanford.edu."
    rrd-ds-type =   DERIVE
    rrd-min     =   0
    rrd-max     =   undef

datasource  binds-ldap9
    ds-source   =   "exec:0:/usr/local/bin/ldapmon -B -h ldap9.stanford.edu"
    desc        =   "The number of binds/second on ldap9.stanford.edu."
    rrd-ds-type =   DERIVE
    rrd-min     =   0
    rrd-max     =   undef


--
Quanah Gibson-Mount
Principal Software Developer
ITS/Shared Application Services
Stanford University
GnuPG Public Key: http://www.stanford.edu/~quanah/pgp.html
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.