Re: Multi-target frustration

"Edmonds, Alan" <[email protected]>
Newsgroups gmane.network.cricket.user
Message-ID <CA82669882D4A14EA98E013430F5A4E34B7597@tmexbridge.hammersmith.t-motion.co.uk>
Don't put the complete path in the mtargets = .
It should be just like the target=argument to the grapher.cgi:

 mtargets     =   "/ldap/ldap1-binds;
                      /ldap/ldap2-binds;
                      /ldap/ldap3-binds;
                      /ldap/ldap4-binds;
                      /ldap/ldap5-binds;
                      /ldap/ldap6-binds;
                      /ldap/ldap7-binds;
                      /ldap/ldap8-binds;
                      /ldap/ldap9-binds"
or even (if the multi target is in the same directory as the individual targets)
 mtargets     =   "ldap1-binds;ldap2-binds;ldap3-binds;ldap4-binds;ldap5-binds;ldap6-binds;ldap7-binds;ldap8-binds;ldap9-binds"

Alan Edmonds


-----Original Message-----
From: [email protected]
[mailto:[email protected]]On Behalf Of Quanah
Gibson-Mount
Sent: 30 May 2006 20:22
To: [email protected]
Subject: [cricket-users] Multi-target frustration


Hi,

I'm trying to get cricket to graph multiple targets as a single data set, 
but it doesn't seem to be working at all.

I currently have:

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     =   "/var/lib/cricket/ldap/ldap1-binds;
                      /var/lib/cricket/ldap/ldap2-binds;
                      /var/lib/cricket/ldap/ldap3-binds;
                      /var/lib/cricket/ldap/ldap4-binds;
                      /var/lib/cricket/ldap/ldap5-binds;
                      /var/lib/cricket/ldap/ldap6-binds;
                      /var/lib/cricket/ldap/ldap7-binds;
                      /var/lib/cricket/ldap/ldap8-binds;
                      /var/lib/cricket/ldap/ldap9-binds"
    mtarget-ops  =   sum()


However, this does not generate any graphs at all.  The data definitely 
exists:

tools2:/etc/cricket/config/ldap# ls -l /var/lib/cricket/ldap/ldap?-binds*
-rw-r--r--  1 cricket cricket 30300 May 30 12:20 
/var/lib/cricket/ldap/ldap0-binds.rrd
-rw-r--r--  1 cricket cricket 30300 May 30 12:20 
/var/lib/cricket/ldap/ldap1-binds.rrd
-rw-r--r--  1 cricket cricket 30300 May 30 12:20 
/var/lib/cricket/ldap/ldap2-binds.rrd
-rw-r--r--  1 cricket cricket 30300 May 30 12:20 
/var/lib/cricket/ldap/ldap3-binds.rrd
-rw-r--r--  1 cricket cricket 30300 May 30 12:20 
/var/lib/cricket/ldap/ldap4-binds.rrd
-rw-r--r--  1 cricket cricket 30300 May 30 12:20 
/var/lib/cricket/ldap/ldap5-binds.rrd
-rw-r--r--  1 cricket cricket 30300 May 30 12:20 
/var/lib/cricket/ldap/ldap6-binds.rrd
-rw-r--r--  1 cricket cricket 30300 May 30 12:20 
/var/lib/cricket/ldap/ldap7-binds.rrd
-rw-r--r--  1 cricket cricket 30300 May 30 12:20 
/var/lib/cricket/ldap/ldap8-binds.rrd
-rw-r--r--  1 cricket cricket 30300 May 30 12:20 
/var/lib/cricket/ldap/ldap9-binds.rrd


And the individual targets for these draw graphs just fine.

<https://tools.stanford.edu/cricket?target=%2Fldap%2Fbinds-total> is just a 
bunch of empty graphs.


Any help much appreciated. ;)

--Quanah

--
Quanah Gibson-Mount
Principal Software Developer
ITS/Shared Application Services
Stanford University
GnuPG Public Key: http://www.stanford.edu/~quanah/pgp.html


_______________________________________________
cricket-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cricket-users
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.