From kenj@internode.on.net Tue Dec 1 00:24:04 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00,J_CHICKENPOX_35, J_CHICKENPOX_36 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 nB16O3P7105284 for ; Tue, 1 Dec 2009 00:24:04 -0600 X-ASG-Debug-ID: 1259648670-2abe02330000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from mail.internode.on.net (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id 59059DA41E1 for ; Mon, 30 Nov 2009 22:24:31 -0800 (PST) Received: from mail.internode.on.net (bld-mail17.adl2.internode.on.net [150.101.137.102]) by cuda.sgi.com with ESMTP id Ae1jNwIVFJcOBkyY for ; Mon, 30 Nov 2009 22:24:31 -0800 (PST) Received: from [192.168.1.100] (unverified [118.209.137.163]) by mail.internode.on.net (SurgeMail 3.8f2) with ESMTP id 9169968-1927428 for ; Tue, 01 Dec 2009 16:54:29 +1030 (CDT) X-ASG-Orig-Subj: pcp updates Subject: pcp updates From: Ken McDonell Reply-To: kenj@internode.on.net To: pcp@oss.sgi.com Content-Type: text/plain; charset="UTF-8" Date: Tue, 01 Dec 2009 17:24:21 +1100 Message-ID: <1259648661.2824.6.camel@bozo.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.28.1 Content-Transfer-Encoding: 7bit X-Barracuda-Connect: bld-mail17.adl2.internode.on.net[150.101.137.102] X-Barracuda-Start-Time: 1259648673 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: -1.52 X-Barracuda-Spam-Status: No, SCORE=-1.52 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests=BSF_RULE7568M X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.2.16003 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- 0.50 BSF_RULE7568M Custom Rule 7568M X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Status: Clean The record.c one is for a compilation warning. The mmv ones fix a regression in the help text for mmv.reload and add mmv.debug that may be useful when debugging changes to the mmv pmda. Changes committed to git://oss.sgi.com/kenj/pcp.git dev src/libpcp_gui/src/record.c | 7 ++- src/pmdas/mmv/GNUmakefile | 4 - src/pmdas/mmv/help | 28 ------------- src/pmdas/mmv/mmv.c | 93 ++++++++++++++++++++++++++++++++------------ 4 files changed, 77 insertions(+), 55 deletions(-) commit b6f50cf52934be8f47c3e4e67d8e51c882d54718 Author: Ken McDonell Date: Tue Dec 1 17:20:11 2009 +1100 mmv pmda - add mmv.debug Add the metric, store support so it can be set on the fly, help text. Also added some initial diagnostics to help with debugging. commit 55b57946782ac3ade01c30cbbd8864d1fce32b7f Author: Ken McDonell Date: Mon Nov 30 07:06:42 2009 +1100 mmv help text file removed commit 764e3002c0cb1fd93bd4f1f2f3b2c21116b1b223 Author: Ken McDonell Date: Mon Nov 30 07:03:54 2009 +1100 mmv.reload help text changes Because mmv.reload is below the root of a dynamic PMNS subtree at mmv, the name mmv.reload cannot be resolved by newhelp before the PMDA is installed. So the PMDA needs to supply the help text for _all_ metrics of the form mmv.* ... and the "help" file is not needed. commit 51fca57b05721897bcef40fb4fdddc8602c2f66c Author: Ken McDonell Date: Sun Nov 29 06:59:18 2009 +1100 record.c replace mktemp() with mkstemp() when available Removes a compilation warning in the build, and use of mktemp() that has been removed elsewhere in pcp. From mailman-bounces@oss.sgi.com Tue Dec 1 05:28:17 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-1.5 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00, J_CHICKENPOX_25 autolearn=no version=3.3.0-rupdated Received: from oss.sgi.com (localhost [127.0.0.1]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id nB1B1Yab127386 for ; Tue, 1 Dec 2009 05:01:34 -0600 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Subject: oss.sgi.com mailing list memberships reminder From: mailman-owner@oss.sgi.com To: pcp@oss.sgi.com X-No-Archive: yes Message-ID: Date: Tue, 01 Dec 2009 05:00:29 -0600 Precedence: bulk X-BeenThere: mailman@oss.sgi.com X-Mailman-Version: 2.1.11 List-Id: Mailman mail X-List-Administrivia: yes Sender: mailman-bounces@oss.sgi.com Errors-To: mailman-bounces@oss.sgi.com This is a reminder, sent out once a month, about your oss.sgi.com mailing list memberships. It includes your subscription info and how to use it to change it or unsubscribe from a list. You can visit the URLs to change your membership status or configuration, including unsubscribing, setting digest-style delivery or disabling delivery altogether (e.g., for a vacation), and so on. In addition to the URL interfaces, you can also use email to make such changes. For more info, send a message to the '-request' address of the list (for example, mailman-request@oss.sgi.com) containing just the word 'help' in the message body, and an email message will be sent to you with instructions. If you have questions, problems, comments, etc, send them to mailman-owner@oss.sgi.com. Thanks! Passwords for pcp@oss.sgi.com: List Password // URL ---- -------- pcp-announce@oss.sgi.com xE+IBctR http://oss.sgi.com/mailman/options/pcp-announce/pcp%40oss.sgi.com From goodwinos@gmail.com Tue Dec 1 05:50:42 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-1.6 required=5.0 tests=AWL,BAYES_00,URIBL_BLACK autolearn=no version=3.3.0-rupdated Received: from cuda.sgi.com (cuda2.sgi.com [192.48.176.25]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id nB1Bogef131095 for ; Tue, 1 Dec 2009 05:50:42 -0600 X-ASG-Debug-ID: 1259668271-20d101400000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from mx1.redhat.com (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id A92D1C2D71 for ; Tue, 1 Dec 2009 03:51:11 -0800 (PST) Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by cuda.sgi.com with ESMTP id yzQ5iS4IFTr8hAOu for ; Tue, 01 Dec 2009 03:51:11 -0800 (PST) Received: from int-mx08.intmail.prod.int.phx2.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.21]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id nB1BpAVY020890 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Tue, 1 Dec 2009 06:51:11 -0500 Received: from [10.67.4.85] (vpn1-4-85.sin2.redhat.com [10.67.4.85]) by int-mx08.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id nB1Bp8aZ031119 for ; Tue, 1 Dec 2009 06:51:09 -0500 Message-ID: <4B15032B.8030301@gmail.com> Date: Tue, 01 Dec 2009 22:51:07 +1100 From: Mark Goodwin User-Agent: Thunderbird 2.0.0.23 (X11/20090825) MIME-Version: 1.0 To: pcp@oss.sgi.com X-ASG-Orig-Subj: pcp updates Subject: pcp updates Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.67 on 10.5.11.21 X-Barracuda-Connect: mx1.redhat.com[209.132.183.28] X-Barracuda-Start-Time: 1259668272 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.16018 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Status: Clean Changes committed to git://oss.sgi.com/markgw/pcp.git dev This commit adds support for configure --libexecdir with RPM packaging - it works as committed, but I expect there will be follow-up changes to simplify this part of configure.in (need feedback from Martin for SLES/OpenSuSE). commit 6ec40cb6275de8b3231cad30d27e3f2ea5230097 Author: Mark Goodwin Date: Tue Dec 1 22:21:25 2009 +1100 Support configure --libexecdir for $PCP_BINADM_DIR Adds support for PCP_BINADM_DIR=/usr/libexec/pcp/bin on platforms that use libexec, and use it explicitly in the Fedora RPM spec, where we now also make use the %{_libexecdir} RPM macro. This whole section of configure.in could do with some simplification and rationalization, but that's not the intent of this commit. modified: CHANGELOG modified: build/rpm/pcp_fedora.spec modified: configure.in modified: src/include/pcp.conf.in Signed-off-by: Mark Goodwin From makc@iinet.net.au Wed Dec 2 03:30:57 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from cuda.sgi.com (cuda3.sgi.com [192.48.176.15]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id nB29Uu9J238616 for ; Wed, 2 Dec 2009 03:30:57 -0600 X-ASG-Debug-ID: 1259746283-489f02fc0000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from outbound.icp-qv1-irony-out2.iinet.net.au (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id E89D8190F348 for ; Wed, 2 Dec 2009 01:31:24 -0800 (PST) Received: from outbound.icp-qv1-irony-out2.iinet.net.au (outbound.icp-qv1-irony-out2.iinet.net.au [203.59.1.107]) by cuda.sgi.com with ESMTP id KUl3qRGxvCIiwkma for ; Wed, 02 Dec 2009 01:31:24 -0800 (PST) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApoEAN7CFUvL2Rwk/2dsb2JhbADWcII1gXwE X-IronPort-AV: E=Sophos;i="4.47,327,1257091200"; d="scan'208";a="585145926" Received: from unknown (HELO alma.crabbed.net) ([203.217.28.36]) by outbound.icp-qv1-irony-out2.iinet.net.au with ESMTP; 02 Dec 2009 17:31:21 +0800 Received: by alma.crabbed.net (Postfix, from userid 501) id C98C8ACEB3; Wed, 2 Dec 2009 20:31:20 +1100 (EST) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <19222.13288.771411.335666@iinet.net.au> Date: Wed, 2 Dec 2009 20:31:20 +1100 From: Max Matveev To: pcp@oss.sgi.com X-ASG-Orig-Subj: pcp updates Subject: pcp updates X-Mailer: VM 7.17 under 21.4 (patch 19) "Constant Variable" XEmacs Lucid X-Barracuda-Connect: outbound.icp-qv1-irony-out2.iinet.net.au[203.59.1.107] X-Barracuda-Start-Time: 1259746286 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.16091 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Status: Clean commit 2bf3ebabd813d615c39e99e17c5ada38254fe372 Author: Max Matveev Date: Tue Dec 1 13:20:43 2009 +1100 Integrate PCP into Solaris Service Management Facilicy Add postinstall/preremove scripts to update SMF entries for pmcd, pmie and pmproxy. On install import entires into SMF but do not automatically enable services - leave it to sysadmin to do so. On remove disable services and remove entires. Also propogate install and default targets into SUBDIRS of build: I needed to install a file which logically should live in the build/sun and I did not fancy to do the install by hand. The following changes since commit 50d8f42364327a7ad87fcd84a316d40f2a9fd5e8: Martin Hicks (1): Merge commit 'remotes/markgw/dev' into mort-dev are available in the git repository at: git://oss.sgi.com/makc/pcp smf Max Matveev (1): Integrate PCP into Solaris Service Management Facilicy build/GNUmakefile | 3 +- build/aix/GNUmakefile | 2 +- build/mac/GNUmakefile | 2 +- build/rpm/GNUmakefile | 2 +- build/sun/GNUmakefile | 10 +++++- build/sun/pcp.xml | 83 +++++++++++++++++++++++++++++++++++++++++++++++++ build/sun/postinstall | 5 +++ build/sun/preremove | 8 +++++ build/tar/GNUmakefile | 2 +- 9 files changed, 110 insertions(+), 7 deletions(-) create mode 100644 build/sun/pcp.xml create mode 100644 build/sun/postinstall create mode 100644 build/sun/preremove From makc@iinet.net.au Wed Dec 2 04:01:44 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00 autolearn=ham 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 nB2A1hmC241443 for ; Wed, 2 Dec 2009 04:01:44 -0600 X-ASG-Debug-ID: 1259748133-2cb4004c0000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from outbound.icp-qv1-irony-out2.iinet.net.au (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id B113312DBD95 for ; Wed, 2 Dec 2009 02:02:13 -0800 (PST) Received: from outbound.icp-qv1-irony-out2.iinet.net.au (outbound.icp-qv1-irony-out2.iinet.net.au [203.59.1.107]) by cuda.sgi.com with ESMTP id 1qJdTgnx869UkvhD for ; Wed, 02 Dec 2009 02:02:13 -0800 (PST) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApoEAObJFUvL2Rwk/2dsb2JhbADXDIQxBA X-IronPort-AV: E=Sophos;i="4.47,327,1257091200"; d="scan'208";a="585152497" Received: from unknown (HELO alma.crabbed.net) ([203.217.28.36]) by outbound.icp-qv1-irony-out2.iinet.net.au with ESMTP; 02 Dec 2009 18:02:12 +0800 Received: by alma.crabbed.net (Postfix, from userid 501) id 47C13AD000; Wed, 2 Dec 2009 21:02:12 +1100 (EST) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <19222.15140.4932.477119@iinet.net.au> Date: Wed, 2 Dec 2009 21:02:12 +1100 From: Max Matveev To: pcp@oss.sgi.com X-ASG-Orig-Subj: Re: [pcp] pcp updates Subject: Re: [pcp] pcp updates In-Reply-To: <19222.13288.771411.335666@iinet.net.au> References: <19222.13288.771411.335666@iinet.net.au> X-Mailer: VM 7.17 under 21.4 (patch 19) "Constant Variable" XEmacs Lucid X-Barracuda-Connect: outbound.icp-qv1-irony-out2.iinet.net.au[203.59.1.107] X-Barracuda-Start-Time: 1259748134 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0017 1.0000 -2.0096 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -2.01 X-Barracuda-Spam-Status: No, SCORE=-2.01 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.16091 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Status: Clean On Wed, 2 Dec 2009 20:31:20 +1100, Max Matveev wrote: makc> commit 2bf3ebabd813d615c39e99e17c5ada38254fe372 makc> Author: Max Matveev Er... I'd have to change that Author first. max From nscott@aconex.com Wed Dec 2 04:26:58 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00 autolearn=ham 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 nB2AQvNU244046 for ; Wed, 2 Dec 2009 04:26:58 -0600 X-ASG-Debug-ID: 1259749647-2cb900f10000-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 D895312DC192 for ; Wed, 2 Dec 2009 02:27:27 -0800 (PST) Received: from postoffice2.aconex.com (mail.aconex.com [203.89.202.182]) by cuda.sgi.com with ESMTP id RIhMPH44IgqQtpez for ; Wed, 02 Dec 2009 02:27:27 -0800 (PST) Received: from postoffice.aconex.com (localhost [127.0.0.1]) by postoffice2.aconex.com (Spam & Virus Firewall) with ESMTP id D4AA847A06 for ; Wed, 2 Dec 2009 21:26:54 +1100 (EST) Received: from postoffice.aconex.com (postoffice.yarra.acx [192.168.102.1]) by postoffice2.aconex.com with ESMTP id 860Q2kUfKM1KII5E for ; Wed, 02 Dec 2009 21:26:54 +1100 (EST) Received: from gatekeeper.aconex.com (gatekeeper.yarra.acx [192.168.102.10]) by postoffice.aconex.com (Postfix) with ESMTP id 5B35DA5023D for ; Wed, 2 Dec 2009 21:25:05 +1100 (EST) Received: from localhost (localhost.localdomain [127.0.0.1]) by gatekeeper.aconex.com (Postfix) with ESMTP id B7B0F4FD86 for ; Wed, 2 Dec 2009 21:26:54 +1100 (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 gatekeeper.yarra.acx 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 ts7LXx0FdleP for ; Wed, 2 Dec 2009 21:26:50 +1100 (EST) Received: from mail-au.aconex.com (mail-au.aconex.com [192.168.102.12]) by gatekeeper.aconex.com (Postfix) with ESMTP id D59474FD84 for ; Wed, 2 Dec 2009 21:26:50 +1100 (EST) Date: Wed, 2 Dec 2009 21:26:50 +1100 (EST) From: Nathan Scott To: pcp@oss.sgi.com Message-ID: <106622992.860441259749610765.JavaMail.root@mail-au.aconex.com> X-ASG-Orig-Subj: pcp updates Subject: pcp updates MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [211.28.150.226] 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: 1259749647 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.16093 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Virus-Status: Clean (merged Max's tree in here also) Changes committed to git://oss.sgi.com/nathans/pcp.git build/sun/GNUmakefile | 1 + src/include/builddefs.in | 2 +- src/include/buildrules | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) commit 404f6c666d27c8f4232190ec6f5a5165a8949a57 Author: Nathan Scott Date: Wed Dec 2 21:19:11 2009 +1100 Attempt to make new and old (OSX 10.4/5/6) builds coexist better. commit 6aafe9b5cfe5b9731a85b0e5082f2f5fe08ec23e Author: Nathan Scott Date: Wed Dec 2 21:18:44 2009 +1100 Add new Sun build files into LSRCFILES so they get into src tarball. From nscott@aconex.com Wed Dec 2 19:07:55 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-1.4 required=5.0 tests=AWL,BAYES_00,URIBL_BLACK autolearn=no version=3.3.0-rupdated Received: from cuda.sgi.com (cuda3.sgi.com [192.48.176.15]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id nB317te7056447 for ; Wed, 2 Dec 2009 19:07:55 -0600 X-ASG-Debug-ID: 1259802504-122a015a0000-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 E2A2E1915788 for ; Wed, 2 Dec 2009 17:08:24 -0800 (PST) Received: from postoffice2.aconex.com (mail.aconex.com [203.89.202.182]) by cuda.sgi.com with ESMTP id EfzbjBbM9TR7twlC for ; Wed, 02 Dec 2009 17:08:24 -0800 (PST) Received: from postoffice.aconex.com (localhost [127.0.0.1]) by postoffice2.aconex.com (Spam & Virus Firewall) with ESMTP id 8BE9A4F637 for ; Thu, 3 Dec 2009 12:08:22 +1100 (EST) Received: from postoffice.aconex.com (postoffice.yarra.acx [192.168.102.1]) by postoffice2.aconex.com with ESMTP id 8BQUGzol7lnJoyUD for ; Thu, 03 Dec 2009 12:08:22 +1100 (EST) Received: from gatekeeper.aconex.com (gatekeeper.yarra.acx [192.168.102.10]) by postoffice.aconex.com (Postfix) with ESMTP id B883CA5017F for ; Thu, 3 Dec 2009 12:06:32 +1100 (EST) Received: from localhost (localhost.localdomain [127.0.0.1]) by gatekeeper.aconex.com (Postfix) with ESMTP id 706384FD84 for ; Thu, 3 Dec 2009 12:08:22 +1100 (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 gatekeeper.yarra.acx 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 k0fBJN95hPne for ; Thu, 3 Dec 2009 12:08:18 +1100 (EST) Received: from mail-au.aconex.com (mail-au.aconex.com [192.168.102.12]) by gatekeeper.aconex.com (Postfix) with ESMTP id A23934FD8A for ; Thu, 3 Dec 2009 12:08:18 +1100 (EST) Date: Thu, 3 Dec 2009 12:08:18 +1100 (EST) From: Nathan Scott To: pcp@oss.sgi.com Message-ID: <1656892502.875401259802498169.JavaMail.root@mail-au.aconex.com> X-ASG-Orig-Subj: pcp updates Subject: pcp updates MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [203.89.192.141] X-Mailer: Zimbra 5.0.18_GA_3011.RHEL5_64 (ZimbraWebClient - [unknown] (Linux)/5.0.18_GA_3011.RHEL5_64) X-Barracuda-Connect: mail.aconex.com[203.89.202.182] X-Barracuda-Start-Time: 1259802505 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: -1.52 X-Barracuda-Spam-Status: No, SCORE=-1.52 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests=BSF_RULE7568M X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.2.16135 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- 0.50 BSF_RULE7568M Custom Rule 7568M X-Virus-Status: Clean Changes committed to git://oss.sgi.com/nathans/pcp.git build/sun/GNUmakefile | 2 ++ configure.in | 3 +++ src/include/builddefs.in | 5 ++++- src/include/buildrules | 5 ++++- 4 files changed, 13 insertions(+), 2 deletions(-) commit 5757fd258ef155dc9148aa6977f4fac52a8298de Author: Nathan Scott Date: Thu Dec 3 11:19:55 2009 +1100 Do not attempt to install Solaris files on other platforms. commit 3be8afd8609a6bad818788db8743ec5467c0cf08 Author: Nathan Scott Date: Thu Dec 3 10:13:58 2009 +1100 Make Mac build work on both 10.6 _and_ 10.4 without change. From pcp-announce-bounces@oss.sgi.com Thu Dec 3 23:58:17 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-1.1 required=5.0 tests=AWL,BAYES_00,J_CHICKENPOX_33, J_CHICKENPOX_34,J_CHICKENPOX_48,J_CHICKENPOX_56,J_CHICKENPOX_73,URIBL_BLACK autolearn=no version=3.3.0-rupdated Received: from oss.sgi.com (localhost [127.0.0.1]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id nB45p2jd184197; Thu, 3 Dec 2009 23:51:02 -0600 Received: from cuda.sgi.com (cuda2.sgi.com [192.48.176.25]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id nB45owmo184182 for ; Thu, 3 Dec 2009 23:50:59 -0600 X-ASG-Debug-ID: 1259905888-0f03034c0000-87ZIJf 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 3A1C1CD617 for ; Thu, 3 Dec 2009 21:51:28 -0800 (PST) Received: from postoffice2.aconex.com (mail.aconex.com [203.89.202.182]) by cuda.sgi.com with ESMTP id mza752JWqvTDvI1y for ; Thu, 03 Dec 2009 21:51:28 -0800 (PST) Received: from postoffice.aconex.com (localhost [127.0.0.1]) by postoffice2.aconex.com (Spam & Virus Firewall) with ESMTP id A87055D0B1 for ; Fri, 4 Dec 2009 16:51:26 +1100 (EST) Received: from postoffice.aconex.com (postoffice.yarra.acx [192.168.102.1]) by postoffice2.aconex.com with ESMTP id oSib2dFJSopHRyYZ for ; Fri, 04 Dec 2009 16:51:26 +1100 (EST) Received: from gatekeeper.aconex.com (gatekeeper.yarra.acx [192.168.102.10]) by postoffice.aconex.com (Postfix) with ESMTP id 2FD5CA50235 for ; Fri, 4 Dec 2009 16:49:36 +1100 (EST) Received: from localhost (localhost.localdomain [127.0.0.1]) by gatekeeper.aconex.com (Postfix) with ESMTP id 851004FD87 for ; Fri, 4 Dec 2009 16:51:26 +1100 (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 gatekeeper.yarra.acx 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 rzKk8xJG8QQo for ; Fri, 4 Dec 2009 16:51:22 +1100 (EST) Received: from mail-au.aconex.com (mail-au.aconex.com [192.168.102.12]) by gatekeeper.aconex.com (Postfix) with ESMTP id B835C4FD85 for ; Fri, 4 Dec 2009 16:51:22 +1100 (EST) Date: Fri, 4 Dec 2009 16:51:22 +1100 (EST) From: Nathan Scott To: pcp-announce Message-ID: <1985236088.924601259905882081.JavaMail.root@mail-au.aconex.com> In-Reply-To: <645883200.924021259904671633.JavaMail.root@mail-au.aconex.com> X-ASG-Orig-Subj: New major version of PCP available MIME-Version: 1.0 X-Originating-IP: [203.89.192.141] X-Mailer: Zimbra 5.0.18_GA_3011.RHEL5_64 (ZimbraWebClient - [unknown] (Linux)/5.0.18_GA_3011.RHEL5_64) X-Barracuda-Connect: mail.aconex.com[203.89.202.182] X-Barracuda-Start-Time: 1259905890 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.16230 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Virus-Status: Clean Subject: [pcp-announce] New major version of PCP available X-BeenThere: pcp-announce@oss.sgi.com X-Mailman-Version: 2.1.11 Precedence: list List-Id: pcp announcements List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: pcp-announce-bounces@oss.sgi.com Errors-To: pcp-announce-bounces@oss.sgi.com Hi all! A new version of PCP has just been released - pcp-3.0.2. I realize I forgot to send an announcement about 3.0.0 too, in all the excitement - so alot of changes since 2.9.1 if you haven't upgraded yet. In this 0.2 point release though, the Windows port, Solaris port and Memory- Mapped-Value PMDA have been the major focus (details of all changes in 3.0.0 and beyond follow below). On the Windows front, PCP Glider has been updated significantly to make use of a new version of Strawberry Perl, and in particular has changed to use MSI installer technology - download pcp-glider-0.9.3.msi and give it a try. Although we have a slightly slicker installer (which can also be installed in more interesting ways, remotely) we unfortunately must manually setup the PCP services now - this will be automated in a future release (early next year). So, after uninstalling any earlier versions of PCP Glider, run: C:\> msiexec /i pcp-glider-0.9.3.msi C:\> cd \Glider\scripts C:\> .\postinst.bat Max recently integrated PCP into the Solaris Service Management Facility too. We wait with much anticipation for "official" integration into the Fedora build process, which Mark assures us will be any day now (*cough*). The first 64 bit version of PCP for Mac OS X (10.6) is also available in this release. See the usual location described on http://oss.sgi.com/projects/pcp for binaries of all flavours (Windows, Mac, Linux and Solaris). This code is being used in 24 x 7 monitoring of production environments, on many machines - so it is safe to upgrade from 2.x to 3.x now (if you're one of those people who likes to wait!). Here's the detailed change log for the PCP 3.0 stream so far... pcp-3.0.2 (4 December 2009) - Improvements and fixes to PCP::PMDA perl module. - Added the SQL Server dtsrun log file parser PMDA. - Switch MMV PMDA to use dynamic namespace interfaces, which resolves long-standing spurious EAGAIN error on reconfiguration. - Separate out the Infiniband and cluster PMDAs into their own package - removing dependencies and configure complexities from pcp into specialised, layered packages. - Configure packaging to use libexecdir for private pcp binaries, if supported on the platform (also honour --libexecdir configure flag) - Add sysfs.kernel metrics cluster to Linux PMDA. pcp-3.0.1 (19 October 2009) - Reverted rc scripts default start/stop settings back to how it was in 2.9.3-1, for Debian bug #544350. On Red Hat platforms, the RPM spec overrides this to be chkconfig off by default. - Lexical analyser tweaks (various tools) to work on Windows. - pmlogextract change timezone selection algorithm, add -f for old behaviour - configure.in clean up more thoroughly on Mac OS X - Get pcp building on Debian GNU/kFreeBSD port. - Add missing return statement causing incorrect mem.util on Win32. - Improved support for Slackware distro makepkg packaging - Solaris fixes: pass information about compiler into Perl PMDA makefiles, don't change pointer types of pmCtime's arguments, deal with default lex - Move Infiniband and Cluster PMDAs to a stand-alone packages - Trim the set of RPM files marked as %config to just those that are actually likely to be edited (rpm -qlcv pcp pcp-libs). pcp-3.0.0 (9 October 2009) - PMDA_INTERFACE_4 and the support of dynamic subtrees of the PMNS where the PMDA (not PMCD) maintains knowledge of the PMNS. - RPM packaging split into pcp, pcp-libs and pcp-libs-devel pcp-libs is common - it's required by pcp and by pcp-libs-devel but pcp and pcp-libs-devel can be installed with or without each other. - Added separate specific licenses for the new subpackages, particularly pcp-libs, which is LGPL. - Added ldconfig %post and %postun scriptlets for -libs - Don't explicitly require Infiniband libs, since they're libs and RPM figures it out - No need to explicitly BuildRequire gcc-c++ libstdc++-devel - Add BuildRequires on perl-ExtUtils-MakeMaker - Remove explicit ia64 Requires: libunwind - Preserve generated gram.tab.c in several places since debuginfo needs it - Create %{_localstatedir}/run/pcp and ship it (so it'll be removed) - Use %doc in spec for CHANGELOG COPYING INSTALL README VERSION.pcp pcp.lsm - Tweak configure to move PCP_BINADM_DIR out of /usr/share, into /usr/lib. Arch dependent binaries should not be installed below /usr/share. - Delete unneeded "explicit script interpreter" in several places to keep rpmlint happy - Remove setuid from pmpost, not needed (and not in debian either) - Nuke the migrate_pcp_var_dir, script and it's %post scriptlet - Default "chkconfig off" for all PCP services (retain settings on upgrade) - Clean-up and simplify the %post scriptlets (rather dramatically) - Don't ship static libraries in Fedora, we have the debug package for that - Install .NeedRebuild, add to %files and remove crud from %post scriptlets - Added %changelog in RPM spec and moved %files to end before %changelog - Move demos, examples and demo PMDAS to the libs-devel package since they are not used for production (but are useful for devel and needed for QA). - Don't install trace demo binaries since src is installed anyway - Reconciled build/rpm/pcp.spec.in with build/rpm/pcp_fedora.spec - Integrated RPM packaging support for perl-PCP-PMDA and perl-PCP-MMV (but perl-PCP-Logsummary is not currently shipped in RPM packages) - RPM build requires perl(ExtUtils::MakeMaker) rather than perl-extutils-makemaker (this is the standard notation) - For easier upgrades, the perl PMDAs only really require pcp >= package version (until we change or extend an API). - ReplacePmnsSubtree fix bad signal handling botch (affecting MMV PMDA) - Fix pmcd.timezone metric such that value updates on daylight savings (or other timezone) changes. - Initial packaging work for Slackware Linux, thanks to Roman Revyakin. Enjoy! -- Nathan _______________________________________________ pcp-announce mailing list pcp-announce@oss.sgi.com http://oss.sgi.com/mailman/listinfo/pcp-announce From nscott@aconex.com Sun Dec 6 18:57:09 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from cuda.sgi.com (cuda3.sgi.com [192.48.176.15]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id nB70v9KZ255405 for ; Sun, 6 Dec 2009 18:57:09 -0600 X-ASG-Debug-ID: 1260147460-34f403760000-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 58F391923FFC for ; Sun, 6 Dec 2009 16:57:40 -0800 (PST) Received: from postoffice2.aconex.com (mail.aconex.com [203.89.202.182]) by cuda.sgi.com with ESMTP id oWVpzd3ITUrY0n5s for ; Sun, 06 Dec 2009 16:57:40 -0800 (PST) Received: from postoffice.aconex.com (localhost [127.0.0.1]) by postoffice2.aconex.com (Spam & Virus Firewall) with ESMTP id CD64F791C95 for ; Mon, 7 Dec 2009 11:57:38 +1100 (EST) Received: from postoffice.aconex.com (postoffice.yarra.acx [192.168.102.1]) by postoffice2.aconex.com with ESMTP id G5lLiybHuy3fh0sg for ; Mon, 07 Dec 2009 11:57:38 +1100 (EST) Received: from gatekeeper.aconex.com (gatekeeper.yarra.acx [192.168.102.10]) by postoffice.aconex.com (Postfix) with ESMTP id CDFC7A501BD for ; Mon, 7 Dec 2009 11:55:46 +1100 (EST) Received: from localhost (localhost.localdomain [127.0.0.1]) by gatekeeper.aconex.com (Postfix) with ESMTP id ABE034892AD for ; Mon, 7 Dec 2009 11:57:38 +1100 (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 eoogk9fO4EfO for ; Mon, 7 Dec 2009 11:57:34 +1100 (EST) Received: from mail-au.aconex.com (mail-au.aconex.com [192.168.102.12]) by gatekeeper.aconex.com (Postfix) with ESMTP id AF3964892A8 for ; Mon, 7 Dec 2009 11:57:34 +1100 (EST) Date: Mon, 7 Dec 2009 11:57:34 +1100 (EST) From: Nathan Scott To: pcp@oss.sgi.com Message-ID: <225026307.949871260147454578.JavaMail.root@mail-au.aconex.com> X-ASG-Orig-Subj: pcp updates Subject: pcp updates MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [211.28.150.226] 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: 1260147462 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.16434 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Virus-Status: Clean Changes committed to git://oss.sgi.com/nathans/pcp.git src/include/pmda.h | 28 +++- src/libpcp_pmda/src/GNUmakefile | 7 - src/libpcp_pmda/src/tree.c | 271 ++++++++++++++++++++++++++++++++++++++++ src/pmdas/mmv/GNUmakefile | 15 +- src/pmdas/mmv/mmv.c | 246 ------------------------------------ 5 files changed, 309 insertions(+), 258 deletions(-) commit bbd1b2f5adf2307dee1778326bdbea0012c35210 Author: Nathan Scott Date: Mon Dec 7 11:49:24 2009 +1100 Install the MMV PMDA (dso) by default, on all platforms. commit 822b7173e5bb7afb251b4fa007f841e6381ab214 Author: Nathan Scott Date: Mon Dec 7 11:48:36 2009 +1100 Abstract common code from MMV for dealing with dynamic names. Added pmdaTreePMID, pmdaTreeName, pmdaTreeChildren, and also pmdaTreeRebuildHash (see comments in pmda.h) which implement the dynamic namespace handling iff the PMDA author chooses to use the __pmnsTree and __pmnsNode lookup mechanism (using code from libpcp also). From goodwinos@gmail.com Tue Dec 8 19:35:36 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00 autolearn=ham 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 nB91ZZOb196703 for ; Tue, 8 Dec 2009 19:35:35 -0600 X-ASG-Debug-ID: 1260322568-70fa018f0000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from mx1.redhat.com (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id 17318DE3238 for ; Tue, 8 Dec 2009 17:36:09 -0800 (PST) Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by cuda.sgi.com with ESMTP id LYp8j1Zp8DctGRge for ; Tue, 08 Dec 2009 17:36:09 -0800 (PST) Received: from int-mx05.intmail.prod.int.phx2.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.18]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id nB91a8aS024257 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Tue, 8 Dec 2009 20:36:08 -0500 Received: from [10.64.176.217] (dhcp-176-217.mel.redhat.com [10.64.176.217]) by int-mx05.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id nB91a7dj002306 for ; Tue, 8 Dec 2009 20:36:07 -0500 Message-ID: <4B1EFF06.7020305@gmail.com> Date: Wed, 09 Dec 2009 12:36:06 +1100 From: Mark Goodwin User-Agent: Thunderbird 2.0.0.23 (X11/20090825) MIME-Version: 1.0 To: pcp@oss.sgi.com X-ASG-Orig-Subj: pcp updates Subject: pcp updates Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.67 on 10.5.11.18 X-Barracuda-Connect: mx1.redhat.com[209.132.183.28] X-Barracuda-Start-Time: 1260322570 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.16602 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Status: Clean This fixes a Fedora FC12 build error, where initscripts is not in the default base chroot build environment. I guess we need to start 3.0.3. Changes committed to git://oss.sgi.com/markgw/pcp/pcp.git dev commit 7361c436e59a76a9e17206052a9e97905e5a5bd5 Author: Mark Goodwin Date: Wed Dec 9 12:30:41 2009 +1100 Fix RPM build error: BuildRequires initscripts modified: CHANGELOG modified: build/rpm/pcp.spec.in modified: build/rpm/pcp_fedora.spec Signed-off-by: Mark Goodwin From goodwinos@gmail.com Wed Dec 9 23:34:12 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00,J_CHICKENPOX_73 autolearn=no version=3.3.0-rupdated Received: from cuda.sgi.com (cuda2.sgi.com [192.48.176.25]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id nBA5YBiT043796 for ; Wed, 9 Dec 2009 23:34:12 -0600 X-ASG-Debug-ID: 1260423286-53ed01ec0000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from mx1.redhat.com (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id 496FBE2082 for ; Wed, 9 Dec 2009 21:34:46 -0800 (PST) Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by cuda.sgi.com with ESMTP id tnMXddYL1ZtGQ8ye for ; Wed, 09 Dec 2009 21:34:46 -0800 (PST) Received: from int-mx03.intmail.prod.int.phx2.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.16]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id nBA5YjsY027731 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Thu, 10 Dec 2009 00:34:45 -0500 Received: from [10.11.10.74] (vpn-10-74.rdu.redhat.com [10.11.10.74]) by int-mx03.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id nBA5Yhu2021407 for ; Thu, 10 Dec 2009 00:34:44 -0500 Message-ID: <4B208872.2070505@gmail.com> Date: Thu, 10 Dec 2009 16:34:42 +1100 From: Mark Goodwin User-Agent: Thunderbird 2.0.0.23 (X11/20090825) MIME-Version: 1.0 To: pcp@oss.sgi.com X-ASG-Orig-Subj: pcp updates Subject: pcp updates Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.67 on 10.5.11.16 X-Barracuda-Connect: mx1.redhat.com[209.132.183.28] X-Barracuda-Start-Time: 1260423287 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.16705 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Status: Clean Nathan, can you bump deb to 3.0.3-1 and then pull from my tree into dev. thanks. Changes committed to git://oss.sgi.com/markgw/pcp/pcp.git dev commit 6d9fb815e63a443b244ffb686d24f47ef794d88d Author: Mark Goodwin Date: Thu Dec 10 16:29:58 2009 +1100 Bump to 3.0.3-1 and tweak BuildREquires:initscripts just for %{_vendor} == redhat (not needed for suse) modified: CHANGELOG modified: VERSION.pcp modified: build/rpm/pcp.spec.in modified: build/rpm/pcp_fedora.spec Signed-off-by: Mark Goodwin From nscott@aconex.com Thu Dec 10 00:47:04 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.4 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from cuda.sgi.com (cuda2.sgi.com [192.48.176.25]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id nBA6l4tP051321 for ; Thu, 10 Dec 2009 00:47:04 -0600 X-ASG-Debug-ID: 1260427658-53ee03a20000-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 83B9AE27BA for ; Wed, 9 Dec 2009 22:47:39 -0800 (PST) Received: from postoffice2.aconex.com (mail.aconex.com [203.89.202.182]) by cuda.sgi.com with ESMTP id 4w3wB62DjruiYVqF for ; Wed, 09 Dec 2009 22:47:39 -0800 (PST) Received: from postoffice.aconex.com (localhost [127.0.0.1]) by postoffice2.aconex.com (Spam & Virus Firewall) with ESMTP id E70E86D0CBE; Thu, 10 Dec 2009 17:47:33 +1100 (EST) Received: from postoffice.aconex.com (postoffice.yarra.acx [192.168.102.1]) by postoffice2.aconex.com with ESMTP id CGtU6QrbaA1RZZik; Thu, 10 Dec 2009 17:47:33 +1100 (EST) Received: from gatekeeper.aconex.com (gatekeeper.yarra.acx [192.168.102.10]) by postoffice.aconex.com (Postfix) with ESMTP id 46617A501BD; Thu, 10 Dec 2009 17:45:40 +1100 (EST) Received: from localhost (localhost.localdomain [127.0.0.1]) by gatekeeper.aconex.com (Postfix) with ESMTP id D6E9F4892BE; Thu, 10 Dec 2009 17:47:33 +1100 (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 c5rfWtVWDFwf; Thu, 10 Dec 2009 17:47:29 +1100 (EST) Received: from mail-au.aconex.com (mail-au.aconex.com [192.168.102.12]) by gatekeeper.aconex.com (Postfix) with ESMTP id 2D2DD4892B6; Thu, 10 Dec 2009 17:47:29 +1100 (EST) Date: Thu, 10 Dec 2009 17:47:29 +1100 (EST) From: Nathan Scott To: Mark Goodwin Cc: pcp@oss.sgi.com Message-ID: <1037162618.1063291260427649100.JavaMail.root@mail-au.aconex.com> In-Reply-To: <4B208872.2070505@gmail.com> X-ASG-Orig-Subj: Re: [pcp] pcp updates Subject: Re: [pcp] pcp updates MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [203.89.192.141] X-Mailer: Zimbra 5.0.18_GA_3011.RHEL5_64 (ZimbraWebClient - [unknown] (Linux)/5.0.18_GA_3011.RHEL5_64) X-Barracuda-Connect: mail.aconex.com[203.89.202.182] X-Barracuda-Start-Time: 1260427659 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.16708 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Virus-Status: Clean ----- "Mark Goodwin" wrote: > Nathan, can you bump deb to 3.0.3-1 and then pull from my tree > into dev. thanks. Done. -- Nathan From goodwinos@gmail.com Thu Dec 17 19:41:05 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-0.5 required=5.0 tests=AWL,BAYES_00, DATE_IN_PAST_96_XX,J_CHICKENPOX_33,J_CHICKENPOX_41,J_CHICKENPOX_63, J_CHICKENPOX_73,URIBL_BLACK 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 nBI1f4av206384 for ; Thu, 17 Dec 2009 19:41:04 -0600 X-ASG-Debug-ID: 1261100500-014303990000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from mx1.redhat.com (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id 1DB87E5DEF0 for ; Thu, 17 Dec 2009 17:41:41 -0800 (PST) Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by cuda.sgi.com with ESMTP id a1KWqN7gkfGqPiEB for ; Thu, 17 Dec 2009 17:41:41 -0800 (PST) Received: from int-mx05.intmail.prod.int.phx2.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.18]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id nBI1fZbj028414 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 17 Dec 2009 20:41:36 -0500 Received: from [10.64.176.217] (dhcp-176-217.mel.redhat.com [10.64.176.217]) by int-mx05.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id nBI1fXBu017794; Thu, 17 Dec 2009 20:41:33 -0500 Message-ID: <4AC14E11.9040204@gmail.com> Date: Tue, 29 Sep 2009 10:00:17 +1000 From: Mark Goodwin User-Agent: Thunderbird 2.0.0.21 (X11/20090320) MIME-Version: 1.0 To: kenj@internode.on.net CC: pcp@oss.sgi.com X-ASG-Orig-Subj: Re: [pcp] Dynamic PMNS changes finally arrive Subject: Re: [pcp] Dynamic PMNS changes finally arrive References: <1254034250.4466.12.camel@bozo-laptop.localdomain> <4AC14301.204@gmail.com> <1254180175.7661.1.camel@bozo> In-Reply-To: <1254180175.7661.1.camel@bozo> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.67 on 10.5.11.18 X-Barracuda-Connect: mx1.redhat.com[209.132.183.28] X-Barracuda-Start-Time: 1261100502 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: 1.31 X-Barracuda-Spam-Status: No, SCORE=1.31 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests=BSF_RULE7568M, BSF_RULE_7582B, DATE_IN_PAST_96_XX, DATE_IN_PAST_96_XX_2 X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.2.17379 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- 0.01 DATE_IN_PAST_96_XX Date: is 96 hours or more before Received: date 0.50 BSF_RULE7568M Custom Rule 7568M 0.50 BSF_RULE_7582B Custom Rule 7582B 2.32 DATE_IN_PAST_96_XX_2 DATE_IN_PAST_96_XX_2 X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Status: Clean Ken McDonell wrote: > Sounds like a plan. > > If you're planning on running QA after merging my changes, you'll > probably need my QA ... should I just go ahead and push those changes > into the pcpqa tree on oss.sgi.com? might as well - perhaps commit a tag first, see git-tag(1), something like "prior to dynamic pmns". Cheers -- Mark > On Tue, 2009-09-29 at 09:13 +1000, Mark Goodwin wrote: >> Hi Ken, >> >> I have a round of changes (v3.0.0-6) to push up to the dev branch >> (clean up "the mess" following the Fedora keel-haul, and also >> integrates the perl packaging) - this is under QA at the moment, >> which is taking longer than I'd hoped. >> >> In any case, I'll push 3.0.0-6 to 'dev' asap. Then I'll merge your >> master branch and run a QA delta. If that goes OK I propose we push >> this to (v3.0.0-7) for review and soak time in the dev branch since >> the design is already reviewed. At the very least we'll need to >> update the cluster PMDA before 3.0 can be considered release worthy. >> >> Cheers >> -- Mark >> >> Ken McDonell wrote: >>> Committed to the *master* branch of my PCP tree on oss.sgi.com >>> >>> There are several rounds of commits for this set of changes that became >>> much more complicated and touched more files than I'd originally >>> expected. >>> >>> This all passes my QA ... after I get some feedback on the PCP changes >>> I'll move the QA tree forward. >>> >>> In the logs below there are lots of changes from the *master* and *dev* >>> branches (this is a mess we need to sort out pronto!). Only the ones >>> authored by me are really part of this batch of commmits, the others are >>> innocent bystanders as a result of the passage of time. >>> >>> Changes committed to git://oss.sgi.com/kenj/pcp.git master >>> >>> .gitignore | 2 >>> CHANGELOG | 33 + >>> VERSION.pcp | 10 >>> build/GNUmakefile | 3 >>> build/rpm/pcp.spec.in | 39 +- >>> build/rpm/pcp_fedora.spec | 385 +++++++++++++++++----- >>> build/sun/GNUmakefile | 53 ++- >>> configure.in | 99 ++++- >>> debian/changelog | 21 + >>> debian/control | 72 ++-- >>> man/man1/GNUmakefile | 1 >>> man/man1/newhelp.1 | 24 + >>> man/man1/pmcd.1 | 6 >>> man/man1/pmdaib.1 | 113 ++++++ >>> man/man1/pmval.1 | 27 + >>> man/man3/pmda.3 | 15 >>> man/man3/pmdachildren.3 | 139 +++++++- >>> man/man3/pmdamain.3 | 84 +++- >>> man/man3/pmdaname.3 | 91 +++++ >>> man/man3/pmdapmid.3 | 89 ++++- >>> man/man4/pmns.4 | 45 +- >>> src/cpan/MMV/Changes | 7 >>> src/cpan/MMV/MMV.pm | 6 >>> src/cpan/MMV/MMV.xs | 41 +- >>> src/cpan/MMV/server.pl | 17 >>> src/cpan/PMDA/Changes | 8 >>> src/cpan/PMDA/PMDA.pm | 6 >>> src/cpan/PMDA/PMDA.xs | 39 +- >>> src/cpan/PMDA/local.c | 3 >>> src/dbpmda/src/GNUmakefile | 2 >>> src/dbpmda/src/dbpmda.c | 64 +++ >>> src/dbpmda/src/dbpmda.h | 2 >>> src/dbpmda/src/dso.c | 205 +++++++++-- >>> src/dbpmda/src/gram.y | 43 ++ >>> src/dbpmda/src/lex.l | 30 - >>> src/dbpmda/src/pmda.c | 130 ++++++- >>> src/dbpmda/src/util.c | 20 + >>> src/genpmda/genpmda | 4 >>> src/include/builddefs.in | 13 >>> src/include/impl.h | 31 + >>> src/include/mmv_stats.h | 2 >>> src/include/pmda.h | 73 +++- >>> src/libpcp/src/.gitignore | 3 >>> src/libpcp/src/desc.c | 11 >>> src/libpcp/src/fetchlocal.c | 28 + >>> src/libpcp/src/help.c | 11 >>> src/libpcp/src/instance.c | 46 +- >>> src/libpcp/src/p_pmns.c | 2 >>> src/libpcp/src/pmns.c | 139 ++++++-- >>> src/libpcp/src/store.c | 14 >>> src/libpcp/src/util.c | 34 + >>> src/libpcp_gui/src/.gitignore | 3 >>> src/libpcp_gui/src/GNUmakefile | 2 >>> src/libpcp_mmv/src/.gitignore | 1 >>> src/libpcp_mmv/src/mmv_stats.c | 65 ++- >>> src/libpcp_pmcd/src/.gitignore | 1 >>> src/libpcp_pmda/src/.gitignore | 1 >>> src/libpcp_pmda/src/callback.c | 45 ++ >>> src/libpcp_pmda/src/help.c | 2 >>> src/libpcp_pmda/src/libdefs.h | 3 >>> src/libpcp_pmda/src/mainloop.c | 261 ++++++++++++--- >>> src/libpcp_pmda/src/open.c | 133 ++++--- >>> src/libpcp_trace/src/.gitignore | 3 >>> src/newhelp/chkhelp.c | 6 >>> src/newhelp/newhelp.c | 50 ++ >>> src/pmcd/GNUmakefile | 5 >>> src/pmcd/migrate_pcp_var_dir | 126 ------- >>> src/pmcd/pmdaproc.sh | 242 +++++++------ >>> src/pmcd/rc_pcp | 14 >>> src/pmcd/src/config.c | 163 +++++++-- >>> src/pmcd/src/dofetch.c | 57 ++- >>> src/pmcd/src/dopdus.c | 660 ++++++++++++++++++++++++++++++++------ >>> src/pmcd/src/dostore.c | 14 >>> src/pmcd/src/pmcd.h | 8 >>> src/pmcd/src/pmcd.log | 198 +++++------ >>> src/pmcd/src/sample.log | 4 >>> src/pmcd/src/sendmail.log | 4 >>> src/pmcd/src/simple.log | 4 >>> src/pmcd/src/trace.log | 4 >>> src/pmdas/GNUmakefile | 7 >>> src/pmdas/ib/daemon.c | 20 - >>> src/pmdas/ib/dso.c | 2 >>> src/pmdas/ib/ib.c | 283 +++++++++------- >>> src/pmdas/ib/ibpmda.h | 4 >>> src/pmdas/ib/pmda.c | 4 >>> src/pmdas/linux/proc_cpuinfo.c | 38 -- >>> src/pmdas/linux/proc_cpuinfo.h | 1 >>> src/pmdas/linux/proc_loadavg.c | 7 >>> src/pmdas/mmv/.gitignore | 5 >>> src/pmdas/mmv/GNUmakefile | 28 - >>> src/pmdas/mmv/Install | 6 >>> src/pmdas/mmv/Remove | 5 >>> src/pmdas/mmv/mmv.c | 103 +++-- >>> src/pmdas/mysql/pmdamysql.pl | 3 >>> src/pmdas/named/.gitignore | 2 >>> src/pmdas/named/GNUmakefile | 45 ++ >>> src/pmdas/named/Install | 32 + >>> src/pmdas/named/Remove | 25 + >>> src/pmdas/named/pmdanamed.pl | 155 ++++++++ >>> src/pmdas/pdns/.gitignore | 2 >>> src/pmdas/pdns/GNUmakefile | 45 ++ >>> src/pmdas/pdns/Install | 27 + >>> src/pmdas/pdns/Remove | 25 + >>> src/pmdas/pdns/pmdapdns.pl | 194 ++++++++++- >>> src/pmdas/pmcd/src/pmcd.c | 12 >>> src/pmdas/samba/.gitignore | 2 >>> src/pmdas/samba/GNUmakefile | 49 ++ >>> src/pmdas/samba/Install | 43 ++ >>> src/pmdas/samba/Remove | 25 + >>> src/pmdas/samba/pmdasamba.pl | 205 +++++++++++ >>> src/pmdas/sample/help | 24 + >>> src/pmdas/sample/pmns | 1 >>> src/pmdas/sample/src/pmda.c | 2 >>> src/pmdas/sample/src/sample.c | 362 ++++++++++++++++++-- >>> src/pmdas/simple/pmdasimple.pl | 6 >>> src/pmdas/solaris/GNUmakefile | 15 >>> src/pmdas/solaris/common.h | 14 >>> src/pmdas/solaris/data.c | 212 +++++++++++- >>> src/pmdas/solaris/help | 95 +++++ >>> src/pmdas/solaris/netmib2.c | 344 +++++++++++++++++++ >>> src/pmdas/solaris/netmib2.h | 62 +++ >>> src/pmdas/solaris/pmns.network | 31 + >>> src/pmdas/solaris/pmns.zfs | 15 >>> src/pmdas/solaris/pmns.zpool | 20 + >>> src/pmdas/solaris/root | 5 >>> src/pmdas/solaris/solaris.c | 7 >>> src/pmdas/solaris/zfs.c | 164 ++++++++- >>> src/pmdas/solaris/zpool.c | 226 ++++++++++--- >>> src/pmdas/trace/GNUmakefile | 3 >>> src/pmdas/trace/GNUmakefile.demos | 2 >>> src/pmdas/trace/GNUmakefile.stub | 2 >>> src/pmdas/windows/fetch.c | 91 ++--- >>> src/pmdas/windows/libpdh.def | 1 >>> src/pmdas/windows/libpdh.h | 20 + >>> src/pmdas/windows/open.c | 13 >>> src/pmdas/windows/pmda.c | 32 + >>> src/pmdas/windows/pmns.kernel | 1 >>> src/pmie/rc_pmie | 12 >>> src/pmie/src/GNUmakefile | 2 >>> src/pmlc/GNUmakefile | 2 >>> src/pmlogextract/GNUmakefile | 2 >>> src/pmlogger/GNUmakefile | 2 >>> src/pmlogger/pmlogger.c | 3 >>> src/pmns/Make.stdpmid | 8 >>> src/pmns/ReplacePmnsSubtree | 8 >>> src/pmns/pmnsutil.c | 5 >>> src/pmns/stdpmid.pcp | 8 >>> src/pmpost/GNUmakefile | 2 >>> src/pmproxy/rc_pmproxy | 12 >>> src/pmval/pmval.c | 55 ++- >>> 150 files changed, 6178 insertions(+), 1581 deletions(-) >>> >>> commit 52872f6b735fbf7814443f226df21eee30b35936 >>> Author: Ken McDonell >>> Date: Sun Sep 27 16:30:09 2009 +1000 >>> >>> ReplacePmnsSubtree fix bad signal handling botch >>> >>> The trap handling was totally wrong in cleanup() ... causing the >>> command "1" to be executed instead of the null command "". >>> >>> Exposed by another bug in a related area ... if the PMNS lock >>> exists already, after the timeout in pmlock we fall into the >>> trap cleanup() routine instead of charing on, so the script >>> fails horribly (and leaves the stale lock file around). >>> >>> Also fixed an unlikely buffer over-run in mmv.c. >>> >>> commit 4087051b86b580d7c7cb6e50806edb4eaa63e4d4 >>> Author: Ken McDonell >>> Date: Sun Sep 27 15:20:24 2009 +1000 >>> >>> newhelp, dbpmda, libpcp, libpcp_pmda, pmcd, sample pmda - dynamic PMNS changes >>> >>> This is the final round of changes that get all of the changes for >>> PMDA_INTERFACE_4 and the support of dynamic subtress of the PMNS where >>> the PMDA (not PMCD) maintains knowledge of the PMNS. >>> >>> With these changes and a related round of QA changes, we're passing all >>> of the QA tests (excluding the remote group that I cannot test at the >>> moment, but are unlikely to find problems in this code). >>> >>> commit 40e120d100d8f8f2a638124edef1ac2a16c0b975 >>> Author: Ken McDonell >>> Date: Sun Sep 27 15:18:33 2009 +1000 >>> >>> pmdaproc.sh Revert changes for perl pmda setup. >>> >>> Just put it back the way it was before I started messing with it! >>> >>> commit 4cead6907bf315ed009725db26659d3c6e12c698 >>> Author: Ken McDonell >>> Date: Sun Sep 27 15:11:44 2009 +1000 >>> >>> pmdaproc.sh tweaking to improve QA success >>> >>> Add delays after sending pmcd SIGHUP and before checking for pmcd health >>> to avoid small window where badness happens to pmcd from new PMDA, but >>> after the test has been done. >>> >>> Also wound back previous Perl PMDA setup change as it does not help the >>> QA test for the news PMDA ... reworked the QA test instead! >>> >>> commit 9371a85a8a5b65b43be732e585e1b8f98f4b94e1 >>> Author: Ken McDonell >>> Date: Thu Sep 24 16:59:07 2009 +1000 >>> >>> Only remake pmns file if it does not exist. >>> >>> Part of the perl PMDA support was unconditionally remaking pmns and >>> domain.h ... this was reordering the metrics for the simple PMDA and >>> causing QA tests 255 and 578 to fail ... more importantly if the >>> pmns file already exists then there is no point in using the perl >>> PMDA magic to recreate it. >>> >>> commit 4f6a801b054f92b23064385940a441bc66b758bd >>> Merge: e421a49... 11549ac... >>> Author: Ken McDonell >>> Date: Thu Sep 17 20:00:33 2009 +1000 >>> >>> Merge branch 'master' of git://oss.sgi.com/kenj/pcp >>> >>> Conflicts: >>> CHANGELOG >>> VERSION.pcp >>> src/pmcd/rc_pcp >>> src/pmie/rc_pmie >>> src/pmproxy/rc_pmproxy >>> >>> commit 11549aca86588c4695d26829e02f2ec9e7b43c3d >>> Author: Nathan Scott >>> Date: Mon Sep 7 16:29:34 2009 +1000 >>> >>> Bump pcp stable version to 2.9.2. >>> >>> commit 7997eea93ad9c240d2cbc7c2bfbd9ae21bb29e35 >>> Author: Ken McDonell >>> Date: Mon Sep 7 11:59:21 2009 +1000 >>> >>> Fix the number-of-samples value calculated in pmval once and for all. >>> >>> For those who care, it turns out that the number of _fetches_ may be >>> known, the number of _reported_ samples cannot be precomputed correctly >>> in all cases ... >>> - only works for archives with -a (not -U or -h) >>> - is known for non-counter metrics >>> - most of the time is known for counter metrics but there are some >>> important corner cases where this is not the case, specifically there >>> will be one more reported sample than expected for a counter when the >>> report starting time is not at the start of the archive and the metric >>> has a defined value before the report starting time with no intervening >>> mark record (interpolate mode does return a value at the first report >>> sample in this case!). >>> >>> With this pmval patch, the QA fallout is nil, except for 144 that is an >>> unrelated timezone problem. Also this patch avoids referencing the >>> context too soon, as there is no point in inspecting the metric's >>> semantics to try and better guess the value of smpls. As a bonus, this >>> patch also documents pmval's -U option that has remained a secret for >>> nearly a decade. >>> >>> commit f4e6d55fd0466a706144ca61b4428436ecea7eb7 >>> Author: Nathan Scott >>> Date: Mon Sep 7 11:51:58 2009 +1000 >>> >>> Attempt to resolve sys/stat related build issue on Alpha. >>> >>> Not having access to an Alpha makes this difficult, but one thing >>> that is clearly not helping is that with Linux glibc on Alpha, we >>> end up defining *both* HAVE_STAT_TIMESPEC and HAVE_STAT_TIME_T, & >>> that breaks otherwise valid pmns.c coding assumptions. >>> >>> This change means only one type for the stat time fields can be >>> defined, and it errs on the side of timespec (which should be the >>> one Alpha uses, AFAICT) - so perhaps this issue will finally be >>> resolved and PCP can progress in the Debian build/release system. >>> >>> commit be8793c58935362184a1dd4351388ca6a0013f3b >>> Author: Nathan Scott >>> Date: Mon Sep 7 11:26:09 2009 +1000 >>> >>> Fix mmv library build on mac/win - missing a header. >>> >>> commit 92eb7b896ff6eb83b2feef50e6a89c74c3aa1717 >>> Author: Nathan Scott >>> Date: Fri Sep 4 14:17:37 2009 +1000 >>> >>> Bump pcp stable version to 2.9.1. >>> >>> commit 2e890f3d1d9c4af31fc22af95cb7e0f20336523e >>> Author: Nathan Scott >>> Date: Fri Sep 4 14:15:16 2009 +1000 >>> >>> Correct pmval sample count calculation. >>> >>> Martin reported several QA tests were failing wrt pmval "samples" line. >>> >>> What I've found is the problem either exists/doesn't exist depending on >>> several factors: >>> - running on a 32 bit machine, Debian unstable, the problem never occurs >>> no matter how pmval is built. >>> - running on a 64 bit machine, Debian unstable, the problem only happens >>> with the packaged binaries. The key factor appears to be the introduction >>> of -O2, which looks like it reliably changes certain values on the stack, >>> that would otherwise be zero (used uninitialised, in either case). >>> >>> There's two problems here, I believe: >>> - in pmval.c the getargs() call initialises the value of "smpls" (number >>> of samples to take) based on cntxt->desc.sem. However, at that point, >>> we have not established a context yet, and so that field is uninitialised. >>> - this test doesn't match the comment above it, and doesn't make sense: >>> >>> /* counters require 2 samples to produce reported sample */ >>> if (*smpls > 0 && cntxt->desc.sem != PM_SEM_COUNTER) >>> >>> that would seem to me that it should be "cntxt->desc.sem == PM_SEM_COUNTER". >>> >>> commit 6940bbf89ca10d395fff93eeb7ce7424cec5d2ad >>> Merge: b7bb608... 350246f... >>> Author: Nathan Scott >>> Date: Fri Sep 4 14:08:24 2009 +1000 >>> >>> Merge branch 'dev' of git://oss.sgi.com/nathans/pcp into dev >>> >>> commit 350246f0ba359876660994823d2e37b864040c3f >>> Author: Nathan Scott >>> Date: Thu Sep 3 12:59:57 2009 +1000 >>> >>> Another pass at getting the perl/debian packaging auto-deps right. >>> >>> commit 91c9f4a0a06d8e300c23f49feab09141c488b0f5 >>> Author: Nathan Scott >>> Date: Thu Sep 3 12:59:24 2009 +1000 >>> >>> Correct mmv install targets makefile macro. >>> >>> commit bf33333edbcf48ee84dad07cace240d6aff6cc99 >>> Author: Nathan Scott >>> Date: Wed Sep 2 15:07:19 2009 +1000 >>> >>> Workaround another oddity in (very) recent versions of autoconf. >>> >>> Problem found by the Debian autobuilders, in the pcp-gui build but it >>> affects pcp too. Latest versions of autoconf evaluate AC_PROG_LEX in >>> the compiler check macro, and complete remove any trace of AC_PROG_LEX >>> from its original callsite. This results in a syntax error inside our >>> configure script, as we call it within if ... fi, which then evaluates >>> to having no body to the if. Ugh. Fix is trivial though, since these >>> macros do the user-env-variable expansion thing already. >>> >>> commit efcb3b590f086feb1507f82716d2f0b6eee69d33 >>> Author: Petter Reinholdtsen >>> Date: Wed Sep 2 14:38:34 2009 +1000 >>> >>> Add missing dependencies and runlevels into PCP start scripts. >>> >>> With dependency based boot sequencing, I discovered what I believe is >>> a bug in the init.d scripts of this package. The list of runlevels to >>> stop in is incomplete. The script should stop in runlevel 1 to make >>> sure the service is started again when switching from runlevel 1 to >>> 2-5. Also, the script should probably stop during halt (0) and reboot >>> (6). The package should start in runlevel 4, just like in runlevels >>> 2, 3 and 5. I suspect the list of dependencies are incomplete. The >>> scripts used to start after the syslog collector was operational, and >>> should probably continue to do so. Also, the scripts need files in >>> /usr/ and should depend on $remote_fs. >>> >>> If the scripts themselves need to start in any specific order, the >>> relationship should be listed explicitly in the LSB header too. Make >>> sure the update-rc.d calls in the postinst reflect this ordering if >>> any such dependencies should exist. >>> >>> This patch implement the proposed change. Without it, the script seem >>> to fail to handle runlevel 0, 1, 4 and 6 properly, and might start too >>> early in the boot. >>> >>> commit 4aa31ed00a60c3926a53bbd8d47aa0b2eaf254c4 >>> Merge: 35c230e... 3323bb9... >>> Author: Nathan Scott >>> Date: Wed Sep 2 13:18:44 2009 +1000 >>> >>> Merge branch 'dev' of git://oss.sgi.com/nathans/pcp into dev >>> >>> commit b7bb60801c2fc342b15473f1e3b341dd8ec7b84a >>> Author: Nathan Scott >>> Date: Wed Sep 2 12:38:19 2009 +1000 >>> >>> Update gitignore files for Mac and Windows library file names. >>> >>> commit 3323bb90ad5f66480c05b7fe182a72a0813c9b41 >>> Author: Nathan Scott >>> Date: Wed Sep 2 12:30:47 2009 +1000 >>> >>> Fix a segv observed in the Windows PMDA accessing SQL Server metrics. >>> >>> The recent optimisation added for direct instance domain lookup added >>> a flaw that could case an array index of -1 to be used to access into >>> the metric value table. Observed on SQL Server 2008 & Windows Server >>> 2008 R2 only so far. >>> >>> commit 1112ac636cae6feac624279c76239003662d4a35 >>> Author: Nathan Scott >>> Date: Wed Sep 2 11:49:20 2009 +1000 >>> >>> Small MMV pmda changes to allow DSO builds in the future. >>> >>> Turns out that the current protocol for getting pmcd to >>> update its namespace cannot be used from DSO agents ... >>> one more reason to revamp this area. >>> >>> commit 677c6f2cea7fce4ff5f10f939fc5a942861719dd >>> Author: Nathan Scott >>> Date: Wed Sep 2 11:46:40 2009 +1000 >>> >>> Fix logic error causing wrong windows version to be reported. >>> >>> commit e421a49323307d49f6b897ae87f94c934b6fdcad >>> Author: Ken McDonell >>> Date: Tue Sep 1 17:44:22 2009 +1000 >>> >>> Interim commit for start of daemon PMDA support for dynamic PMNS. >>> >>> commit 210be7f679b10d71dda985fdebc7dd9aec5d606a >>> Author: Nathan Scott >>> Date: Fri Aug 28 08:44:50 2009 +1000 >>> >>> Correct some regular expressions in Samba PMDA. >>> >>> Of particular note, some of the heading lines in the >>> smbstatus --profile output have trailing whitespace. >>> Otherwise, this PMDA is now fully functional; and as >>> it used the stock Samba utilities, is not dependent >>> on the many flavours of Samba shmem format anymore. >>> At the cost of a slight overhead increase, of course, >>> but the original was unmaintainable. >>> >>> Thanks to James Peach for advise on redesigning this. >>> >>> commit 0758690bcbbf26db438560d5b5b94b1644979047 >>> Author: Nathan Scott >>> Date: Thu Aug 27 14:26:32 2009 +1000 >>> >>> Descend into samba PMDA during the build (SUBDIRS update). >>> >>> commit 9e758dd286ee2c49ecd991599a4c87a5520b9892 >>> Author: Nathan Scott >>> Date: Thu Aug 27 14:25:18 2009 +1000 >>> >>> Add kernel.all.uptime to the Windows kernel agent. >>> >>> This code uses the PdhGetFormatterCounterValue API, which we >>> have not used before on Windows, hence the changes to libpdh >>> header and dll definition files. >>> >>> commit b0cbeab4df3aec93a2f9749c7912dc8adc0b27ea >>> Author: Nathan Scott >>> Date: Thu Aug 27 10:21:28 2009 +1000 >>> >>> Rearrange platform-specific handling in pmdaproc.sh. >>> >>> Keep everything that does platform-specific stuff in one >>> place now, run early on, instead of all over the shop. >>> >>> The code that handles determining whether the PCP::PMDA >>> Perl module is installed is also reworked to not fail in >>> the case where perl_opt is set, but user doesn't select >>> that option when Install'ing a PMDA. This bit Mark with >>> the simple PMDA, which has both Perl and C variants. >>> >>> commit ac9170cf888639cc731474d39cb100e9d7b2c519 >>> Author: Nathan Scott >>> Date: Thu Aug 27 09:20:14 2009 +1000 >>> >>> Initial version of the (perl-based) Samba PMDA. >>> >>> commit e00aafe76a538ad09322499c2f669450d3b0c486 >>> Author: Nathan Scott >>> Date: Wed Aug 26 11:46:12 2009 +1000 >>> >>> Fix inconsistent metric name in pmdasimple.pl - simple.now was wrong. >>> >>> commit e937d8332c9dc6a0f4d5ea5fb10b6d3530b7261b >>> Author: Nathan Scott >>> Date: Wed Aug 26 11:02:55 2009 +1000 >>> >>> Remove hard-coded path in the perl variant of the simple PMDA (thanks Mark). >>> >>> commit 531de7440179d323c8774fad2a4c13ac4c21bcbb >>> Author: Nathan Scott >>> Date: Wed Aug 26 11:00:00 2009 +1000 >>> >>> Use PM_IN_NULL in pmdasimple.pl so it functions correctly on all platforms. >>> >>> commit 956be698fe2de60b96c2c6fa72be1555a1c3cf7c >>> Merge: 7bf0f27... b8cb2dd... >>> Author: Nathan Scott >>> Date: Mon Aug 24 10:58:57 2009 +1000 >>> >>> Merge branch 'dev' of git://oss.sgi.com/nathans/pcp into dev >>> >>> commit 7bf0f27d27c11db4002699e74611ef718551add3 >>> Merge: 309e7be... 3db8e4f... >>> Author: Nathan Scott >>> Date: Mon Aug 24 10:57:30 2009 +1000 >>> >>> Merge branch 'solaris' of git://oss.sgi.com/makc/pcp into dev >>> >>> commit 309e7be90719ebc12bc66e9a06999909e7f66c16 >>> Author: Nathan Scott >>> Date: Mon Aug 24 09:03:19 2009 +1000 >>> >>> Add PCP::PMDA helper routines for determining native long sizes. >>> >>> commit 90e8cd865a6bfabf91315feea3743054a1511111 >>> Author: Nathan Scott >>> Date: Mon Aug 24 09:01:38 2009 +1000 >>> >>> Extend MMV to allow teardown of MMV file, and set errno on failure. >>> >>> Setting errno helps alot with diagnosing mmv_stats_init() failures. >>> >>> commit d4732eb5d60d8d31bb6eba69daa2787befb34325 >>> Author: Nathan Scott >>> Date: Mon Aug 24 08:56:24 2009 +1000 >>> >>> Initial stable (1.00) version of MMV Perl interface. >>> >>> Changes include: >>> - added stop interface >>> - added stats_set interface >>> - fixed incorrect memory free on init >>> - extend server.pl example to report idle time >>> - fixed use of av_len return codes (off by one) >>> >>> commit 3db8e4f3626241cb40e52f36a691263c8aaa34ff >>> Author: Max Matveev >>> Date: Mon Aug 17 18:52:49 2009 +1000 >>> >>> Release zpool resources when finished updates >>> >>> It's not documented but it's obvious that zpool_iter expects the >>> callback to call zpool_close to release resources associated with >>> the zpool - it's not a problem for short-lived commands like zpool(1) >>> but it leaks memory like a firehose. >>> >>> commit 35c230ef34a191bbb5b8f12b91d122e2863ac740 >>> Author: Nathan Scott >>> Date: Fri Aug 14 14:58:10 2009 +1000 >>> >>> Correct the metric units for several Windows per-process memory metrics. >>> >>> commit 758b2b7039e878189b42fab6d8d3a789a27810d1 >>> Author: Max Matveev >>> Date: Wed Aug 12 00:01:59 2009 +1000 >>> >>> Eliminate incidents of crime against whitespace >>> >>> commit 012af5fa4e16029513c6d1c2ff7c7a3d4a3069e3 >>> Author: Max Matveev >>> Date: Tue Aug 11 23:55:59 2009 +1000 >>> >>> Hide instances for destroyed pools and filesystems >>> >>> In Solaris PMDA if a zpool or a zfs is removed make sure that the >>> corresponding instance disappears from the list of instances returned on >>> fetch. >>> >>> commit a8cbf7b86b1bab119246006b23b1114fe1b4b9d7 >>> Author: Ken McDonell >>> Date: Fri Aug 7 11:22:23 2009 +1000 >>> >>> Revert __pmProcessTerminate() change. >>> >>> Since perl PMDAs are now all running in their own process group revert >>> to allow kill(0, ...) to proceed. >>> >>> commit 8ea858d245d093ed3285e0e4370303bd678cc468 >>> Merge: 9b4b935... ead91ff... >>> Author: Ken McDonell >>> Date: Thu Aug 6 18:35:49 2009 +1000 >>> >>> Merge branch 'dev' into pmns >>> >>> commit 9b4b9351a7e41bc21f893063e0311accd7cee046 >>> Author: Ken McDonell >>> Date: Thu Aug 6 18:18:10 2009 +1000 >>> >>> Guard in _pmProcessTerminate() to prevent killing all member of process group. >>> >>> Problem exposed by qa/162 and perl implementation of news pmda. >>> >>> commit 7f72e4acff1b876b10e6f6432a55de2e49b9e148 >>> Author: Ken McDonell >>> Date: Thu Aug 6 18:16:49 2009 +1000 >>> >>> Second round of changes for PMDA_INTERFACE_4 dynamic metrics. >>> >>> DSO mode PMDAs (sampledso) is very close to working correctly now. >>> >>> commit ead91ffca2605502c3552ffbc228ffbc0ed3ecc3 >>> Author: Mark Goodwin >>> Date: Thu Aug 6 12:14:25 2009 +1000 >>> >>> update changelog and delete unncessary Vendor string >>> >>> Signed-off-by: Mark Goodwin >>> >>> commit b77cb57bb669b1129c1241f7818fe75935390a3b >>> Author: Mark Goodwin >>> Date: Thu Aug 6 12:06:23 2009 +1000 >>> >>> also bump the src tarball version >>> >>> Signed-off-by: Mark Goodwin >>> >>> commit 6c8311051895092662b8ee1986945a3846577b04 >>> Author: Mark Goodwin >>> Date: Thu Aug 6 12:01:24 2009 +1000 >>> >>> bump to 3.0.0-2 >>> >>> Signed-off-by: Mark Goodwin >>> >>> commit 99aa1c21c22e64350ba750284039653750633540 >>> Merge: ef9852c... f2866c9... >>> Author: Mark Goodwin >>> Date: Thu Aug 6 11:37:29 2009 +1000 >>> >>> merge pcp-2.9.0-1 dev >>> >>> modified: CHANGELOG >>> modified: build/rpm/pcp.spec.in >>> modified: debian/changelog >>> modified: debian/control >>> modified: src/cpan/PMDA/PMDA.xs >>> modified: src/libpcp_pmda/src/open.c >>> modified: src/pmcd/src/config.c >>> modified: src/pmdas/GNUmakefile >>> modified: src/pmdas/mysql/pmdamysql.pl >>> new file: src/pmdas/pdns/.gitignore >>> new file: src/pmdas/pdns/GNUmakefile >>> new file: src/pmdas/pdns/Install >>> new file: src/pmdas/pdns/Remove >>> new file: src/pmdas/pdns/pmdapdns.pl >>> modified: src/pmlogger/pmlogger.c >>> modified: src/pmns/stdpmid.pcp >>> >>> Signed-off-by: Mark Goodwin >>> >>> commit ef9852c99666359cdacb1afe65dcac16460ea0ab >>> Author: Mark Goodwin >>> Date: Thu Aug 6 11:05:12 2009 +1000 >>> >>> Changes to the Fedora RPM spec in response to review feedback: >>> - Incorporate a large number of suggestions and cleanups from Eric Sandeen >>> - Greatly simplified the %post and %postun scriptlets - remove ancient crud >>> - Added ldconfig scriptlets for -libs >>> - Don't explicitly require IB libs, since they're libs and RPM figures it out >>> - No need to explicitly BuildRequire gcc-c++ libstdc++-devel >>> - Add BuildRequires on perl-ExtUtils-MakeMaker >>> - Remove explicit ia64 Requires: libunwind >>> - Have pcp-libs require the base package since Fedora insists >>> - Add and clarify some comments >>> - Create %{_localstatedir}/run/pcp and ship it (so it'll be removed) >>> - Use %doc for CHANGELOG COPYING INSTALL README VERSION.pcp pcp.lsm >>> >>> Signed-off-by: Mark Goodwin >>> >>> commit 88c3b113c45f61d8959b95f0486d5d625b8c85af >>> Author: Mark Goodwin >>> Date: Thu Aug 6 10:17:51 2009 +1000 >>> >>> git ignore generated gram*.tab.c >>> >>> Signed-off-by: Mark Goodwin >>> >>> commit 0fe594271c4635432616eaec4640b38773d150cc >>> Author: Mark Goodwin >>> Date: Thu Aug 6 10:12:55 2009 +1000 >>> >>> preserve generated gram.tab.c because debuginfo needs it >>> >>> Signed-off-by: Mark Goodwin >>> >>> commit 385ce8e19c550792fd61a4e6112408c208b75649 >>> Author: Mark Goodwin >>> Date: Thu Aug 6 09:21:48 2009 +1000 >>> >>> fix minor typo in comment >>> >>> Signed-off-by: Mark Goodwin >>> >>> commit b8cb2dd7c9b5d33e473bf0d89a64da3c2b2eec92 >>> Merge: 1c47a24... 684232a... >>> Author: Nathan Scott >>> Date: Wed Aug 5 16:52:11 2009 +1000 >>> >>> Merge branch 'solaris' of git://oss.sgi.com/makc/pcp into dev >>> >>> commit 1c47a24dbef502d09439e663b727a2bf85e5499d >>> Author: Nathan Scott >>> Date: Wed Aug 5 16:51:47 2009 +1000 >>> >>> Ignore all MMV files that begin with a period. >>> >>> commit 4bc076258e025f86b6215783933f7adcb77ace90 >>> Author: Max Matveev >>> Date: Wed Aug 5 02:10:37 2009 +1000 >>> >>> Add network metrics to Solaris PMDA >>> >>> Use MIB2 interface available via TI to extract IPv4 interfaces and UDP stats >>> from the kernel. >>> >>> The good/bad fetch is on the whole group - if any of the sources fail (even if >>> we don't use them like IPv6 interface stats) then whole fetch will return no >>> data. >>> >>> Fetch callback still uses offset for the metrics which have indoms, for >>> singular metrics a pointer to the global storage is used whence the change >>> of type in md_offset. >>> >>> commit 4e1e119bfb7cfa6d09c81049fec95d3dc9e13356 >>> Author: Mark Goodwin >>> Date: Tue Aug 4 12:19:07 2009 +1000 >>> >>> dont install trace demo binaries since src is installed anyway >>> >>> Signed-off-by: Mark Goodwin >>> >>> commit 234ffe3f3badbf73768f114fa692eac0dd7ec079 >>> Author: Max Matveev >>> Date: Mon Aug 3 10:33:41 2009 +1000 >>> >>> Report ZFS statistics from Solaris PMDA >>> >>> Use libzfs interfaces to extract some data about ZFS "dataset". Datasets >>> are filesystems, snapshots and volumes, the reported data include information >>> about used and available space, compression ratios, number of copies, >>> reserved space per dataset. Space utilization is additionally broken down >>> into space used by children, space used by snapshot and space used by the >>> dataset itself. >>> >>> commit 5da67384ae7719254afd7d76d8b10558b9d3de07 >>> Author: Max Matveev >>> Date: Mon Aug 3 01:59:01 2009 +1000 >>> >>> Export zpool stats from Solaris PMDA >>> >>> Use libzfs to extract zpool stats like capacity, iops, bandwidth etc >>> >>> commit 684232a1b6178de4a07edbd0e3308f49789992fb >>> Author: Max Matveev >>> Date: Sun Aug 2 23:05:11 2009 +1000 >>> >>> Put 64 bit libraries into the right place on Solaris >>> >>> Solaris keeps its 64 bit shared libraries in /usr/lib/64 - use the pointer >>> size to decide if we're building 32 or 64 bit version and push the library >>> in the right place. >>> >>> commit 3cf745f62c0099577265994de97c0a755cb06f9b >>> Author: Max Matveev >>> Date: Sun Aug 2 04:11:32 2009 +1000 >>> >>> Generate packages for Solaris >>> >>> commit 74c7543c88bc3776b81ae8a5eab4de940537ffdd >>> Author: Max Matveev >>> Date: Sun Aug 2 03:03:35 2009 +1000 >>> >>> Allow user to choose her compiler >>> >>> New autoconf attempts to compile the headers as part of AC_HEADER_CHECK. >>> It AC_PROG_CC is not called then AC_HEADER_CHECK generates scary warning - >>> just call AC_PROG_CC unconditionally: it will honour CC from the environment >>> but it will also do the right things about later checks. >>> >>> On Solaris if the alternative compiler is not GCC then don't feed it >>> GNU options. >>> >>> commit 5dc76a384254b3a0b1a72ff1be5faec042effa73 >>> Author: Mark Goodwin >>> Date: Fri Jul 31 15:44:40 2009 +1000 >>> >>> RPM spec specifically for the Fedora Project. >>> >>> Signed-off-by: Mark Goodwin >>> >>> commit 1274605472853400f4297439c433a05829735a64 >>> Author: Mark Goodwin >>> Date: Fri Jul 31 15:40:58 2009 +1000 >>> >>> tweak configure to move PCP_BINADM_DIR out of /usr/share, into /usr/lib. >>> Arch dependent binaries should not be installed below /usr/share. >>> >>> Signed-off-by: Mark Goodwin >>> >>> commit 17700e2bdaa0060178c3d025edb92280f36451f6 >>> Author: Mark Goodwin >>> Date: Fri Jul 31 11:47:39 2009 +1000 >>> >>> delete unneeded explicit script interpreter to keep rpmlint happy >>> >>> Signed-off-by: Mark Goodwin >>> >>> commit b971772c281a5aff6408981e7086cbfa4bcee6ba >>> Author: Mark Goodwin >>> Date: Fri Jul 31 11:33:20 2009 +1000 >>> >>> pmpost does not really need to be setuid >>> >>> Signed-off-by: Mark Goodwin >>> >>> commit 0a4cd4b8bfe44265bdccfb93db5e19c28c796f79 >>> Author: Mark Goodwin >>> Date: Fri Jul 31 11:11:48 2009 +1000 >>> >>> Nuke migrate_pcp_var_dir, no longer needed >>> >>> Signed-off-by: Mark Goodwin >>> >>> commit bf98168e8a7cea7697497f4972dd835fa10e29b6 >>> Author: Mark Goodwin >>> Date: Thu Jul 30 18:25:12 2009 +1000 >>> >>> default chkconfig off for all PCP services >>> >>> Signed-off-by: Mark Goodwin >>> >>> commit 679b9d50fa63430066fbf8343607205dd46d20f7 >>> Author: Ken McDonell >>> Date: Wed Jul 29 20:38:59 2009 +1000 >>> >>> Initial work for PMDA_INTERFACE_4 and new sample.secret.* dynamic metrics. >>> >>> commit 6c17c674360b6d6738f37bb9330fdb607dd1c872 >>> Author: Ken McDonell >>> Date: Wed Jul 29 20:38:07 2009 +1000 >>> >>> Remove log files that were added by mistake. >>> >>> commit a707483a5af651b430b9e2b4a193a5b64585e6e9 >>> Author: Ken McDonell >>> Date: Wed Jul 29 20:34:10 2009 +1000 >>> >>> Second round of PMDA_INTERFACE_4 and dynamic PMNS changes. >>> >>> Gets things working for DSO PMDAs. >>> >>> commit 8e0f63dbb6ae77a2d526e9472b85d8de1b5bab84 >>> Author: Ken McDonell >>> Date: Wed Jul 29 20:31:52 2009 +1000 >>> >>> Extending domain number to 9 bits (continued). >>> >>> commit f2866c9e1bf8c9a70213ed4cd859d437b9af6bad >>> Author: Mark Goodwin >>> Date: Mon Jul 27 19:59:39 2009 +1000 >>> >>> Bump version to 2.9.0. >>> >>> commit d3f630a269c73017407b46713bb75b91a7516475 >>> Author: Mark Goodwin >>> Date: Mon Jul 27 19:57:22 2009 +1000 >>> >>> Tweak Debian perl packaging with explicit dependencies, resolving build warnings. >>> >>> commit e69333488d42d8b3b1a8f35ea1f9ea3b2f12ad35 >>> Author: Mark Goodwin >>> Date: Mon Jul 27 19:56:41 2009 +1000 >>> >>> Make the pcp2.x RPM provide pcp-devel and pcp-libs >>> >>> This RPM packaging change makes it easier for dependent >>> packages such as pcp-gui to transition to pcp-3.x, where >>> we have split packaging: pcp, pcp-devel and pcp-libs. >>> >>> commit 3687851ac4ee2ccc1810b25fccb31c9935427cdf >>> Author: Nathan Scott >>> Date: Mon Jul 27 15:23:21 2009 +1000 >>> >>> Split apart the POSIX and Win32 daemon PMDA code in pmcd. >>> >>> No longer use a wrapper for the Win32 implementation either, which >>> allows us to have finer control over opened/closed file descriptors >>> and gives us a better shot at pipe agents (still not functional due >>> to fd inheritance, I think) and also keeps track of the child PIDs. >>> >>> commit ee52cf1d530317ed290e07bf3dc964b362e3ca5c >>> Author: Nathan Scott >>> Date: Mon Jul 27 14:07:54 2009 +1000 >>> >>> When starting a PMDA in socket mode, we must mark the file descriptor as such. >>> >>> In order for socket communication to function on Windows, socket fd's must be >>> flagged (and hence distinct from pipes, so we know whether to write/send there). >>> This gets socket-based daemon PMDAs to startup correctly under Win32 conditions. >>> >>> commit bd5862657c7f532369ea6e760a06a0aa9f81f74f >>> Author: Nathan Scott >>> Date: Mon Jul 27 14:04:17 2009 +1000 >>> >>> Fix a typo in a comment in pmcd code. >>> >>> commit 61c43f8885220a6e7d41624ace23d1157ef90e29 >>> Merge: 910d640... 3baf8e7... >>> Author: Mark Goodwin >>> Date: Mon Jul 27 09:37:33 2009 +1000 >>> >>> Merge branch '3.0.0' of git+ssh://markgw@oss.sgi.com/oss/git/markgw/pcp/pcp into dev >>> >>> commit 3baf8e7a6491c9533a1b0ff00c6d711a32677536 >>> Author: Mark Goodwin >>> Date: Mon Jul 27 09:32:57 2009 +1000 >>> >>> take -fstack-protector-all back out again since it's only supported with newer compilers. Probably should add a configure test for it at some stage >>> >>> Signed-off-by: Mark Goodwin >>> >>> commit eb409a0cb7c638a42e2546d7f6e67ac1aa0ac66c >>> Author: Josef 'Jeff' Sipek >>> Date: Mon Jul 27 08:45:50 2009 +1000 >>> >>> PowerDNS PMDA's packetcache_size and qsize_q are instant values, not counters >>> >>> commit c8728d91900e220159bc925084cb3a862a4a5d26 >>> Author: Nathan Scott >>> Date: Mon Jul 27 08:44:21 2009 +1000 >>> >>> Update pmlogger -x message - kill is now (cross-platform) pmsignal. >>> >>> commit 47a82efaefdc26f37ce62df6d736092b96c2ae61 >>> Author: Nathan Scott >>> Date: Thu Jul 23 15:18:20 2009 +1000 >>> >>> Tweak deb package long descriptions for bug 537563. >>> >>> commit 0b9600ede2f03f15d271ab812a703d0b606c4506 >>> Author: Josef 'Jeff' Sipek >>> Date: Thu Jul 23 14:49:30 2009 +1000 >>> >>> Add a new PMDA for the PowerDNS daemon (www.powerdns.com). >>> >>> commit df6f93cd1b2de0fc1e531cc568f4e53b73adf7e5 >>> Author: Nathan Scott >>> Date: Thu Jul 23 14:32:59 2009 +1000 >>> >>> Remove a duplicated metric from the MySQL PMDA. >>> >>> Problem reported by Josef Sipek, install of this PMDA now >>> fails due to reworking of the pmns generation code, before >>> this would have silently overwritten one metric with the >>> other (122 won in our production environment so I've kept >>> that) but now we check for this condition. >>> >>> commit 737b6904574678e174e5d8b969b91edce66c759a >>> Author: Nathan Scott >>> Date: Thu Jul 23 13:26:31 2009 +1000 >>> >>> Improve error reporting in pmcd on Windows. >>> >>> Should we be asked to open a UNIX domain socket channel to a >>> PMDA on Windows, improve the message for easier diagnosis. >>> >>> commit c87287e790d4636e2abbd98f223daa0c67c644e8 >>> Author: Nathan Scott >>> Date: Thu Jul 23 13:25:11 2009 +1000 >>> >>> Improve error reporting in PCP::PMDA perl module. >>> >>> When failing to build the PMNS file, additional diagnostics >>> would be helpful to pinpoint the source of the error. >>> >>> commit 910d640b1cdd749de83245523a24e2486a8f5cc2 >>> Merge: 7f3bf2c... 0c1b4b2... >>> Author: Mark Goodwin >>> Date: Thu Jul 23 11:39:22 2009 +1000 >>> >>> Merge branch '3.0.0' of git://oss.sgi.com/markgw/pcp/pcp into dev >>> >>> commit 0c1b4b2f4bd9b0759964fb056a1469b2dd052ce6 >>> Author: Mark Goodwin >>> Date: Wed Jul 22 17:02:40 2009 +1000 >>> >>> Tweak RPM dependency rules for 2.x -> 3.x upgrades and >>> massage the PCP RPM spec to reduce rpmlint noise. >>> >>> Also added -fstack-protector-all to Linux PCFLAGS. >>> >>> On branch 3.0.0: >>> modified: build/rpm/pcp.spec.in >>> modified: src/include/builddefs.in >>> >>> Signed-off-by: Mark Goodwin >>> >>> commit 7f3bf2c9a2966801f95c31f049291da8434faae4 >>> Author: Nathan Scott >>> Date: Wed Jul 22 13:37:47 2009 +1000 >>> >>> Ensure the Perl PMDA process runs in its own process group, >>> and ignore SIGTERM in the atexit handler. This resolves an >>> issue with the earlier fix for reaping children. >>> >>> commit d597f63b47a9eb8140c878bbc26c1434431c3096 >>> Author: Nathan Scott >>> Date: Wed Jul 22 11:52:09 2009 +1000 >>> >>> Comment out some diagnostics in named PMDA. >>> >>> commit c9b822c236f1bf219d830d1185d16cc9e87eae4c >>> Author: Rodney McKee >>> Date: Wed Jul 22 11:44:32 2009 +1000 >>> >>> Add the named PMDA, initially supporting BIND 9.4. >>> >>> commit cf003f4dddc1f26d2d7818f7c17bfd942a448ea2 >>> Merge: fee86f6... fcca602... >>> Author: Nathan Scott >>> Date: Wed Jul 22 10:18:55 2009 +1000 >>> >>> Merge branch 'dev' of git://oss.sgi.com/mort/pcp into dev >>> >>> commit fcca6023cd689ea5f48c6f6c538e2e21af67d32e >>> Author: Martin Hicks >>> Date: Tue Jul 21 17:34:05 2009 -0400 >>> >>> Do not create infiniband pmda config file by default >>> >>> In order to simplify monitoring in the simple case where a >>> machine has a single Infiniband interface, the config file is >>> no longer created by default. Instead, only local ports are >>> monitored. This does solve the problem where if an infiniband >>> card is replaced in a machine that the administrator no longer >>> has to remove the /var/lib/pcp/pmdas/ib/config file in order >>> to restore infiniband monitoring. >>> >>> For more advanced usage where static instance naming is required >>> or remote Infiniband ports must be monitored a config file can >>> still be created, but it is the responsibility of the administrator >>> to update the GUIDs if an HCA replacement is done. >>> >>> commit 840243974c106daae11368730043534d4684bc59 >>> Author: Martin Hicks >>> Date: Tue Jul 21 17:31:54 2009 -0400 >>> >>> Manpage for the infiniband PMDA >>> >>> commit fee86f6503252207a236c5eb81c8d092eede1a87 >>> Author: Nathan Scott >>> Date: Thu Jul 16 16:59:45 2009 +1000 >>> >>> Rework the special SGI CPU numbering logic in the Linux PMDA. >>> >>> This resolves a buffer overflow bug in the use of realpath(3) >>> in this routine, which was being passed a too-small buffer. >>> This issue was initially reported to us by Chandana De Silva, >>> but looks like others have come across it too, e.g.: >>> https://bugs.launchpad.net/ubuntu/+source/pcp/+bug/384776 >>> >>> I've removed the unused "cname" field from the per-CPU data >>> structure, and also added some short-circuit logic into this >>> code so that we bail out of this logic early if no hardware- >>> graph filesystem paths are detected (which will be the normal >>> case for most people). >>> >>> commit 67ae7fd90a32a43bbc97b939e57302556e864459 >>> Author: Nathan Scott >>> Date: Thu Jul 16 16:54:11 2009 +1000 >>> >>> Resolve a valgrind reported problem when initing Linux loadavg metric. >>> >>> Ensure read buffer is initialised to zero, and also check the return >>> code for a failed read syscall. >>> >>> commit 7f0167d8410147a6645699b0a385dc0c3bdfa5ac >>> Author: Martin Hicks >>> Date: Tue Jul 14 14:14:31 2009 -0400 >>> >>> Reserve domain ID 99 for SGI Ultra Violet PMDA >>> >>> commit de5188e9814f25c043dd278d3b3b9be0f3d8a306 >>> Author: Ken McDonell >>> Date: Sun Jul 12 07:51:13 2009 +1000 >>> >>> Increase domain from 8-bits to 9-bits. >>> >>> Cleaned up the use of the top bit as a flag for both a pmID and >>> a pmInDom ... now using a 1 bit flag field instead of the 2-bit >>> "pad" field. Changes required for PMNS parsing in libpcp and >>> internal handling of help text. >>> >>> Introduced PMDA_INTERFACE_4, but no code using this yet. >>> >>> Encoding and logic to handle dynamic PMNS entries introduced and >>> some local support in parsing and reporting local PMNS entries >>> (syntax for PMID in PMNS is :*:*) ... this means domain >>> number 511 (DYNAMIC_PMID) is now special and reserved. >>> >>> commit 3a0217c80b84c56d21bdd64f9d6396c9c583556d >>> Author: Nathan Scott >>> Date: Fri Jul 10 10:37:08 2009 +1000 >>> >>> Add a PCP::PMDA module check into PMDA Install path for Perl PMDAs. >>> >>> commit 2c278354dedbb229721ffbb6cd1934896095c4a7 >>> Author: Nathan Scott >>> Date: Fri Jul 10 10:35:08 2009 +1000 >>> >>> Make Perl PMDA module explicit wrt libpcp_pmda interface version used. >>> >>> >>> >>> _______________________________________________ >>> pcp mailing list >>> pcp@oss.sgi.com >>> http://oss.sgi.com/mailman/listinfo/pcp > From mort@sgi.com Mon Dec 21 17:58:35 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from relay.sgi.com (relay2.corp.sgi.com [137.38.102.29]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id nBLNwYVn084664 for ; Mon, 21 Dec 2009 17:58:34 -0600 Received: from attica.americas.sgi.com (attica.americas.sgi.com [128.162.236.44]) by relay2.corp.sgi.com (Postfix) with ESMTP id BDDB030407F for ; Mon, 21 Dec 2009 15:59:14 -0800 (PST) Received: by attica.americas.sgi.com (Postfix, from userid 44682) id 8EF53A243300; Mon, 21 Dec 2009 17:59:14 -0600 (CST) Date: Mon, 21 Dec 2009 17:59:14 -0600 From: Martin Hicks To: pcp@oss.sgi.com Subject: Linux NUMA memory stats Message-ID: <20091221235914.GG8018@alcatraz.americas.sgi.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.17 (2007-11-01) X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Status: Clean I just pushed out an enhancement to the linux PMDA that adds the NUMA memory statistics from /sys/devices/system/node/node*/{meminfo,numastat} SGI has been using an early version of this in a different PMDA for quite a few years, but since more and more PCs are also NUMA it seems useful to push this out. I have not yet tested this on a linux PC *without* the node information exported. I'll do that tomorrow. Reviews are appreciated: git://oss.sgi.com/mort/pcp.git in dev branch: commit 3eaece56464cce94b116a5f401ca0b62ae5c8819 Author: Martin Hicks Date: Mon Dec 21 17:51:44 2009 -0600 Export NUMA memory statistics from the linux kernel There are per-node meminfo (like /proc/meminfo) and hit/miss statistics for the libnuma memory policies. Signed-off-by: Martin Hicks src/pmdas/linux/GNUmakefile | 4 +- src/pmdas/linux/clusters.h | 1 + src/pmdas/linux/help | 36 ++++ src/pmdas/linux/indom.h | 1 + src/pmdas/linux/linux_table.c | 114 ++++++++++++ src/pmdas/linux/linux_table.h | 66 +++++++ src/pmdas/linux/numa_meminfo.c | 173 +++++++++++++++++ src/pmdas/linux/numa_meminfo.h | 31 +++ src/pmdas/linux/pmda.c | 401 ++++++++++++++++++++++++++++++++++++++++ src/pmdas/linux/root_linux | 50 +++++ 10 files changed, 875 insertions(+), 2 deletions(-) thanks mh From mort@sgi.com Tue Dec 22 07:26:22 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from relay.sgi.com (relay1.corp.sgi.com [137.38.102.111]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id nBMDQLZQ134454 for ; Tue, 22 Dec 2009 07:26:22 -0600 Received: from attica.americas.sgi.com (attica.americas.sgi.com [128.162.236.44]) by relay1.corp.sgi.com (Postfix) with ESMTP id 2AA278F80BD for ; Tue, 22 Dec 2009 05:27:02 -0800 (PST) Received: by attica.americas.sgi.com (Postfix, from userid 44682) id 04D41A243300; Tue, 22 Dec 2009 07:27:01 -0600 (CST) Date: Tue, 22 Dec 2009 07:27:01 -0600 From: Martin Hicks To: pcp@oss.sgi.com Subject: Re: [pcp] Linux NUMA memory stats Message-ID: <20091222132701.GI8018@alcatraz.americas.sgi.com> References: <20091221235914.GG8018@alcatraz.americas.sgi.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20091221235914.GG8018@alcatraz.americas.sgi.com> User-Agent: Mutt/1.5.17 (2007-11-01) X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Status: Clean On Mon, Dec 21, 2009 at 05:59:14PM -0600, Martin Hicks wrote: > > I just pushed out an enhancement to the linux PMDA that adds the NUMA > memory statistics from /sys/devices/system/node/node*/{meminfo,numastat} > > SGI has been using an early version of this in a different PMDA for > quite a few years, but since more and more PCs are also NUMA it seems > useful to push this out. > > I have not yet tested this on a linux PC *without* the node information > exported. I'll do that tomorrow. I think the only change I need is to return quietly if the node directory isn't present: diff --git a/src/pmdas/linux/numa_meminfo.c b/src/pmdas/linux/numa_meminfo.c index e4ac798..3b81a8e 100644 --- a/src/pmdas/linux/numa_meminfo.c +++ b/src/pmdas/linux/numa_meminfo.c @@ -90,8 +90,7 @@ int refresh_numa_meminfo(numa_meminfo_t *numa_meminfo) /* count number of nodes */ if ((ndir = opendir("/sys/devices/system/node/")) == NULL) { - fprintf(stderr, "%s: unable to initialize: %s\n", - __FUNCTION__, strerror(errno)); + /* No NUMA statistics available */ return -1; } mh From ajwans@evostor.com Wed Dec 23 21:50:34 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham 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 nBO3oYEf029999 for ; Wed, 23 Dec 2009 21:50:34 -0600 X-ASG-Debug-ID: 1261626676-5a7300770000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from relay.ihostexchange.net (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id B33FF1350999 for ; Wed, 23 Dec 2009 19:51:16 -0800 (PST) Received: from relay.ihostexchange.net (relay.ihostexchange.net [66.46.182.52]) by cuda.sgi.com with ESMTP id yLbFi9nrts3bk4fJ for ; Wed, 23 Dec 2009 19:51:16 -0800 (PST) Received: from mailhost.internal (203.206.165.193) by smtp.ihostexchange.net (66.46.182.50) with Microsoft SMTP Server (TLS) id 8.1.393.1; Wed, 23 Dec 2009 22:51:14 -0500 Received: from dull (unknown [10.222.0.6]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by mailhost.internal (Postfix) with ESMTPSA id 1967530897 for ; Thu, 24 Dec 2009 14:51:08 +1100 (EST) Received: by dull (sSMTP sendmail emulation); Thu, 24 Dec 2009 14:51:09 +1100 From: Andrew Wansink Date: Thu, 24 Dec 2009 14:51:09 +1100 To: pcp@oss.sgi.com X-ASG-Orig-Subj: broken build ubuntu 9.10 Subject: broken build ubuntu 9.10 Message-ID: <20091224035109.GA2116@dull> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline User-Agent: Mutt/1.5.20 (2009-06-14) X-Barracuda-Connect: relay.ihostexchange.net[66.46.182.52] X-Barracuda-Start-Time: 1261626677 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.17904 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Status: Clean commit 27a209d20b1468992b00a520d410bf205e659cc5 Author: Andrew Wansink Date: Thu Dec 24 14:43:03 2009 +1100 Ubuntu 9.10 defines strbrk to return const char * if the first argument to strpbrk via a call from c++ is const char *. diff --git a/src/view/text.cpp b/src/view/text.cpp index 86a77e1..3565f3d 100644 --- a/src/view/text.cpp +++ b/src/view/text.cpp @@ -186,7 +186,7 @@ Text::Text(const QString &theString, _width = (int)ceilf(x); _depth = (int)ceilf(z); - char *hasLow = strpbrk((const char *)theString.toAscii(), theHeightStr); + const char *hasLow = strpbrk((const char *)theString.toAscii(), theHeigh if (pmDebug & DBG_TRACE_APPL1) { QTextStream cerr(stderr); From ajwans@evostor.com Wed Dec 23 23:34:06 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from cuda.sgi.com (cuda2.sgi.com [192.48.176.25]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id nBO5Y5wx037889 for ; Wed, 23 Dec 2009 23:34:05 -0600 X-ASG-Debug-ID: 1261632888-017a00540000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from relay.ihostexchange.net (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id 681641251A7 for ; Wed, 23 Dec 2009 21:34:48 -0800 (PST) Received: from relay.ihostexchange.net (relay.ihostexchange.net [66.46.182.52]) by cuda.sgi.com with ESMTP id tpbIOqmG3txyI4L1 for ; Wed, 23 Dec 2009 21:34:48 -0800 (PST) Received: from mailhost.internal (203.206.165.193) by smtp.ihostexchange.net (66.46.182.50) with Microsoft SMTP Server (TLS) id 8.1.393.1; Thu, 24 Dec 2009 00:34:47 -0500 Received: from dull (unknown [10.222.0.6]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by mailhost.internal (Postfix) with ESMTPSA id 9DD5B30845 for ; Thu, 24 Dec 2009 16:34:40 +1100 (EST) Received: by dull (sSMTP sendmail emulation); Thu, 24 Dec 2009 16:34:42 +1100 From: Andrew Wansink Date: Thu, 24 Dec 2009 16:34:42 +1100 To: pcp@oss.sgi.com X-ASG-Orig-Subj: broken build ubuntu 9.10 Subject: broken build ubuntu 9.10 Message-ID: <20091224053442.GA21019@dull> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline User-Agent: Mutt/1.5.20 (2009-06-14) X-Barracuda-Connect: relay.ihostexchange.net[66.46.182.52] X-Barracuda-Start-Time: 1261632889 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.17911 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Status: Clean commit 27a209d20b1468992b00a520d410bf205e659cc5 Author: Andrew Wansink Date: Thu Dec 24 14:43:03 2009 +1100 Ubuntu 9.10 defines strbrk to return const char * if the first argument to strpbrk via a call from c++ is const char *. diff --git a/src/view/text.cpp b/src/view/text.cpp index 86a77e1..3565f3d 100644 --- a/src/view/text.cpp +++ b/src/view/text.cpp @@ -186,7 +186,7 @@ Text::Text(const QString &theString, _width = (int)ceilf(x); _depth = (int)ceilf(z); - char *hasLow = strpbrk((const char *)theString.toAscii(), theHeightStr); + const char *hasLow = strpbrk((const char *)theString.toAscii(), theHeigh if (pmDebug & DBG_TRACE_APPL1) { QTextStream cerr(stderr); From jeffpc@josefsipek.net Wed Dec 30 01:34:43 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00,J_CHICKENPOX_44 autolearn=no version=3.3.0-rupdated Received: from cuda.sgi.com (cuda2.sgi.com [192.48.176.25]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id nBU7Yg5s236187 for ; Wed, 30 Dec 2009 01:34:42 -0600 X-ASG-Debug-ID: 1262158529-3aff02c60000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from josefsipek.net (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id BC0F01309EC for ; Tue, 29 Dec 2009 23:35:29 -0800 (PST) Received: from josefsipek.net (josefsipek.net [141.212.112.196]) by cuda.sgi.com with ESMTP id vJF7x4ff2OfqTs6t for ; Tue, 29 Dec 2009 23:35:29 -0800 (PST) Received: by josefsipek.net (Postfix, from userid 1000) id 83B4E1C04B3A; Wed, 30 Dec 2009 02:35:28 -0500 (EST) Date: Wed, 30 Dec 2009 02:35:28 -0500 From: "Josef 'Jeff' Sipek" To: pcp@oss.sgi.com Cc: nathans@debian.org X-ASG-Orig-Subj: [PATCH] Add a new PMDA exporting the Postfix queue lengths Subject: [PATCH] Add a new PMDA exporting the Postfix queue lengths Message-ID: <20091230073528.GK25955@josefsipek.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.20 (2009-06-14) X-Barracuda-Connect: josefsipek.net[141.212.112.196] X-Barracuda-Start-Time: 1262158529 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.18464 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Status: Clean From: Josef 'Jeff' Sipek Signed-off-by: Josef 'Jeff' Sipek diff --git a/src/pmdas/GNUmakefile b/src/pmdas/GNUmakefile index c609c6d..a5e61a2 100644 --- a/src/pmdas/GNUmakefile +++ b/src/pmdas/GNUmakefile @@ -22,7 +22,7 @@ SUBDIRS = pmcd linux solaris aix darwin windows \ lmsensors process roomtemp summary hotproc jstat \ dbping memcache systemtap mysql vmware kvm \ bonding lustrecomm mmv netfilter zimbra \ - named pdns samba dtsrun + named pdns samba dtsrun postfix LDIRT = pmcd.conf diff --git a/src/pmdas/postfix/.gitignore b/src/pmdas/postfix/.gitignore new file mode 100644 index 0000000..9515eb3 --- /dev/null +++ b/src/pmdas/postfix/.gitignore @@ -0,0 +1,2 @@ +pmdapostfix.1 +pmdapostfix.1.gz diff --git a/src/pmdas/postfix/GNUmakefile b/src/pmdas/postfix/GNUmakefile new file mode 100644 index 0000000..535e07e --- /dev/null +++ b/src/pmdas/postfix/GNUmakefile @@ -0,0 +1,45 @@ +#!gmake +# +# Copyright (c) 2009 Josef 'Jeff' Sipek +# +# This program is free software; you can redistribute it and/or modify it +# under the terms of the GNU General Public License as published by the +# Free Software Foundation; either version 2 of the License, or (at your +# option) any later version. +# +# This program is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY +# or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License +# for more details. +# + +TOPDIR = ../../.. +include $(TOPDIR)/src/include/builddefs + +IAM = postfix +PMDADIR = $(PCP_PMDAS_DIR)/$(IAM) +LSRCFILES = Install Remove pmda$(IAM).pl +LDIRT = domain.h root pmns *.log $(MAN_PAGES) + +ifneq ($(POD2MAN),) +MAN_SECTION = 1 +MAN_PAGES = pmda$(IAM).$(MAN_SECTION) +MAN_DEST = $(PCP_MAN_DIR)/man$(MAN_SECTION) +endif + +default: $(MAN_PAGES) + +pmda$(IAM).1: pmda$(IAM).pl + $(POD_MAKERULE) + +include $(BUILDRULES) + +install: default + $(INSTALL) -m 755 -d $(PMDADIR) + $(INSTALL) -m 755 Install Remove $(PMDADIR) + $(INSTALL) -m 644 pmda$(IAM).pl $(PMDADIR)/pmda$(IAM).pl + @$(INSTALL_MAN) + +default_pcp : default + +install_pcp : install diff --git a/src/pmdas/postfix/Install b/src/pmdas/postfix/Install new file mode 100755 index 0000000..85477c8 --- /dev/null +++ b/src/pmdas/postfix/Install @@ -0,0 +1,27 @@ +#! /bin/sh +# +# Copyright (c) 2009 Josef 'Jeff' Sipek +# +# This program is free software; you can redistribute it and/or modify it +# under the terms of the GNU General Public License as published by the +# Free Software Foundation; either version 2 of the License, or (at your +# option) any later version. +# +# This program is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY +# or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License +# for more details. +# +# Install the postfix PMDA +# + +. $PCP_DIR/etc/pcp.env +. $PCP_SHARE_DIR/lib/pmdaproc.sh + +iam=postfix +perl_opt=true +daemon_opt=false + +pmdaSetup +pmdaInstall +exit 0 diff --git a/src/pmdas/postfix/Remove b/src/pmdas/postfix/Remove new file mode 100755 index 0000000..5d06c62 --- /dev/null +++ b/src/pmdas/postfix/Remove @@ -0,0 +1,25 @@ +#! /bin/sh +# +# Copyright (c) 2009 Josef 'Jeff' Sipek +# +# This program is free software; you can redistribute it and/or modify it +# under the terms of the GNU General Public License as published by the +# Free Software Foundation; either version 2 of the License, or (at your +# option) any later version. +# +# This program is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY +# or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License +# for more details. +# +# Remove the postfix PMDA +# + +. $PCP_DIR/etc/pcp.env +. $PCP_SHARE_DIR/lib/pmdaproc.sh + +iam=postfix + +pmdaSetup +pmdaRemove +exit 0 diff --git a/src/pmdas/postfix/pmdapostfix.pl b/src/pmdas/postfix/pmdapostfix.pl new file mode 100644 index 0000000..234ad5f --- /dev/null +++ b/src/pmdas/postfix/pmdapostfix.pl @@ -0,0 +1,172 @@ +# +# Copyright (c) 2009 Josef 'Jeff' Sipek +# +# This program is free software; you can redistribute it and/or modify it +# under the terms of the GNU General Public License as published by the +# Free Software Foundation; either version 2 of the License, or (at your +# option) any later version. +# +# This program is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY +# or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License +# for more details. +# + +use strict; +use warnings; +use PCP::PMDA; +use Time::HiRes qw ( time ); + +use vars qw( $pmda ); +use vars qw( %caches ); +my $qshape = 'qshape -b 10 -t 5'; +my $refresh = 5.0; # 5 seconds between refreshes + +my $cached = 0; + +sub postfix_do_refresh +{ + my @items; + + foreach my $qname ("maildrop", "incoming", "hold", "active", "deferred") { + open(PIPE, "$qshape $qname |") || die "couldn't execute '$qshape $qname'"; + while() { + last if (/^[\t ]*TOTAL /); + } + close PIPE; + + die "malformed output for '$qshape $qname'" unless (/^[\t ]*TOTAL /); + + s/^[\t ]*//; + s/[\t ]+/ /g; + + @items = split(/ /); + + $caches{$qname}{0} = $items[1]; + $caches{$qname}{1} = $items[2]; + $caches{$qname}{2} = $items[3]; + $caches{$qname}{3} = $items[4]; + $caches{$qname}{4} = $items[5]; + $caches{$qname}{5} = $items[6]; + $caches{$qname}{6} = $items[7]; + $caches{$qname}{7} = $items[8]; + $caches{$qname}{8} = $items[9]; + $caches{$qname}{9} = $items[10]; + $caches{$qname}{10} = $items[11]; + } +} + +sub postfix_fetch_callback +{ + my ($cluster, $item, $inst) = @_; + my $metric_name = pmda_pmid_name($cluster, $item); + my ($qname); + + my $now = time; + + # $pmda->log("postfix_fetch_callback $metric_name $cluster:$item ($inst)\n"); + + if (!defined($metric_name)) { return (PM_ERR_PMID, 0); } + + if ($now - $cached > $refresh) { + postfix_do_refresh(); + $cached = $now; + } + + if ($cluster == 0) { + $qname = $metric_name; + $qname =~ s/^postfix\.queues\.//; + + return (PM_ERR_AGAIN, 0) unless defined($caches{$qname}); + return ($caches{$qname}{$inst}, 1); + } + + return (PM_ERR_PMID, 0); +} + +my $postfix_queues_indom = 0; +my @postfix_queues_dom = ( 0 => 'total', + 1 => '0-5 mins', + 2 => '5-10 mins', + 3 => '10-20 mins', + 4 => '20-40 mins', + 5 => '40-80 mins', + 6 => '80-160 mins', + 7 => '160-320 mins', + 8 => '320-640 mins', + 9 => '640-1280 mins', + 10=> '1280+ mins', + ); + +$pmda = PCP::PMDA->new('postfix', 103); + +$pmda->add_metric(pmda_pmid(0,0), PM_TYPE_U32, $postfix_queues_indom, PM_SEM_INSTANT, + pmda_units(0,0,1,0,0,PM_COUNT_ONE), + "postfix.queues.maildrop", '', ''); +$pmda->add_metric(pmda_pmid(0,1), PM_TYPE_U32, $postfix_queues_indom, PM_SEM_INSTANT, + pmda_units(0,0,1,0,0,PM_COUNT_ONE), + "postfix.queues.incoming", '', ''); +$pmda->add_metric(pmda_pmid(0,2), PM_TYPE_U32, $postfix_queues_indom, PM_SEM_INSTANT, + pmda_units(0,0,1,0,0,PM_COUNT_ONE), + "postfix.queues.hold", '', ''); +$pmda->add_metric(pmda_pmid(0,3), PM_TYPE_U32, $postfix_queues_indom, PM_SEM_INSTANT, + pmda_units(0,0,1,0,0,PM_COUNT_ONE), + "postfix.queues.active", '', ''); +$pmda->add_metric(pmda_pmid(0,4), PM_TYPE_U32, $postfix_queues_indom, PM_SEM_INSTANT, + pmda_units(0,0,1,0,0,PM_COUNT_ONE), + "postfix.queues.deferred", '', ''); + +$pmda->add_indom($postfix_queues_indom, \@postfix_queues_dom, '', ''); + +$pmda->set_fetch_callback(\&postfix_fetch_callback); +$pmda->run; + +=pod + +=head1 NAME + +pmdapostfix - Postfix performance metrics domain agent (PMDA) + +=head1 DESCRIPTION + +B is a Performance Metrics Domain Agent (PMDA) which exports +mail queue sizes as reported by qshape(1). + +=head1 INSTALLATION + +If you want access to the names and values for the Postfix performance +metrics, do the following as root: + + # cd $PCP_PMDAS_DIR/postfix + # ./Install + +If you want to undo the installation, do the following as root: + + # cd $PCP_PMDAS_DIR/postfix + # ./Remove + +B is launched by pmcd(1) and should never be executed +directly. The Install and Remove scripts notify pmcd(1) when +the agent is installed or removed. + +=head1 FILES + +=over + +=item $PCP_PMDAS_DIR/postfix/Install + +installation script for the B agent + +=item $PCP_PMDAS_DIR/postfix/Remove + +undo installation script for the B agent + +=item $PCP_LOG_DIR/pmcd/postfix.log + +default log file for error messages from B + +=back + +=head1 SEE ALSO + +pmcd(1) and qshape(1). diff --git a/src/pmns/stdpmid.pcp b/src/pmns/stdpmid.pcp index 264ce60..5ff1476 100644 --- a/src/pmns/stdpmid.pcp +++ b/src/pmns/stdpmid.pcp @@ -79,6 +79,7 @@ UV 99 NAMED 100 PDNS 101 DTSRUN 102 +POSTFIX 103 ### NEXT FREE SLOT ### DBPING 244 COUNTD 245 From wwwrun@oss.sgi.com Wed Dec 30 04:26:05 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-1.4 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from oss.sgi.com (localhost [127.0.0.1]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id nBUAQ5B4252239 for ; Wed, 30 Dec 2009 04:26:05 -0600 Received: (from wwwrun@localhost) by oss.sgi.com (8.14.3/8.14.3/Submit) id nBUAQ5lZ252236; Wed, 30 Dec 2009 04:26:05 -0600 Date: Wed, 30 Dec 2009 04:26:05 -0600 From: bugzilla-daemon@oss.sgi.com To: pcp@oss.sgi.com Subject: [Bug 859] New: pcp.1.gz manpage conflicts with librapi pcp manpage. X-Bugzilla-Reason: CC X-Bugzilla-Type: newchanged X-Bugzilla-Watch-Reason: None X-Bugzilla-Classification: Unclassified X-Bugzilla-Product: pcp X-Bugzilla-Component: pcp X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: thlarsen@wavefield-inseis.com X-Bugzilla-Status: NEW X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: mort@sgi.com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 http://oss.sgi.com/bugzilla/show_bug.cgi?id=859 Summary: pcp.1.gz manpage conflicts with librapi pcp manpage. Product: pcp Version: unspecified Platform: PC OS/Version: Linux Status: NEW Severity: normal Priority: P4 Component: pcp AssignedTo: mort@sgi.com ReportedBy: thlarsen@wavefield-inseis.com CC: pcp@oss.sgi.com Estimated Hours: 0.0 Classification: Unclassified This one have been around for several years. [root@berlap104 VMware]# rpm -Uvh /home/torel/Download/SGI/PCP/3.0.2-1/fc12/x86_64/* Preparing... ########################################### [100%] file /usr/bin/pcp from install of pcp-3.0.2-1.fc12.x86_64 conflicts with file from package librapi-0.14-2.fc12.x86_64 file /usr/share/man/man1/pcp.1.gz from install of pcp-3.0.2-1.fc12.x86_64 conflicts with file from package librapi-0.14-2.fc12.x86_64 Conflicting file is [root@berlap104 VMware]# rpm -ql librapi | grep -i "man1/pcp.1.gz" /usr/share/man/man1/pcp.1.gz from [root@berlap104 VMware]# rpm -qi librapi Name : librapi Relocations: (not relocatable) Version : 0.14 Vendor: Fedora Project Release : 2.fc12 Build Date: Sun 26 Jul 2009 11:55:50 PM CEST Install Date: Sun 22 Nov 2009 11:09:36 AM CET Build Host: x86-1.fedora.phx.redhat.com Group : System Environment/Libraries Source RPM: librapi-0.14-2.fc12.src.rpm Size : 318442 License: MIT Signature : RSA/SHA1, Thu 06 Aug 2009 10:00:48 PM CEST, Key ID 9d1cc34857bbccba Packager : Fedora Project URL : http://www.synce.org Summary : Library to connect to Pocket PC devices Description : The RAPI library is an open source implementation that works like RAPI.DLL, available on Microsoft operating systems. The library makes it possible to make remote calls to a computer running Pocket PC. In order to use librapi, a daemon that the Pocket PC client connects to must be running on the computer using librapi. I think you should make an effort to convince synce-devel@lists.sourceforge.net to rename this manpage. Regards,ToreL -- Configure bugmail: http://oss.sgi.com/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. From kenj@internode.on.net Thu Dec 31 16:47:38 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.0 required=5.0 tests=AWL,BAYES_00, DATE_IN_PAST_12_24,J_CHICKENPOX_35,J_CHICKENPOX_36 autolearn=no version=3.3.0-rupdated Received: from cuda.sgi.com (cuda2.sgi.com [192.48.176.25]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id nBVMlbax176981 for ; Thu, 31 Dec 2009 16:47:37 -0600 X-ASG-Debug-ID: 1262299703-1ad8024d0000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from mail.internode.on.net (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id A0977134C95 for ; Thu, 31 Dec 2009 14:48:23 -0800 (PST) Received: from mail.internode.on.net (bld-mail14.adl6.internode.on.net [150.101.137.99]) by cuda.sgi.com with ESMTP id YToCF2SkNtiGQmGf for ; Thu, 31 Dec 2009 14:48:23 -0800 (PST) Received: from [124.180.228.53] (unverified [124.180.228.53]) by mail.internode.on.net (SurgeMail 3.8f2) with ESMTP id 11061940-1927428 for ; Fri, 01 Jan 2010 09:18:21 +1030 (CDT) X-ASG-Orig-Subj: pcp updates - derived metrics Subject: pcp updates - derived metrics From: Ken McDonell Reply-To: kenj@internode.on.net To: pcp@oss.sgi.com Content-Type: text/plain; charset="UTF-8" Date: Thu, 31 Dec 2009 18:21:43 +1100 Message-ID: <1262244103.6041.5.camel@bozo-laptop> Mime-Version: 1.0 X-Mailer: Evolution 2.28.1 Content-Transfer-Encoding: 7bit X-Barracuda-Connect: bld-mail14.adl6.internode.on.net[150.101.137.99] X-Barracuda-Start-Time: 1262299705 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: 0.76 X-Barracuda-Spam-Status: No, SCORE=0.76 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests=BSF_RULE7568M, BSF_RULE_7582B, DATE_IN_PAST_12_24, DATE_IN_PAST_12_24_2 X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.2.18611 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- 0.01 DATE_IN_PAST_12_24 Date: is 12 to 24 hours before Received: date 0.50 BSF_RULE7568M Custom Rule 7568M 0.50 BSF_RULE_7582B Custom Rule 7582B 1.77 DATE_IN_PAST_12_24_2 DATE_IN_PAST_12_24_2 X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Status: Clean Here's a little something Santa left under the tree. I believe this is complete, and passes QA (-x remote) with the accompanying batch of pcpqa changes that are on their way. But there is a lot of code here ... it is most of pmie re-implemented in libpcp (!) or three times bigger than interp.c ... so I'd be astounded if there are not things I've missed. Please yell if you find a problem, especially a regression in existing stuff which really should not have happened. If you want to get a quick look at what's been done, check the pmRegisterDerived man page. Changes committed to git://oss.sgi.com/kenj/pcp.git dev man/man1/pcpintro.1 | 17 man/man3/GNUmakefile | 5 man/man3/pmderivederrstr.3 | 38 man/man3/pmloadderivedconfig.3 | 70 man/man3/pmlookupname.3 | 2 man/man3/pmparsehostspec.3 | 2 man/man3/pmregisterderived.3 | 429 +++++ src/include/GNUmakefile | 2 src/include/impl.h | 18 src/include/pmapi.h | 7 src/libpcp/src/GNUmakefile | 9 src/libpcp/src/context.c | 14 src/libpcp/src/derive.c | 3121 ++++++++++++++++++++++++++++++----------- src/libpcp/src/derive.h | 102 + src/libpcp/src/derive_fetch.c | 1388 +++++++++++++++++- src/libpcp/src/desc.c | 21 src/libpcp/src/fetch.c | 39 src/libpcp/src/fetchlocal.c | 3 src/libpcp/src/logutil.c | 25 src/libpcp/src/p_pmns.c | 10 src/libpcp/src/pmns.c | 322 +++- src/libpcp/src/util.c | 34 src/libpcp_gui/src/record.c | 7 src/pmcd/pmdaproc.sh | 70 src/pmdas/mmv/GNUmakefile | 4 src/pmdas/mmv/help | 28 src/pmdas/mmv/mmv.c | 93 - src/pmdas/sample/help | 24 src/pmdas/sample/pmns | 34 src/pmdas/sample/src/sample.c | 145 + src/pmdbg/pmdbg.c | 6 src/pminfo/pminfo.c | 13 32 files changed, 5038 insertions(+), 1064 deletions(-) commit 0bf5e5b70de6e46b58c15e6c999575ae7ecaed25 Author: Ken McDonell Date: Thu Dec 31 17:32:17 2009 +1100 Derived metrics - fix last TODO Problem with matching instances for binary operators when the number of instances (and hence the instance identifiers) do not match between the left and right operands. commit 730bf349c78e121e9f9781829e1253eed35a42d4 Author: Ken McDonell Date: Thu Dec 31 15:07:32 2009 +1100 Derived Metrics - last stage This checkin removes all but 1 of the TODOs, completes the metadata handling (especially dimension and scale), fixes a problem with the value scaling (need both multiplier and divisor in the general case), adds man pages, etc. commit 5876649b19eda9af943719ee14739a3254023ebe Author: Ken McDonell Date: Wed Dec 30 12:00:44 2009 +1100 sample pmda - more metrics Added a bunch of additional metrics to support all of the semantic and aggregate function QA needed for derived metrics. commit fd7425a6fd00ab212c88329a583fbd20995a7871 Author: Ken McDonell Date: Wed Dec 30 11:59:22 2009 +1100 Derived metrics - Stage VI All of the aggregate functions - avg(), count(), delta(), max(), min() and sum() are now implemented. Started the man pages for the derived metrics routines in libpcp. commit f3d88a4dbfe521a377ea5f08fbbe70614df2e89d Author: Ken McDonell Date: Mon Dec 21 21:56:23 2009 +1100 Derived metrics - Stage V Complete some of the TODOs in the earlier work, plus added initial support for delta(metric). These changes have been tested with QA passing -x remote. commit 0ce5b4558c1805a1fcb6068b54cc5922d49fb03c Author: Ken McDonell Date: Wed Dec 16 22:12:14 2009 +1100 Derived metrics - Stage IV With these changes, basic fetching is working and the PMNS services have been fixed to the point where pmchart is able to plot derived metrics. commit d57b16a43e091bb41d0d16b748630dc3d6eb834e Author: Ken McDonell Date: Thu Dec 10 17:37:11 2009 +1100 Derived Metrics - interim commit With these changes, the basic fetch and value propagation and pmResult rewriting is done. Still no arithmetic in the evaluation phase. commit 5f66071c2253807490f542bb463921c75f76e4be Author: Ken McDonell Date: Mon Dec 7 07:33:44 2009 +1100 Derived metrics - stage II Parser is done. Basic hooks in place around context create and destroy. PMNS services done. pmLookupDesc working although some more work is needed on the mapping and checking of pmUnits. commit 74bd314e6cabaaaa7d7d76ccd56b898de1bf1a8d Merge: 248bff8 b6f50cf Author: Ken McDonell Date: Tue Dec 1 17:25:04 2009 +1100 Merge branch 'dev' into derive commit b6f50cf52934be8f47c3e4e67d8e51c882d54718 Author: Ken McDonell Date: Tue Dec 1 17:20:11 2009 +1100 mmv pmda - add mmv.debug Add the metric, store support so it can be set on the fly, help text. Also added some initial diagnostics to help with debugging. commit 55b57946782ac3ade01c30cbbd8864d1fce32b7f Author: Ken McDonell Date: Mon Nov 30 07:06:42 2009 +1100 mmv help text file removed commit 764e3002c0cb1fd93bd4f1f2f3b2c21116b1b223 Author: Ken McDonell Date: Mon Nov 30 07:03:54 2009 +1100 mmv.reload help text changes Because mmv.reload is below the root of a dynamic PMNS subtree at mmv, the name mmv.reload cannot be resolved by newhelp before the PMDA is installed. So the PMDA needs to supply the help text for _all_ metrics of the form mmv.* ... and the "help" file is not needed. commit 51fca57b05721897bcef40fb4fdddc8602c2f66c Author: Ken McDonell Date: Sun Nov 29 06:59:18 2009 +1100 record.c replace mktemp() with mkstemp() when available Removes a compilation warning in the build, and use of mktemp() that has been removed elsewhere in pcp. commit 248bff81782ac24af97b2a8e01f936991e92e1bc Author: Ken McDonell Date: Mon Nov 16 16:45:05 2009 +1100 Derived Metrics - preliminary checkin Nothing is really working yet ... add some new functions for libpcp, add -c dmfile for pminfo to force loading of a set of derived metric definitions and some pmns hooks. commit d0aa0a18a283e8188965a0f62a37ebe3eb7ffa36 Author: Ken McDonell Date: Mon Nov 16 16:44:35 2009 +1100 Fix troff formatting error. commit c46e28a597bf2d85a67a70707bcda0d062edb8b8 Author: Ken McDonell Date: Mon Nov 16 16:41:14 2009 +1100 Revert "pmdaproc.sh Fix pminfo usage" This reverts commit d439aa938f9e9edd20b4bb8761251839008ea378. Back out my changes to redo after discussion with Nathan. commit d439aa938f9e9edd20b4bb8761251839008ea378 Author: Ken McDonell Date: Mon Nov 16 06:18:00 2009 +1100 pmdaproc.sh Fix pminfo usage pminfo is used in several places within the script ... pminfo pminfo -h localhost pminfo -n $NAMESPACE pminfo -h localhost -n $NAMESPACE Remove all the -h localhost stuff as this is simply not needed. Remove the -n $NAMESPACE stuff as this is wrong (need to be interrogating pmcd's view of the PMNS) and this does not work correctly in the presence of metrics that use the dynamic PMNS features. Also cleaned up some of the "Usage" reporting. commit 4e31303ac9dbc7517bfb1c52f6e6c4e817fa4dc1 Author: Ken McDonell Date: Tue Nov 10 14:25:52 2009 +1100 Add DBG_TRACE_DERIVE Tracing infrastructure for derived metrics. Note use with DBG_TRACE_APPL2 for very verbose output, at least in the intial stages of developing derived metrics support. From kenj@internode.on.net Thu Dec 31 16:47:39 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-1.7 required=5.0 tests=AWL,BAYES_00, DATE_IN_PAST_12_24,J_CHICKENPOX_35,J_CHICKENPOX_45 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 nBVMldFs176991 for ; Thu, 31 Dec 2009 16:47:39 -0600 X-ASG-Debug-ID: 1262299704-37ee02020000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from mail.internode.on.net (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id 900771355162 for ; Thu, 31 Dec 2009 14:48:25 -0800 (PST) Received: from mail.internode.on.net (bld-mail16.adl2.internode.on.net [150.101.137.101]) by cuda.sgi.com with ESMTP id lgOxpy5xlRCRVAHu for ; Thu, 31 Dec 2009 14:48:25 -0800 (PST) Received: from [124.180.228.53] (unverified [124.180.228.53]) by mail.internode.on.net (SurgeMail 3.8f2) with ESMTP id 10904334-1927428 for ; Fri, 01 Jan 2010 09:18:23 +1030 (CDT) X-ASG-Orig-Subj: pcpqa updates Subject: pcpqa updates From: Ken McDonell Reply-To: kenj@internode.on.net To: pcp@oss.sgi.com Content-Type: text/plain; charset="UTF-8" Date: Thu, 31 Dec 2009 18:25:47 +1100 Message-ID: <1262244347.6041.6.camel@bozo-laptop> Mime-Version: 1.0 X-Mailer: Evolution 2.28.1 Content-Transfer-Encoding: 7bit X-Barracuda-Connect: bld-mail16.adl2.internode.on.net[150.101.137.101] X-Barracuda-Start-Time: 1262299707 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: 0.26 X-Barracuda-Spam-Status: No, SCORE=0.26 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests=BSF_RULE7568M, DATE_IN_PAST_12_24, DATE_IN_PAST_12_24_2 X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.2.18612 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- 0.01 DATE_IN_PAST_12_24 Date: is 12 to 24 hours before Received: date 0.50 BSF_RULE7568M Custom Rule 7568M 1.77 DATE_IN_PAST_12_24_2 DATE_IN_PAST_12_24_2 X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Status: Clean Changes to accommodate sample PMDA changes and coverage of new derived metrics functionality. Changes committed to git://oss.sgi.com/pcp/pcpqa.git 019.linux | 318 +++++ 029.out | 44 031.out.linux | 2 1108 | 74 + 1108.out | 12 139.out | 22 156 | 8 162.out.4 | 22 225 | 52 225.out | 505 ++++++++- 241 | 125 ++ 241.out | 41 246 | 91 + 246.out | 2111 ++++++++++++++++++++++++++++++++++++++ 247 | 100 + 247.out | 166 ++- 249 | 174 ++- 249.out | 2538 ++++++++++++++++++++++++++++++++++++++++++---- 253 | 85 + 253.out | 239 ++++ 256 | 142 ++ 256.out | 458 ++++++++ 259 | 88 + 259.out | 199 +++ 260 | 106 + 260.out | 510 +++++++-- 263 | 143 ++ 263.out | 1275 +++++++++++++++++++++-- 275 | 126 ++ 275.out | 587 ++++++++++ 334 | 73 + 334.out | 295 +++++ 348 | 8 354 | 3 354.out | 132 -- 569.out | 111 ++ 574.out.linux | 2 600 | 8 600.out.linux.4 | 30 646 | 4 647 | 9 647.out | 63 - 648 | 15 findmetric | 29 group | 31 new | 6 owner | 11 src-oss/.gitignore | 1 src-oss/GNUmakefile | 4 src-oss/grind_ctx.c | 161 ++ src-oss/mksample_expr | 32 src-oss/sample_expr.0 |binary src-oss/sample_expr.index |binary src-oss/sample_expr.meta |binary 54 files changed, 10753 insertions(+), 638 deletions(-) commit 3e97060071b57eb2b5295cde6c5db4b320f4281a Author: Ken McDonell Date: Thu Dec 31 17:31:49 2009 +1100 Derived metrics - last round of changes commit 67d3347add7201889d057bc7dd30c54894b682ee Author: Ken McDonell Date: Thu Dec 31 17:30:19 2009 +1100 334 check instance matching for derived metrics Exercise binary operators when instances on left and right do not match. commit edb0ec600e41eb295683afd28ec26a43ec88f57f Author: Ken McDonell Date: Thu Dec 31 17:29:27 2009 +1100 Assorted changes to match additions to sample pmda Fallout from derived metrics and need to expand metadata coverage in the sample pmda. commit 12be015a7eb2ae996314a50a33b6b0a8165f430c Author: Ken McDonell Date: Thu Dec 31 16:17:12 2009 +1100 275 pmUnits handling for derived metrics commit 83bc83d68c169b0898f956008e08e3c24977254b Author: Ken McDonell Date: Wed Dec 30 11:56:00 2009 +1100 more changes as derived metrics implementation progresses commit b6fdc7450650a945d5946e364c930222ee99bf23 Author: Ken McDonell Date: Wed Dec 30 11:52:22 2009 +1100 263 Exercise aggregate functions for derived metrics commit 697203ff6209dde0aa61419e94ec1fe3e641836a Author: Ken McDonell Date: Sat Dec 26 15:37:05 2009 +1100 assorted changes as derived metrics implementation progresses commit 874452b48945de6ef4b62e9a0c4c2fedf7a5cceb Author: Ken McDonell Date: Sat Dec 26 15:36:02 2009 +1100 259 Derived metrics and delta() function commit 1eb9aa95bd61abebfce77fa89b2a638b481febd1 Author: Ken McDonell Date: Sat Dec 26 15:35:07 2009 +1100 260 Exercise delta() for derived metrics commit fe01c04a2dc71d0ecc8337fb0a4d133d8cd6feb0 Author: Ken McDonell Date: Tue Dec 22 06:27:16 2009 +1100 648 Make order of metrics from mmv PMDA deterministic commit 230d269aa2b8e708bcd72a24902fd701e7cd51bf Author: Ken McDonell Date: Tue Dec 22 06:26:16 2009 +1100 348 add filter for number of metrics and values from kvm PMDA commit 7393efaa0a127f18b900776594e8e28824acb2aa Author: Ken McDonell Date: Tue Dec 22 06:24:48 2009 +1100 253 sample.milliseconds value is not deterministic ... filter it commit ad0b07b6a755d6cdd0d53bf00b5b98d41d0c8acd Author: Ken McDonell Date: Tue Dec 22 06:23:51 2009 +1100 253 sample.milliseconds value is not deterministic ... filter it commit ce49bf7de0a78fe6b5cf5470354b3a6aa7ba30ee Author: Ken McDonell Date: Tue Dec 22 06:22:35 2009 +1100 156 more metrics from sample PMDA now commit 4e664d7a2a8560169c3dbf4ffcacf506b3189ccc Author: Ken McDonell Date: Tue Dec 22 06:18:12 2009 +1100 600 glibc 2.10 changes timezone handling (again) commit 2eb5066f579cfe36ea496383d85d574dc89244f8 Author: Ken McDonell Date: Sun Dec 20 10:28:37 2009 +1100 256 Derived metrics and PMNS operations commit 20a218dc06f7231cbc9ad8972f0663c092d59678 Author: Ken McDonell Date: Sat Dec 12 17:45:07 2009 +1100 253 Derived metrics and archives commit 1d718128df0a7dc72f5cd4d3af570dec8f964397 Author: Ken McDonell Date: Sat Dec 12 08:28:06 2009 +1100 249 Derived metrics and pmFetch commit 4875bbbbe9c6c0d83872efbe93475a7bdcad17e4 Author: Ken McDonell Date: Mon Dec 7 20:04:06 2009 +1100 247 pmDesc mapping for derived metrics commit 40290296dbea423a1658fa58ad9a7f222cc8011e Author: Ken McDonell Date: Fri Dec 4 06:18:40 2009 +1100 647 Rework to make mmv metrics appear in deterministic order commit 7f1a002a0e518bad7abc070be6220ffc957c5875 Author: Ken McDonell Date: Fri Dec 4 06:16:07 2009 +1100 646 Don't need to be root to create mmv directory commit 57420eed59074f624ae26c09cecba8b4e4e9ec26 Author: Ken McDonell Date: Fri Dec 4 06:14:16 2009 +1100 241 mmv pmda now has 2 hard-coded metrics Since I added mmv.debug. commit b9d399c917e543eb7da55d1b92b55a40c62034fa Author: Ken McDonell Date: Fri Dec 4 06:12:49 2009 +1100 grind_ctx.c pmNewContext ... pmDestroyContext loop Used in QA 246. commit d826e1d18d81f6a455d16c986d5ea59b32f82b3f Author: Ken McDonell Date: Fri Dec 4 06:05:31 2009 +1100 246 hammer context create/destroy with derived metrics Exercise the bind and release logic ... looking for malloc errors and memory leaks. commit 537058a73bebc9a281ba11e3d595449c052afed4 Author: Ken McDonell Date: Sun Nov 29 20:42:34 2009 +1100 241 Extra mmv pmda exerciser ... Martin's test case commit 2037a5c935a3fb31c79ef8c72a6bb887920f50c7 Author: Ken McDonell Date: Sun Nov 29 07:35:28 2009 +1100 1108 pmlogger cron.daily (restored from sgi qa) commit 9e31f501b20d484cb4412a8ffacc936c0f004137 Author: Ken McDonell Date: Sun Nov 29 07:33:45 2009 +1100 354 re-enable Only required cosmetic reformatting of the output after the the dialogs contain fewer line breaks from gui recording.