X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=0.6 required=5.0 tests=AWL,BAYES_00,FH_DATE_PAST_20XX autolearn=no version=3.3.0-rupdated Received: from cuda.sgi.com (cuda1.sgi.com [192.48.157.11]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id o3DNMDTw012072 for ; Tue, 13 Apr 2010 18:22:13 -0500 X-ASG-Debug-ID: 1271201045-49a003d50000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from postoffice2.aconex.com (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id C255C12FC7B5 for ; Tue, 13 Apr 2010 16:24:06 -0700 (PDT) Received: from postoffice2.aconex.com (mail.aconex.com [203.89.202.182]) by cuda.sgi.com with ESMTP id wH0bBBgbzqPi5DBm for ; Tue, 13 Apr 2010 16:24:06 -0700 (PDT) Received: from postoffice.aconex.com (localhost [127.0.0.1]) by postoffice2.aconex.com (Spam & Virus Firewall) with ESMTP id 6456B8C5789; Wed, 14 Apr 2010 09:24:05 +1000 (EST) Received: from postoffice.aconex.com (postoffice.yarra.acx [192.168.102.1]) by postoffice2.aconex.com with ESMTP id GYHZcIAP88tIuWAl; Wed, 14 Apr 2010 09:24:05 +1000 (EST) Received: from gatekeeper.aconex.com (gatekeeper.yarra.acx [192.168.102.10]) by postoffice.aconex.com (Postfix) with ESMTP id EA17EA50110; Wed, 14 Apr 2010 09:21:03 +1000 (EST) Received: from localhost (localhost.localdomain [127.0.0.1]) by gatekeeper.aconex.com (Postfix) with ESMTP id 0A33C4884FC; Wed, 14 Apr 2010 09:24:05 +1000 (EST) X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Scanned: amavisd-new at aconex.com Received: from gatekeeper.aconex.com ([127.0.0.1]) by localhost (gatekeeper.aconex.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id LUx6GYlLIsbF; Wed, 14 Apr 2010 09:24:00 +1000 (EST) Received: from mail-au.aconex.com (mail-au.aconex.com [192.168.102.12]) by gatekeeper.aconex.com (Postfix) with ESMTP id 53A37488231; Wed, 14 Apr 2010 09:24:00 +1000 (EST) Date: Wed, 14 Apr 2010 09:23:58 +1000 (EST) From: Nathan Scott To: kenj@internode.on.net Cc: pcp Message-ID: <1419860990.620491271201038915.JavaMail.root@mail-au.aconex.com> In-Reply-To: <1271199338.24244.278.camel@bozo.localdomain> X-ASG-Orig-Subj: Re: Local context vs dynamic namespace Subject: Re: Local context vs dynamic namespace MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [220.237.111.48] X-Mailer: Zimbra 5.0.18_GA_3011.RHEL5_64 (ZimbraWebClient - SAF3 (Mac)/5.0.18_GA_3011.RHEL5_64) X-Barracuda-Connect: mail.aconex.com[203.89.202.182] X-Barracuda-Start-Time: 1271201047 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0000 1.0000 -2.0210 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -2.02 X-Barracuda-Spam-Status: No, SCORE=-2.02 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.2.27421 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Virus-Status: Clean ----- "Ken McDonell" wrote: > On Wed, 2010-04-14 at 08:02 +1000, Nathan Scott wrote: > > No real issue with this, but a few comments. > > 1. By "drop a file" I presume you're thinking one file per pmda that > wants to play, and then "somewhere" in libpcp I process all of the > files Right, that was what I was thinking. > in the magic directory. This means update is file replacement, > rather > than the edit and update a common file model that is much more error > prone. Right. Someday, pmcd could perhaps take a leaf out of this book, but way beyond scope here. > 4. Should we retire the $PMDA_LOCAL_PROC and $PMDA_LOCAL_SAMPLE > controls > that influence when the proc and sample metrics might be available > for > PM_CONTEXT_LOCAL? I think they are passed their use-by date, so > would > not worry if they were quietly forgotten about. > I'd be happy with that too, yep. > 5. A lot cleaner than all of this would be an extended pmcd.conf > format > that included a "pick me for PM_CONTEXT_LOCAL" flag ... there is > space > to do that at the end of the dso line (no arguments for dsos). This > would be > - system wide > - at the discretion of the pmda install script > - atomic with pmda install/remove > - no environment variables Mmm, yes, nice idea - do we even need to extend the format? Just say any dso pmda listed in pmcd.conf is auto-loaded for local context? With the clear/add/del a programmer can still fine tune their needs, if they really just want particular PMDAs for a specialised tool. This all means you have to parse pmcd.conf in libpcp, which is a bit more involved perhaps than walking a directory and using the existing (-K) parser code ... but, you choose, I'd be happy with either way. cheers. -- Nathan