From dak-unpriv@franck.debian.org Mon Dec 1 04:00:44 2014
Return-Path:
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on oss.sgi.com
X-Spam-Level:
X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=ham
version=3.3.1
X-Original-To: pcp@oss.sgi.com
Delivered-To: pcp@oss.sgi.com
Received: from relay.sgi.com (relay1.corp.sgi.com [137.38.102.111])
by oss.sgi.com (Postfix) with ESMTP id C076F7F4E
for ; Mon, 1 Dec 2014 04:00:44 -0600 (CST)
Received: from cuda.sgi.com (cuda2.sgi.com [192.48.176.25])
by relay1.corp.sgi.com (Postfix) with ESMTP id A029B8F8033
for ; Mon, 1 Dec 2014 02:00:44 -0800 (PST)
X-ASG-Debug-ID: 1417428041-04cbb01e5abff880001-S8gJnT
Received: from muffat.debian.org (muffat.debian.org [206.12.19.146]) by cuda.sgi.com with ESMTP id HUEGc7fkzokylg8g (version=TLSv1 cipher=AES128-SHA bits=128 verify=NO) for ; Mon, 01 Dec 2014 02:00:42 -0800 (PST)
X-Barracuda-Envelope-From: dak-unpriv@franck.debian.org
X-Barracuda-Apparent-Source-IP: 206.12.19.146
Received: from franck.debian.org ([138.16.160.12])
from C=NA,ST=NA,L=Ankh Morpork,O=Debian SMTP,OU=Debian SMTP CA,CN=franck.debian.org,EMAIL=hostmaster@franck.debian.org (verified)
by muffat.debian.org with esmtps (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128)
(Exim 4.80)
(envelope-from )
id 1XvNma-0000kY-Li
for pcp@oss.sgi.com; Mon, 01 Dec 2014 10:00:40 +0000
Received: from dak-unpriv by franck.debian.org with local (Exim 4.80)
(envelope-from )
id 1XvNmZ-0007Rv-GP
for pcp@oss.sgi.com; Mon, 01 Dec 2014 10:00:39 +0000
To: pcp@oss.sgi.com
From: Debian FTP Masters
Subject: Processing of pcp_3.10.1_i386.changes
Date: Mon, 01 Dec 2014 10:00:39 +0000
X-ASG-Orig-Subj: Processing of pcp_3.10.1_i386.changes
X-Debian: DAK
X-DAK: DAK
Precedence: bulk
Auto-Submitted: auto-generated
X-Debian-Package: pcp
Message-Id:
X-Barracuda-Connect: muffat.debian.org[206.12.19.146]
X-Barracuda-Start-Time: 1417428041
X-Barracuda-Encrypted: AES128-SHA
X-Barracuda-URL: http://192.48.176.25:80/cgi-mod/mark.cgi
X-Virus-Scanned: by bsmtpd at sgi.com
X-Barracuda-BRTS-Status: 1
X-Barracuda-Spam-Score: 0.00
X-Barracuda-Spam-Status: No, SCORE=0.00 using per-user scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.7 tests=
X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.3.12280
Rule breakdown below
pts rule name description
---- ---------------------- --------------------------------------------------
pcp_3.10.1_i386.changes uploaded successfully to localhost
along with the files:
pcp_3.10.1_i386.deb
pcp-conf_3.10.1_i386.deb
libpcp3-dev_3.10.1_i386.deb
libpcp3_3.10.1_i386.deb
libpcp-gui2-dev_3.10.1_i386.deb
libpcp-gui2_3.10.1_i386.deb
libpcp-mmv1-dev_3.10.1_i386.deb
libpcp-mmv1_3.10.1_i386.deb
libpcp-pmda3-dev_3.10.1_i386.deb
libpcp-pmda3_3.10.1_i386.deb
libpcp-trace2-dev_3.10.1_i386.deb
libpcp-trace2_3.10.1_i386.deb
libpcp-import1-dev_3.10.1_i386.deb
libpcp-import1_3.10.1_i386.deb
python-pcp_3.10.1_i386.deb
libpcp-pmda-perl_3.10.1_i386.deb
libpcp-import-perl_3.10.1_i386.deb
libpcp-logsummary-perl_3.10.1_i386.deb
libpcp-mmv-perl_3.10.1_i386.deb
pcp-import-sar2pcp_3.10.1_all.deb
pcp-import-mrtg2pcp_3.10.1_all.deb
pcp-import-sheet2pcp_3.10.1_all.deb
pcp-import-iostat2pcp_3.10.1_all.deb
pcp-import-collectl2pcp_3.10.1_i386.deb
pcp-doc_3.10.1_all.deb
pcp-testsuite_3.10.1_i386.deb
pcp-manager_3.10.1_i386.deb
pcp-webapi_3.10.1_i386.deb
pcp-gui_3.10.1_i386.deb
pcp_3.10.1.dsc
pcp_3.10.1.tar.xz
Greetings,
Your Debian queue daemon (running on host franck.debian.org)
From envelope@ftp-master.debian.org Mon Dec 1 04:22:38 2014
Return-Path:
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on oss.sgi.com
X-Spam-Level:
X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=ham
version=3.3.1
X-Original-To: pcp@oss.sgi.com
Delivered-To: pcp@oss.sgi.com
Received: from relay.sgi.com (relay3.corp.sgi.com [198.149.34.15])
by oss.sgi.com (Postfix) with ESMTP id 220E27F4E
for ; Mon, 1 Dec 2014 04:22:38 -0600 (CST)
Received: from cuda.sgi.com (cuda2.sgi.com [192.48.176.25])
by relay3.corp.sgi.com (Postfix) with ESMTP id 98509AC002
for ; Mon, 1 Dec 2014 02:22:34 -0800 (PST)
X-ASG-Debug-ID: 1417429351-04cbb01e5bc00230001-S8gJnT
Received: from mailly.debian.org (mailly.debian.org [82.195.75.114]) by cuda.sgi.com with ESMTP id UAjiFNwyDdlLYzEj (version=TLSv1 cipher=AES128-SHA bits=128 verify=NO) for ; Mon, 01 Dec 2014 02:22:32 -0800 (PST)
X-Barracuda-Envelope-From: envelope@ftp-master.debian.org
X-Barracuda-Apparent-Source-IP: 82.195.75.114
Received: from franck.debian.org ([138.16.160.12])
from C=NA,ST=NA,L=Ankh Morpork,O=Debian SMTP,OU=Debian SMTP CA,CN=franck.debian.org,EMAIL=hostmaster@franck.debian.org (verified)
by mailly.debian.org with esmtps (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128)
(Exim 4.80)
(envelope-from )
id 1XvO7i-0001I9-Hq; Mon, 01 Dec 2014 10:22:30 +0000
Received: from dak by franck.debian.org with local (Exim 4.80)
(envelope-from )
id 1XvO7h-00065m-2r; Mon, 01 Dec 2014 10:22:29 +0000
From: Debian FTP Masters
To: PCP Development Team , Nathan Scott
X-DAK: dak process-upload
X-Debian: DAK
X-Debian-Package: pcp
Precedence: bulk
Auto-Submitted: auto-generated
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
Subject: pcp_3.10.1_i386.changes ACCEPTED into unstable
Message-Id:
X-ASG-Orig-Subj: pcp_3.10.1_i386.changes ACCEPTED into unstable
Date: Mon, 01 Dec 2014 10:22:29 +0000
X-Barracuda-Connect: mailly.debian.org[82.195.75.114]
X-Barracuda-Start-Time: 1417429352
X-Barracuda-Encrypted: AES128-SHA
X-Barracuda-URL: http://192.48.176.25:80/cgi-mod/mark.cgi
X-Virus-Scanned: by bsmtpd at sgi.com
X-Barracuda-BRTS-Status: 1
X-Barracuda-Spam-Score: 0.00
X-Barracuda-Spam-Status: No, SCORE=0.00 using per-user scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.7 tests=
X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.3.12280
Rule breakdown below
pts rule name description
---- ---------------------- --------------------------------------------------
Accepted:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.8
Date: Mon, 01 Dec 2014 11:43:08 +1100
Source: pcp
Binary: pcp pcp-conf libpcp3-dev libpcp3 libpcp-gui2-dev libpcp-gui2 libpcp-mmv1-dev libpcp-mmv1 libpcp-pmda3-dev libpcp-pmda3 libpcp-trace2-dev libpcp-trace2 libpcp-import1-dev libpcp-import1 python-pcp libpcp-pmda-perl libpcp-import-perl libpcp-logsummary-perl libpcp-mmv-perl pcp-import-sar2pcp pcp-import-mrtg2pcp pcp-import-sheet2pcp pcp-import-iostat2pcp pcp-import-collectl2pcp pcp-doc pcp-testsuite pcp-manager pcp-webapi pcp-gui
Architecture: source i386 all
Version: 3.10.1
Distribution: unstable
Urgency: low
Maintainer: PCP Development Team
Changed-By: Nathan Scott
Description:
libpcp-gui2 - Performance Co-Pilot graphical client tools library
libpcp-gui2-dev - Performance Co-Pilot graphical client tools library and headers
libpcp-import-perl - Performance Co-Pilot log import Perl module
libpcp-import1 - Performance Co-Pilot data import library
libpcp-import1-dev - Performance Co-Pilot data import library and headers
libpcp-logsummary-perl - Performance Co-Pilot historical log summary module
libpcp-mmv-perl - Performance Co-Pilot Memory Mapped Value Perl module
libpcp-mmv1 - Performance Co-Pilot Memory Mapped Value client library
libpcp-mmv1-dev - Performance Co-Pilot Memory Mapped Value library and headers
libpcp-pmda-perl - Performance Co-Pilot Domain Agent Perl module
libpcp-pmda3 - Performance Co-Pilot Domain Agent library
libpcp-pmda3-dev - Performance Co-Pilot Domain Agent library and headers
libpcp-trace2 - Performance Co-Pilot application tracing library
libpcp-trace2-dev - Performance Co-Pilot application tracing library and headers
libpcp3 - Performance Co-Pilot library
libpcp3-dev - Performance Co-Pilot library and headers
pcp - System level performance monitoring and performance management
pcp-conf - Performance Co-Pilot runtime configuration
pcp-doc - Documentation and tutorial for the Performance Co-Pilot
pcp-gui - Visualisation tools for the Performance Co-Pilot toolkit
pcp-import-collectl2pcp - Tool for importing data from collectl into PCP archive logs
pcp-import-iostat2pcp - Tool for importing data from iostat into PCP archive logs
pcp-import-mrtg2pcp - Tool for importing data from MRTG into PCP archive logs
pcp-import-sar2pcp - Tool for importing data from sar into PCP archive logs
pcp-import-sheet2pcp - Tool for importing data from a spreadsheet into PCP archive logs
pcp-manager - Performance Co-Pilot (PCP) manager daemon
pcp-testsuite - Performance Co-Pilot (PCP) Test Suite
pcp-webapi - Performance Co-Pilot (PCP) web API service
python-pcp - Performance Co-Pilot Python PMAPI module
Changes:
pcp (3.10.1) unstable; urgency=low
.
* New release (full details in CHANGELOG).
Checksums-Sha1:
96d246351248ccbcdcc64a729c40a60b0381ecb0 2817 pcp_3.10.1.dsc
ff798d2d1805609cf27190a8528782f254979f99 9426720 pcp_3.10.1.tar.xz
64860ba16899baa0325d0f48cbb260f92368cccc 1257570 pcp_3.10.1_i386.deb
98bb54fba8e3a31083a0f87307337b5950215df1 17256 pcp-conf_3.10.1_i386.deb
57bf17a6931b0e6ce5b2a7fa4dc632c4f981ec29 416642 libpcp3-dev_3.10.1_i386.deb
69d8ffa991d36e62e47322f091ede63194e331e7 189078 libpcp3_3.10.1_i386.deb
b6eadf409a755a0875cf2374e59b9b5d0c441722 16688 libpcp-gui2-dev_3.10.1_i386.deb
477e56156c3978cc42b5a0d06aad7e22c69bd586 15562 libpcp-gui2_3.10.1_i386.deb
0df4b1df98934241fa50b4ed8aa23446c65c16cc 19250 libpcp-mmv1-dev_3.10.1_i386.deb
23ce97c35e604a33654721ca496a42c011e62a08 12596 libpcp-mmv1_3.10.1_i386.deb
eaaddad399d761dfd02f007a40695ba73e344034 95428 libpcp-pmda3-dev_3.10.1_i386.deb
029d99ba54534c1b3a6b597f41fb8032dd1410bb 36632 libpcp-pmda3_3.10.1_i386.deb
f0d99335218704b906d1ebda334cc7d37090b5a7 27064 libpcp-trace2-dev_3.10.1_i386.deb
8359ae39ff5f1e7337780fc91f00d1ae4c8a7f43 19794 libpcp-trace2_3.10.1_i386.deb
6913b75cdfebf5ac08530ea880c4cce76f17270b 16320 libpcp-import1-dev_3.10.1_i386.deb
32a2b740375300c7d6ff57904ab81d27e2a62c1a 15868 libpcp-import1_3.10.1_i386.deb
9d5372ca790ddb95c2432ce2ccfb0aab814114b0 50602 python-pcp_3.10.1_i386.deb
6c36dabc51b4e21cef823f580e59019a2332f9ed 39586 libpcp-pmda-perl_3.10.1_i386.deb
9bfa0e0c99cad5dfa536aa91a95385559474b18b 16990 libpcp-import-perl_3.10.1_i386.deb
4bbc2006c961cbd6f571e775caeaae02cc91d271 11912 libpcp-logsummary-perl_3.10.1_i386.deb
ee00df182d86cf97647986d51fe12ab483f7bda4 18252 libpcp-mmv-perl_3.10.1_i386.deb
3abddeb6e610b7f4a924cc6e8db63db767b9e76f 14926 pcp-import-sar2pcp_3.10.1_all.deb
6d76a65ebaeb31fa8ec3ac5b2fca3c27d4e36516 9198 pcp-import-mrtg2pcp_3.10.1_all.deb
52c4b76dbbb34d96b01d3a02b629773c8651cc2a 15676 pcp-import-sheet2pcp_3.10.1_all.deb
80ec472d34307858fea08852122c5d557553773c 16124 pcp-import-iostat2pcp_3.10.1_all.deb
2dfb9930badca607530f0fd46d3011fefdf6ba7a 23686 pcp-import-collectl2pcp_3.10.1_i386.deb
3b9a0a54d773ccd81ec5e7d597c8e4d4fcfa81b0 3146564 pcp-doc_3.10.1_all.deb
f1805f4df881e33f745df9e1d9437d92bccf25c4 2756782 pcp-testsuite_3.10.1_i386.deb
4806ce7f348d36ccbfd25e16f41163c9e814ff18 47952 pcp-manager_3.10.1_i386.deb
993cc5c6bb42d5cd2a4e42b3a167e6697ef24787 73284 pcp-webapi_3.10.1_i386.deb
bbbb0fd5c440c6a2b5283011ce20980b0c20b658 653722 pcp-gui_3.10.1_i386.deb
Checksums-Sha256:
a6c09e0fb2b96f351f9bf401d64f00070292d121d3fda445e24f74bd5dbd4fa5 2817 pcp_3.10.1.dsc
f01ae7e04adc225dc1acb8ce9dafc0d56bef199834a54cba75a656051522c32e 9426720 pcp_3.10.1.tar.xz
012107f9b255bc49aeed1430b4759e5b478388749cd032b09f129d08ee6eebd8 1257570 pcp_3.10.1_i386.deb
1b7c5dcae3b5b50a1d448474fb6861e4c44a57f3125f1b21dbd1aace64a75ab6 17256 pcp-conf_3.10.1_i386.deb
32c4cf04784afdcab0ea3eec4924880cc83dbf5b3d121431e5d67291a1058434 416642 libpcp3-dev_3.10.1_i386.deb
eda8dd8aefc4b2e46e238011909ec9c4b7c2453c82b9b1e14ac59e4cde3c3f3b 189078 libpcp3_3.10.1_i386.deb
33c608c761b5b9e3b490bbcb1c7b9b5597d79867c81f304a0a8fc4e8a0c99e02 16688 libpcp-gui2-dev_3.10.1_i386.deb
9aa1ca7d274e2d37258b580f14c211949461982b1028aa1acd8884ae8067c645 15562 libpcp-gui2_3.10.1_i386.deb
56c5ef23b50441cf1a6bd00211329f43aa53222f5a2769a5122dafe64b805a29 19250 libpcp-mmv1-dev_3.10.1_i386.deb
de0de49979697e67d5998a5658f3fcf3f4510e5d4980fbd108fc3aa3e8d14635 12596 libpcp-mmv1_3.10.1_i386.deb
bc4e59bf1730fe9d9bde40b4abf4ca59763a1c33dd9f84bc5994a06156d3f8b7 95428 libpcp-pmda3-dev_3.10.1_i386.deb
b4b8b4a628348b90a43b4085913542c827fed45b8f1131217f76af516080e960 36632 libpcp-pmda3_3.10.1_i386.deb
26e55818c44d8e270d10674ed04521d4225b6f2eabb55c928bfe58eb9730b4ba 27064 libpcp-trace2-dev_3.10.1_i386.deb
e8721e44c1fe020c017540a1ea62e1c096830ca0d87cbf3228f27f9045a824c5 19794 libpcp-trace2_3.10.1_i386.deb
a47944e746d0a182602f088f29104e876653c461e9120663a698ed583d23b266 16320 libpcp-import1-dev_3.10.1_i386.deb
40b4ff2aae2158a9e86345ded4ae505144dcc8a6773a07b64214e2808392a911 15868 libpcp-import1_3.10.1_i386.deb
b1468b2a7efa2a292d426b96c5f46ee5deb51a0ea0b39988c77f0274e4f312ed 50602 python-pcp_3.10.1_i386.deb
67da7411118446421d6b8d7aeac842032ddab275bd45524a5573e6edb18e2e6a 39586 libpcp-pmda-perl_3.10.1_i386.deb
d312d6fa7d73871ccc05f8ac231cc523baef1aa5cf6c1874aa70307cd68e215b 16990 libpcp-import-perl_3.10.1_i386.deb
27f8b9a84412b7a17916782ead15160ce70665c78ab7205c609cc62e4ce7aaa3 11912 libpcp-logsummary-perl_3.10.1_i386.deb
b8a8badc544a22c97ce2eb1ade1f6ab4132992785cc0f670206f5f9a69cbda1e 18252 libpcp-mmv-perl_3.10.1_i386.deb
258e73dc9484304df9fc637ad50ff0a6e885394d524f4ca9ebfe7ceb3ce0aa1f 14926 pcp-import-sar2pcp_3.10.1_all.deb
5adcba32277d8fb5b613e7cb9d4b23919892d63f304a97f986930f9b40bf174e 9198 pcp-import-mrtg2pcp_3.10.1_all.deb
239ac3ae8ee1825ccd9ec871273eecc6a43a576f91a437592322e84fe3e9d03c 15676 pcp-import-sheet2pcp_3.10.1_all.deb
ad861c53c8205789601cdd0ecb4eefb073fac7233c859af952791b3eacd47af1 16124 pcp-import-iostat2pcp_3.10.1_all.deb
74ffed68a9de6e2a3dcc23ac357c598c6eab1728a77e86e8e6c02d51f9830cdb 23686 pcp-import-collectl2pcp_3.10.1_i386.deb
0aa2246c6467156ecbe075fd93019030b11fad1377edc1ccd010dce5ec2c6471 3146564 pcp-doc_3.10.1_all.deb
45b3c7324bbd99d7ed908365f55ab68b91a7efc6c561c0c4d9104510adceddb5 2756782 pcp-testsuite_3.10.1_i386.deb
4cda0e11cc80f2fa1371f7fd15971756d24e00ee1f7872317ff78d627d89e0a0 47952 pcp-manager_3.10.1_i386.deb
e61a9fa015371b126784abc1b943224665d09d1f914ee61c4612f81afac91cb5 73284 pcp-webapi_3.10.1_i386.deb
c60ed890bd45507c9e2b8d5b297cef67a995bb8279f8e5a726a9d6e159a1fa98 653722 pcp-gui_3.10.1_i386.deb
Files:
d5d45ce462d2b58d496b7e3396bd66c3 1257570 utils extra pcp_3.10.1_i386.deb
05193e612baf0e24d0e232a6a3847005 17256 libs extra pcp-conf_3.10.1_i386.deb
9922951617d08ea58d24cd7e6cfb4760 416642 libdevel extra libpcp3-dev_3.10.1_i386.deb
0086903bf1e1e7c73349cefc12a64e7a 189078 libs extra libpcp3_3.10.1_i386.deb
ca37b1166ceb0a26e40b1f8ae25fd1b5 16688 libdevel extra libpcp-gui2-dev_3.10.1_i386.deb
ddc1a2f695bd7ea1e16e1417ecf79fff 15562 libs extra libpcp-gui2_3.10.1_i386.deb
1aa47a916fda0ed0b822ec3730e13276 19250 libdevel extra libpcp-mmv1-dev_3.10.1_i386.deb
7dcd562c732768055ae98fc5144577e1 12596 libs extra libpcp-mmv1_3.10.1_i386.deb
e26cc9ece047406c8ef4e7fec468a047 95428 libdevel extra libpcp-pmda3-dev_3.10.1_i386.deb
cd6651da9e74f67286c4538c25ca686f 36632 libs extra libpcp-pmda3_3.10.1_i386.deb
3cb62f864aee6dddb5f47cce8eecf8c3 27064 libdevel extra libpcp-trace2-dev_3.10.1_i386.deb
8804236a83b4ccadfe74c0c682d33e84 19794 libs extra libpcp-trace2_3.10.1_i386.deb
247d8c9291a1ae2856d45fbe8fe51ceb 16320 libdevel extra libpcp-import1-dev_3.10.1_i386.deb
83de379dd18345d3307d918751fa2c9c 15868 libs extra libpcp-import1_3.10.1_i386.deb
bfb8bf890690951d5ac6b2c525196256 50602 python extra python-pcp_3.10.1_i386.deb
001708da99890800f8520fb7990f5da3 39586 perl extra libpcp-pmda-perl_3.10.1_i386.deb
18d4c42540a7e86d20ab6b2f7a90b209 16990 perl extra libpcp-import-perl_3.10.1_i386.deb
21c9230bd8c3c45b5d6b78d043ffee07 11912 perl extra libpcp-logsummary-perl_3.10.1_i386.deb
e2c1da9c194029a04db8fb025c03b9f0 18252 perl extra libpcp-mmv-perl_3.10.1_i386.deb
b868242dfb1c52b4c0d27f0307a16770 14926 utils extra pcp-import-sar2pcp_3.10.1_all.deb
82ceabbf01e1fa3b3f1e01bf141b7f77 9198 utils extra pcp-import-mrtg2pcp_3.10.1_all.deb
d98182f082cdebc0cb93bd9f20d7bc6f 15676 utils extra pcp-import-sheet2pcp_3.10.1_all.deb
b34f1fd370391158fab97f19c05de679 16124 utils extra pcp-import-iostat2pcp_3.10.1_all.deb
a3e348360a5310fe2fe8d79f9591130c 23686 utils extra pcp-import-collectl2pcp_3.10.1_i386.deb
6fc79ecfad517d07f4e3111a5b80d891 3146564 doc extra pcp-doc_3.10.1_all.deb
3a34c25d6a3375a9de263b6342defccd 2756782 utils extra pcp-testsuite_3.10.1_i386.deb
299e4900f1293dc10f163384041aee33 47952 utils extra pcp-manager_3.10.1_i386.deb
44c5a2638586816620b1472a980b793d 73284 utils extra pcp-webapi_3.10.1_i386.deb
778273348194dde07653dc7c688d5750 653722 utils extra pcp-gui_3.10.1_i386.deb
0d76d00394b22a6f7f19aa76c347e5bc 2817 utils extra pcp_3.10.1.dsc
99a4960b2b257b0996cda1879315546f 9426720 utils extra pcp_3.10.1.tar.xz
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)
iEYEARECAAYFAlR737kACgkQm8fl3HSIa2P4AwCfQMAEPWlsTSNFq7Ig4r8cJOsY
nr4AoL68FMJURHw8zOMNIGN8nzXa5RPA
=+b1f
-----END PGP SIGNATURE-----
Thank you for your contribution to Debian.
From pcp-announce-bounces@oss.sgi.com Mon Dec 1 05:08:52 2014
Return-Path:
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on oss.sgi.com
X-Spam-Level:
X-Spam-Status: No, score=0.0 required=5.0 tests=RP_MATCHES_RCVD autolearn=ham
version=3.3.1
X-Original-To: pcp@oss.sgi.com
Delivered-To: pcp@oss.sgi.com
Received: from oss.sgi.com (localhost [IPv6:::1])
by oss.sgi.com (Postfix) with ESMTP id 0F6CB7F5A;
Mon, 1 Dec 2014 05:08:52 -0600 (CST)
X-Original-To: pcp-announce@oss.sgi.com
Delivered-To: pcp-announce@oss.sgi.com
Received: from relay.sgi.com (relay3.corp.sgi.com [198.149.34.15])
by oss.sgi.com (Postfix) with ESMTP id D65447F58
for ; Mon, 1 Dec 2014 05:08:50 -0600 (CST)
Received: from cuda.sgi.com (cuda3.sgi.com [192.48.176.15])
by relay3.corp.sgi.com (Postfix) with ESMTP id 65B6BAC003
for ; Mon, 1 Dec 2014 03:08:50 -0800 (PST)
X-ASG-Debug-ID: 1417432124-04cb6c0570c10980001-87ZIJf
Received: from mx3-phx2.redhat.com (mx3-phx2.redhat.com [209.132.183.24]) by
cuda.sgi.com with ESMTP id 7dUbCQQNktOvaRHB (version=TLSv1
cipher=AES256-SHA bits=256 verify=NO) for ;
Mon, 01 Dec 2014 03:08:45 -0800 (PST)
X-Barracuda-Envelope-From: nscott@redhat.com
X-Barracuda-Apparent-Source-IP: 209.132.183.24
Received: from zmail20.collab.prod.int.phx2.redhat.com
(zmail20.collab.prod.int.phx2.redhat.com [10.5.83.23])
by mx3-phx2.redhat.com (8.13.8/8.13.8) with ESMTP id sB1B8i0c015033
for ; Mon, 1 Dec 2014 06:08:44 -0500
Date: Mon, 1 Dec 2014 06:08:44 -0500 (EST)
From: Nathan Scott
To: pcp-announce
Message-ID: <712037306.7801422.1417432124521.JavaMail.zimbra@redhat.com>
In-Reply-To: <85954177.7792268.1417430828803.JavaMail.zimbra@redhat.com>
MIME-Version: 1.0
X-ASG-Orig-Subj: Performance Co-Pilot 3.10.1 release + new website
X-Originating-IP: [10.5.82.6]
X-Mailer: Zimbra 8.0.6_GA_5922 (ZimbraWebClient - FF17 (Linux)/8.0.6_GA_5922)
Thread-Topic: Performance Co-Pilot 3.10.1 release + new website
Thread-Index: z3b+UNA2xn5Bqz3xcBLznOXEJnRMkA==
X-Barracuda-Connect: mx3-phx2.redhat.com[209.132.183.24]
X-Barracuda-Start-Time: 1417432125
X-Barracuda-Encrypted: AES256-SHA
X-Barracuda-URL: http://192.48.176.15:80/cgi-mod/mark.cgi
X-Virus-Scanned: by bsmtpd at sgi.com
X-Barracuda-BRTS-Status: 1
X-Barracuda-Spam-Score: 0.02
X-Barracuda-Spam-Status: No,
SCORE=0.02 using per-user scores of TAG_LEVEL=1000.0
QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.7 tests=THREAD_INDEX,
THREAD_TOPIC
X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.3.12281
Rule breakdown below
pts rule name description
---- ----------------------
--------------------------------------------------
0.01 THREAD_INDEX thread-index: AcO7Y8iR61tzADqsRmmc5wNiFHEOig==
0.01 THREAD_TOPIC Thread-Topic: ...(Japanese Subject)...
Subject: [pcp-announce] Performance Co-Pilot 3.10.1 release + new website
X-BeenThere: pcp-announce@oss.sgi.com
X-Mailman-Version: 2.1.14
Precedence: list
Reply-To: Nathan Scott
List-Id: Performance Co-Pilot announcements
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: pcp-announce-bounces@oss.sgi.com
Sender: pcp-announce-bounces@oss.sgi.com
Hi all,
The pcp-3.10.1 release has been tagged and set free. This
release is accompanied by a fantastic rework of all of the
PCP web content by Michele Baldessari. Special thanks to
Dave Brolley for ramping up on code review-and-merge tasks
for this release too.
[ http://www.pcp.io ]
pcp-3.10.1 (1 December 2014)
- pmda proc: rework existing per-cgroup metrics - no
longer use dynamic metrics, allowing arbitray names
- pmda proc: add many new per-cgroup metrics, audited
definitions (units, etc) for existing metrics.
- perfevent pmda: new libpfm hardware counters agent
- papi pmda: switch to using dynamic metrics
- papi pmda: multiplexing, auto-enabling options
- papi pmda: added a new papi.control.reset metric
- pmwebd: improve /metrics/find for graphite dashboard
- pmwebd: $PCP_SHARE_DIR/webapps - default web content
- docs: clarify web services section in quick guide
- docs: fix books build for current publican versions
- docs: enable building of html book content as well
- linux pmda: improve aarch64 /proc/cpuinfo parsing
- libpcp: fix 64bit endian bug in highres event timers
Enjoy!
--
Nathan
_______________________________________________
pcp-announce mailing list
pcp-announce@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/pcp-announce
From fche@redhat.com Mon Dec 1 09:45:27 2014
Return-Path:
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on oss.sgi.com
X-Spam-Level: *
X-Spam-Status: No, score=1.5 required=5.0 tests=COMPENSATION autolearn=no
version=3.3.1
X-Original-To: pcp@oss.sgi.com
Delivered-To: pcp@oss.sgi.com
Received: from relay.sgi.com (relay1.corp.sgi.com [137.38.102.111])
by oss.sgi.com (Postfix) with ESMTP id 107CA7F57
for ; Mon, 1 Dec 2014 09:45:27 -0600 (CST)
Received: from cuda.sgi.com (cuda2.sgi.com [192.48.176.25])
by relay1.corp.sgi.com (Postfix) with ESMTP id E546B8F8050
for ; Mon, 1 Dec 2014 07:45:23 -0800 (PST)
X-ASG-Debug-ID: 1417448719-04cbb01e59c275c0001-S8gJnT
Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by cuda.sgi.com with ESMTP id 1XqIxPlPdjJMIJOT (version=TLSv1 cipher=AES256-SHA bits=256 verify=NO) for ; Mon, 01 Dec 2014 07:45:19 -0800 (PST)
X-Barracuda-Envelope-From: fche@redhat.com
X-Barracuda-Apparent-Source-IP: 209.132.183.28
X-ASG-Whitelist: Client
Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24])
by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id sB1FjIhU004849
(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL)
for ; Mon, 1 Dec 2014 10:45:18 -0500
Received: from fche.csb (vpn-238-111.phx2.redhat.com [10.3.238.111])
by int-mx11.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id sB1FjIWf025055
for ; Mon, 1 Dec 2014 10:45:18 -0500
Received: by fche.csb (Postfix, from userid 2569)
id DD0665819B; Mon, 1 Dec 2014 10:45:17 -0500 (EST)
Date: Mon, 1 Dec 2014 10:45:17 -0500
From: "Frank Ch. Eigler"
To: pcp developers
Subject: RFC pcp update: pmParseUnitsStr() function
Message-ID: <20141201154517.GK5088@redhat.com>
X-ASG-Orig-Subj: RFC pcp update: pmParseUnitsStr() function
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.4.2.2i
X-Scanned-By: MIMEDefang 2.68 on 10.5.11.24
X-Barracuda-Connect: mx1.redhat.com[209.132.183.28]
X-Barracuda-Start-Time: 1417448719
X-Barracuda-Encrypted: AES256-SHA
X-Barracuda-URL: http://192.48.176.25:80/cgi-mod/mark.cgi
X-Virus-Scanned: by bsmtpd at sgi.com
X-Barracuda-BRTS-Status: 1
Hi -
As a part of the fetchgroup prototyping, this preparatory step is
ready for your look. It consists of a new PMAPI function
pmParseUnitsStr() which apprx. reverses pmUnitsStr(), so that pmUnits
may be specified in textual form. The patchset includes considerable
QA, and a bit of docs & demo code. I hope to exploit the new facility
in the fetchgroup stuff, pmwebd, python bindings, and other pcp
clients over time. There is a bonus man-page-typo fix too.
pcpfans.git fche/units-parse branch:
commit 62b0cdbd491ca31bd316307486d5bf32bdd09746
Author: Frank Ch. Eigler
Date: Mon Dec 1 10:33:43 2014 -0500
demo for pmParseUnitsStr: procmemstat.c
This little demo program now takes an optional -u "STRING", which lets
a user rescale numbers to units other than 'kbytes'. The code now
also demonstrates nontrivial command line option handling patterns.
commit e25824a4cae7565935834d15f2bb8dd3a84f855f
Author: Frank Ch. Eigler
Date: Sun Nov 30 21:21:13 2014 -0500
man page for new pmParseUnitsStr() function
commit 37c7f71f5583ca3c1adbcfffa7f74ea998297a0e
Author: Frank Ch. Eigler
Date: Sun Nov 30 11:17:04 2014 -0500
qa for new pmParseUnitsStr() function
The tests include an exhaustive scan, round-tripping all valid
pmUnits() tuples through pmUnitsStr and back through pmParseUnitsStr.
("valid" excludes tuples with dim=0 but scale!=0. Also, due to a
parsing ambiguity with count scale-vs-dimensions, the round-tripping
check is slightly adjusted for them.)
The 670 test also exhaustively tests all new keywords, and all
forcesable code paths (as guided by gcov output). Floating point
calculations are all in double but rendered to default %g precision,
so should be accurate across platforms. (Tested on linux x86-64).
commit a3546d6bb56f5ec04b9d7801a0a078fcc3136e3f
Author: Frank Ch. Eigler
Date: Sun Nov 30 11:05:04 2014 -0500
PMAPI extension: pmParseUnitsStr
We introduce a function that reverses pmUnitsStr (and then some), so
that users can specify desired metric unit/scale conversions in
somewhat free-form textual form. The API function looks like this:
int pmParseUnitsStr(const char *, pmUnits *, double *)
where the latter two arguments are the results. The first output is
what one would expect. The last parameter is a final arithmetic
multiplier, which may be simply 1.0 for a straight pmUnitsStr() format
text, or is the appropriate factor to compensate for a user asking for
conversion of a quantity to
"10 megabytes / 15 minutes"
commit 6ca0513d12033e549a8dd38ee1c71063babe0d69
Author: Frank Ch. Eigler
Date: Sun Nov 30 10:56:21 2014 -0500
man pmlookupdesc.3: correct pmUnits documentation
The scaleSpace and scaleTime have been unsigned:4 bitfields since
commit 1c5cb90d01 back in 2009. Correcting the documentation to match.
From chandana@desilva.id.au Mon Dec 1 12:38:48 2014
Return-Path:
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on oss.sgi.com
X-Spam-Level:
X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=ham
version=3.3.1
X-Original-To: pcp@oss.sgi.com
Delivered-To: pcp@oss.sgi.com
Received: from relay.sgi.com (relay2.corp.sgi.com [137.38.102.29])
by oss.sgi.com (Postfix) with ESMTP id A64087F57
for ; Mon, 1 Dec 2014 12:38:48 -0600 (CST)
Received: from cuda.sgi.com (cuda1.sgi.com [192.48.157.11])
by relay2.corp.sgi.com (Postfix) with ESMTP id 8688B30404E
for ; Mon, 1 Dec 2014 10:38:45 -0800 (PST)
X-ASG-Debug-ID: 1417459119-04bdf06161e513c0001-S8gJnT
Received: from mho-02-ewr.mailhop.org (mho-02-ewr.mailhop.org [204.13.248.72]) by cuda.sgi.com with ESMTP id TBj6lFr0DUzYPc01 (version=TLSv1 cipher=AES256-SHA bits=256 verify=NO) for ; Mon, 01 Dec 2014 10:38:40 -0800 (PST)
X-Barracuda-Envelope-From: chandana@desilva.id.au
X-Barracuda-Apparent-Source-IP: 204.13.248.72
Received: from ec2-54-252-74-219.ap-southeast-2.compute.amazonaws.com ([54.252.74.219] helo=mail.desilva.id.au)
by mho-02-ewr.mailhop.org with esmtpa (Exim 4.72)
(envelope-from )
id 1XvVrr-000L4w-Cg
for pcp@oss.sgi.com; Mon, 01 Dec 2014 18:38:39 +0000
Received: from [192.168.1.135] (d211-31-205-122.sun802.vic.optusnet.com.au [211.31.205.122])
by mail.desilva.id.au (Postfix) with ESMTPSA id 7B25624190
for ; Mon, 1 Dec 2014 18:38:37 +0000 (UTC)
X-Mail-Handler: Dyn Standard SMTP by Dyn
X-Originating-IP: 54.252.74.219
X-Report-Abuse-To: abuse@dyndns.com (see http://www.dyndns.com/services/sendlabs/outbound_abuse.html for abuse reporting information)
X-MHO-User: U2FsdGVkX1+9tuCAT0fmlThfBOKzDIEo6R4RqgKKPXQ=
Message-ID: <1417459116.12396.15.camel@tardis>
Subject: pmwebd: Defining the directory for PCP Archives
From: Chandana De Silva
X-ASG-Orig-Subj: pmwebd: Defining the directory for PCP Archives
Reply-To: chandana@desilva.id.au
To: pcp@oss.sgi.com
Date: Tue, 02 Dec 2014 05:38:36 +1100
Content-Type: text/plain; charset="UTF-8"
X-Mailer: Evolution 3.10.4 (3.10.4-4.fc20)
Mime-Version: 1.0
Content-Transfer-Encoding: 7bit
X-Barracuda-Connect: mho-02-ewr.mailhop.org[204.13.248.72]
X-Barracuda-Start-Time: 1417459120
X-Barracuda-Encrypted: AES256-SHA
X-Barracuda-URL: http://192.48.157.11:80/cgi-mod/mark.cgi
X-Virus-Scanned: by bsmtpd at sgi.com
X-Barracuda-BRTS-Status: 1
X-Barracuda-Spam-Score: 0.00
X-Barracuda-Spam-Status: No, SCORE=0.00 using per-user scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.7 tests=
X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.3.12297
Rule breakdown below
pts rule name description
---- ---------------------- --------------------------------------------------
Hello All,
I am trying to set up pmwebd
I have installed pcp-webapi 3.10
I have copied the contents of pcp-webjs.src.tar.gz
to /usr/share/pcp/webapps/
I updated /etc/pcp/pmwebd/pmwebd.options to point
to /usr/share/pcp/webapps/
I do not see an option to define the location of the archives. If I have
them in /path/to/pcparchives, how do I define that ?
$ cat /etc/pcp/pmwebd/pmwebd.options
# command-line options and environment variables for pmwebd(1)
# These defaults expose graphite/resource content and normally placed archives
# (assume pwd=$PCP_LOG_DIR/pmwebd)
OPTIONS="-l pmwebd.log"
#OPTIONS="-p 9999" # port number
# Graphite
OPTIONS="$OPTIONS -R $PCP_SHARE_DIR/webapps -A $PCP_LOG_DIR -G"
# Assume identity of some user other than "pcp"
# OPTIONS="$OPTIONS -U nobody"
# Add some verbosity
OPTIONS="$OPTIONS -v"
# Add any extra derived metrics; see pmLoadDerivedConfig(3) for format.
# PCP_DERIVED_CONFIG=/path/to/your/file
# export PCP_DERIVED_CONFIG
# Shorten timeouts for interactions with pmcd on behalf of clients,
# since pmwebd runs single-threaded.
PMCD_CONNECT_TIMEOUT=3
PMCD_RECONNECT_TIMEOUT=1,2,3
PMCD_REQUEST_TIMEOUT=1
export PMCD_CONNECT_TIMEOUT PMCD_RECONNECT_TIMEOUT PMCD_REQUEST_TIMEOUT
From chandana@desilva.id.au Mon Dec 1 12:45:25 2014
Return-Path:
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on oss.sgi.com
X-Spam-Level:
X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=ham
version=3.3.1
X-Original-To: pcp@oss.sgi.com
Delivered-To: pcp@oss.sgi.com
Received: from relay.sgi.com (relay2.corp.sgi.com [137.38.102.29])
by oss.sgi.com (Postfix) with ESMTP id 2A09D7F57
for ; Mon, 1 Dec 2014 12:45:25 -0600 (CST)
Received: from cuda.sgi.com (cuda2.sgi.com [192.48.176.25])
by relay2.corp.sgi.com (Postfix) with ESMTP id 195D1304032
for ; Mon, 1 Dec 2014 10:45:24 -0800 (PST)
X-ASG-Debug-ID: 1417459520-04cbb01e5bc50d20001-S8gJnT
Received: from mho-01-ewr.mailhop.org (mho-03-ewr.mailhop.org [204.13.248.66]) by cuda.sgi.com with ESMTP id lqTyTTkwpJ9DxZ6L (version=TLSv1 cipher=AES256-SHA bits=256 verify=NO) for ; Mon, 01 Dec 2014 10:45:20 -0800 (PST)
X-Barracuda-Envelope-From: chandana@desilva.id.au
X-Barracuda-Apparent-Source-IP: 204.13.248.66
Received: from ec2-54-252-74-219.ap-southeast-2.compute.amazonaws.com ([54.252.74.219] helo=mail.desilva.id.au)
by mho-01-ewr.mailhop.org with esmtpa (Exim 4.72)
(envelope-from )
id 1XvVyJ-000PLB-N7
for pcp@oss.sgi.com; Mon, 01 Dec 2014 18:45:20 +0000
Received: from [192.168.1.135] (d211-31-205-122.sun802.vic.optusnet.com.au [211.31.205.122])
by mail.desilva.id.au (Postfix) with ESMTPSA id 0BD1A24190
for ; Mon, 1 Dec 2014 18:45:17 +0000 (UTC)
X-Mail-Handler: Dyn Standard SMTP by Dyn
X-Originating-IP: 54.252.74.219
X-Report-Abuse-To: abuse@dyndns.com (see http://www.dyndns.com/services/sendlabs/outbound_abuse.html for abuse reporting information)
X-MHO-User: U2FsdGVkX1/trA3TXcXRzOo4l1akn5FbFFU5KFh+gsI=
Message-ID: <1417459517.12396.18.camel@tardis>
Subject: Makepkgs does not build pcp-webapi
From: Chandana De Silva
X-ASG-Orig-Subj: Makepkgs does not build pcp-webapi
Reply-To: chandana@desilva.id.au
To: pcp@oss.sgi.com
Date: Tue, 02 Dec 2014 05:45:17 +1100
Content-Type: text/plain; charset="UTF-8"
X-Mailer: Evolution 3.10.4 (3.10.4-4.fc20)
Mime-Version: 1.0
Content-Transfer-Encoding: 7bit
X-Barracuda-Connect: mho-03-ewr.mailhop.org[204.13.248.66]
X-Barracuda-Start-Time: 1417459520
X-Barracuda-Encrypted: AES256-SHA
X-Barracuda-URL: http://192.48.176.25:80/cgi-mod/mark.cgi
X-Virus-Scanned: by bsmtpd at sgi.com
X-Barracuda-BRTS-Status: 1
X-Barracuda-Spam-Score: 0.00
X-Barracuda-Spam-Status: No, SCORE=0.00 using per-user scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.7 tests=
X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.3.12297
Rule breakdown below
pts rule name description
---- ---------------------- --------------------------------------------------
I recently built pcp 3.10 for CentOS 6 using the source from git.
However the pcp-webapi rpm did not get built.
How can I get that to be built ?
From fche@redhat.com Mon Dec 1 15:08:58 2014
Return-Path:
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on oss.sgi.com
X-Spam-Level:
X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=ham
version=3.3.1
X-Original-To: pcp@oss.sgi.com
Delivered-To: pcp@oss.sgi.com
Received: from relay.sgi.com (relay3.corp.sgi.com [198.149.34.15])
by oss.sgi.com (Postfix) with ESMTP id BA3827F57
for ; Mon, 1 Dec 2014 15:08:58 -0600 (CST)
Received: from cuda.sgi.com (cuda1.sgi.com [192.48.157.11])
by relay3.corp.sgi.com (Postfix) with ESMTP id 673F7AC00F
for ; Mon, 1 Dec 2014 13:08:55 -0800 (PST)
X-ASG-Debug-ID: 1417468131-04bdf0615fe8d840001-S8gJnT
Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by cuda.sgi.com with ESMTP id JLbXPAi4upMezmen (version=TLSv1 cipher=AES256-SHA bits=256 verify=NO) for ; Mon, 01 Dec 2014 13:08:51 -0800 (PST)
X-Barracuda-Envelope-From: fche@redhat.com
X-Barracuda-Apparent-Source-IP: 209.132.183.28
X-ASG-Whitelist: Client
Received: from int-mx13.intmail.prod.int.phx2.redhat.com (int-mx13.intmail.prod.int.phx2.redhat.com [10.5.11.26])
by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id sB1L8njb028490
(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL);
Mon, 1 Dec 2014 16:08:50 -0500
Received: from fche.csb (vpn-238-111.phx2.redhat.com [10.3.238.111])
by int-mx13.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id sB1L8n79030806;
Mon, 1 Dec 2014 16:08:49 -0500
Received: by fche.csb (Postfix, from userid 2569)
id C9F795819B; Mon, 1 Dec 2014 16:08:48 -0500 (EST)
To: chandana@desilva.id.au
Cc: pcp@oss.sgi.com
Subject: Re: pmwebd: Defining the directory for PCP Archives
References: <1417459116.12396.15.camel@tardis>
X-ASG-Orig-Subj: Re: pmwebd: Defining the directory for PCP Archives
From: fche@redhat.com (Frank Ch. Eigler)
Date: Mon, 01 Dec 2014 16:08:48 -0500
In-Reply-To: <1417459116.12396.15.camel@tardis> (Chandana De Silva's message of "Tue, 02 Dec 2014 05:38:36 +1100")
Message-ID:
User-Agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.4 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Scanned-By: MIMEDefang 2.68 on 10.5.11.26
X-Barracuda-Connect: mx1.redhat.com[209.132.183.28]
X-Barracuda-Start-Time: 1417468131
X-Barracuda-Encrypted: AES256-SHA
X-Barracuda-URL: http://192.48.157.11:80/cgi-mod/mark.cgi
X-Virus-Scanned: by bsmtpd at sgi.com
X-Barracuda-BRTS-Status: 1
Chandana De Silva writes:
> [...]
> I do not see an option to define the location of the archives. If I have
> them in /path/to/pcparchives, how do I define that ?
> [...]
> # Graphite
> OPTIONS="$OPTIONS -R $PCP_SHARE_DIR/webapps -A $PCP_LOG_DIR -G"
As per "man pmwebd", the option you're looking for is the -A $DIR above.
- FChE
From nscott@redhat.com Mon Dec 1 15:16:04 2014
Return-Path:
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on oss.sgi.com
X-Spam-Level:
X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=ham
version=3.3.1
X-Original-To: pcp@oss.sgi.com
Delivered-To: pcp@oss.sgi.com
Received: from relay.sgi.com (relay3.corp.sgi.com [198.149.34.15])
by oss.sgi.com (Postfix) with ESMTP id 3A2937F57
for ; Mon, 1 Dec 2014 15:16:04 -0600 (CST)
Received: from cuda.sgi.com (cuda1.sgi.com [192.48.157.11])
by relay3.corp.sgi.com (Postfix) with ESMTP id C8458AC00F
for ; Mon, 1 Dec 2014 13:16:03 -0800 (PST)
X-ASG-Debug-ID: 1417468562-04bdf0615fe8dd50001-S8gJnT
Received: from mx3-phx2.redhat.com (mx3-phx2.redhat.com [209.132.183.24]) by cuda.sgi.com with ESMTP id rSgvgkHrBQCd8QYx (version=TLSv1 cipher=AES256-SHA bits=256 verify=NO) for ; Mon, 01 Dec 2014 13:16:02 -0800 (PST)
X-Barracuda-Envelope-From: nscott@redhat.com
X-Barracuda-Apparent-Source-IP: 209.132.183.24
Received: from zmail20.collab.prod.int.phx2.redhat.com (zmail20.collab.prod.int.phx2.redhat.com [10.5.83.23])
by mx3-phx2.redhat.com (8.13.8/8.13.8) with ESMTP id sB1LG0Ww001641;
Mon, 1 Dec 2014 16:16:00 -0500
Date: Mon, 1 Dec 2014 16:16:00 -0500 (EST)
From: Nathan Scott
Reply-To: Nathan Scott
To: chandana@desilva.id.au
Cc: pcp@oss.sgi.com
Message-ID: <526480853.8288588.1417468560187.JavaMail.zimbra@redhat.com>
In-Reply-To: <1417459517.12396.18.camel@tardis>
References: <1417459517.12396.18.camel@tardis>
Subject: Re: [pcp] Makepkgs does not build pcp-webapi
MIME-Version: 1.0
X-ASG-Orig-Subj: Re: [pcp] Makepkgs does not build pcp-webapi
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
X-Originating-IP: [10.5.82.11]
X-Mailer: Zimbra 8.0.6_GA_5922 (ZimbraWebClient - FF17 (Linux)/8.0.6_GA_5922)
Thread-Topic: Makepkgs does not build pcp-webapi
Thread-Index: 0JTATM51+uaL3EAtci/x2zteJykuBg==
X-Barracuda-Connect: mx3-phx2.redhat.com[209.132.183.24]
X-Barracuda-Start-Time: 1417468562
X-Barracuda-Encrypted: AES256-SHA
X-Barracuda-URL: http://192.48.157.11:80/cgi-mod/mark.cgi
X-Virus-Scanned: by bsmtpd at sgi.com
X-Barracuda-BRTS-Status: 1
X-Barracuda-Spam-Score: 0.02
X-Barracuda-Spam-Status: No, SCORE=0.02 using per-user scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.7 tests=BSF_SC0_MISMATCH_TO, THREAD_INDEX, THREAD_TOPIC
X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.3.12304
Rule breakdown below
pts rule name description
---- ---------------------- --------------------------------------------------
0.01 THREAD_INDEX thread-index: AcO7Y8iR61tzADqsRmmc5wNiFHEOig==
0.01 THREAD_TOPIC Thread-Topic: ...(Japanese Subject)...
0.00 BSF_SC0_MISMATCH_TO Envelope rcpt doesn't match header
Hi Chandana,
----- Original Message -----
> I recently built pcp 3.10 for CentOS 6 using the source from git.
>
> However the pcp-webapi rpm did not get built.
>
> How can I get that to be built ?
>
You'll need to install the libmicrohttpd-devel package.
cheers.
--
Nathan
From chandana@desilva.id.au Mon Dec 1 15:45:37 2014
Return-Path:
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on oss.sgi.com
X-Spam-Level:
X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=ham
version=3.3.1
X-Original-To: pcp@oss.sgi.com
Delivered-To: pcp@oss.sgi.com
Received: from relay.sgi.com (relay2.corp.sgi.com [137.38.102.29])
by oss.sgi.com (Postfix) with ESMTP id 11FEF7F57
for ; Mon, 1 Dec 2014 15:45:37 -0600 (CST)
Received: from cuda.sgi.com (cuda3.sgi.com [192.48.176.15])
by relay2.corp.sgi.com (Postfix) with ESMTP id 00AC2304077
for ; Mon, 1 Dec 2014 13:45:33 -0800 (PST)
X-ASG-Debug-ID: 1417470331-04cb6c0572ca12e0001-S8gJnT
Received: from mho-02-ewr.mailhop.org (mho-02-ewr.mailhop.org [204.13.248.72]) by cuda.sgi.com with ESMTP id eZsLLbopGHZCo4TZ (version=TLSv1 cipher=AES256-SHA bits=256 verify=NO) for ; Mon, 01 Dec 2014 13:45:31 -0800 (PST)
X-Barracuda-Envelope-From: chandana@desilva.id.au
X-Barracuda-Apparent-Source-IP: 204.13.248.72
Received: from ec2-54-252-74-219.ap-southeast-2.compute.amazonaws.com ([54.252.74.219] helo=mail.desilva.id.au)
by mho-02-ewr.mailhop.org with esmtpa (Exim 4.72)
(envelope-from )
id 1XvYmg-000Gb9-OO; Mon, 01 Dec 2014 21:45:31 +0000
Received: from [192.168.19.83] (unknown [175.45.83.34])
by mail.desilva.id.au (Postfix) with ESMTPSA id 347E424190;
Mon, 1 Dec 2014 21:45:28 +0000 (UTC)
X-Mail-Handler: Dyn Standard SMTP by Dyn
X-Originating-IP: 54.252.74.219
X-Report-Abuse-To: abuse@dyndns.com (see http://www.dyndns.com/services/sendlabs/outbound_abuse.html for abuse reporting information)
X-MHO-User: U2FsdGVkX1/j50uFr4+edM960VJ9MVV8GEhstBuYe3Y=
Message-ID: <1417470324.17867.3.camel@tardis>
Subject: Re: [pcp] Makepkgs does not build pcp-webapi
From: Chandana De Silva
X-ASG-Orig-Subj: Re: [pcp] Makepkgs does not build pcp-webapi
Reply-To: chandana@desilva.id.au
To: Nathan Scott
Cc: pcp@oss.sgi.com
Date: Tue, 02 Dec 2014 08:45:24 +1100
In-Reply-To: <526480853.8288588.1417468560187.JavaMail.zimbra@redhat.com>
References: <1417459517.12396.18.camel@tardis>
<526480853.8288588.1417468560187.JavaMail.zimbra@redhat.com>
Content-Type: text/plain; charset="UTF-8"
X-Mailer: Evolution 3.10.4 (3.10.4-4.fc20)
Mime-Version: 1.0
Content-Transfer-Encoding: 7bit
X-Barracuda-Connect: mho-02-ewr.mailhop.org[204.13.248.72]
X-Barracuda-Start-Time: 1417470331
X-Barracuda-Encrypted: AES256-SHA
X-Barracuda-URL: http://192.48.176.15:80/cgi-mod/mark.cgi
X-Virus-Scanned: by bsmtpd at sgi.com
X-Barracuda-BRTS-Status: 1
X-Barracuda-Spam-Score: 0.00
X-Barracuda-Spam-Status: No, SCORE=0.00 using per-user scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.7 tests=
X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.3.12305
Rule breakdown below
pts rule name description
---- ---------------------- --------------------------------------------------
thanks that worked.
Now:
The new PCP website has a problem ...
http://oss.sgi.com/download.html
Object not found!
The requested URL was not found on this server. The link on the
referring page seems to be wrong or outdated. Please inform the author
of that page about the error.
If you think this is a server error, please contact the webmaster.
Error 404
oss.sgi.com
Mon Dec 1 15:44:03 2014
Apache/2.2.12 (Linux/SUSE)
On Mon, 2014-12-01 at 16:16 -0500, Nathan Scott wrote:
> Hi Chandana,
>
> ----- Original Message -----
> > I recently built pcp 3.10 for CentOS 6 using the source from git.
> >
> > However the pcp-webapi rpm did not get built.
> >
> > How can I get that to be built ?
> >
>
> You'll need to install the libmicrohttpd-devel package.
>
> cheers.
>
> --
> Nathan
From nscott@redhat.com Mon Dec 1 15:52:16 2014
Return-Path:
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on oss.sgi.com
X-Spam-Level:
X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=ham
version=3.3.1
X-Original-To: pcp@oss.sgi.com
Delivered-To: pcp@oss.sgi.com
Received: from relay.sgi.com (relay2.corp.sgi.com [137.38.102.29])
by oss.sgi.com (Postfix) with ESMTP id 801277F57
for ; Mon, 1 Dec 2014 15:52:16 -0600 (CST)
Received: from cuda.sgi.com (cuda2.sgi.com [192.48.176.25])
by relay2.corp.sgi.com (Postfix) with ESMTP id 5F54430407B
for ; Mon, 1 Dec 2014 13:52:16 -0800 (PST)
X-ASG-Debug-ID: 1417470734-04cbb01e5cc97820001-S8gJnT
Received: from mx4-phx2.redhat.com (mx4-phx2.redhat.com [209.132.183.25]) by cuda.sgi.com with ESMTP id i40sa5HAe0kTMDBB (version=TLSv1 cipher=AES256-SHA bits=256 verify=NO) for ; Mon, 01 Dec 2014 13:52:14 -0800 (PST)
X-Barracuda-Envelope-From: nscott@redhat.com
X-Barracuda-Apparent-Source-IP: 209.132.183.25
Received: from zmail20.collab.prod.int.phx2.redhat.com (zmail20.collab.prod.int.phx2.redhat.com [10.5.83.23])
by mx4-phx2.redhat.com (8.13.8/8.13.8) with ESMTP id sB1LqD93029363;
Mon, 1 Dec 2014 16:52:13 -0500
Date: Mon, 1 Dec 2014 16:52:13 -0500 (EST)
From: Nathan Scott
Reply-To: Nathan Scott
To: chandana@desilva.id.au
Cc: pcp@oss.sgi.com
Message-ID: <99825616.8304377.1417470733305.JavaMail.zimbra@redhat.com>
In-Reply-To: <1417470324.17867.3.camel@tardis>
References: <1417459517.12396.18.camel@tardis> <526480853.8288588.1417468560187.JavaMail.zimbra@redhat.com> <1417470324.17867.3.camel@tardis>
Subject: Re: [pcp] Makepkgs does not build pcp-webapi
MIME-Version: 1.0
X-ASG-Orig-Subj: Re: [pcp] Makepkgs does not build pcp-webapi
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
X-Originating-IP: [10.5.82.11]
X-Mailer: Zimbra 8.0.6_GA_5922 (ZimbraWebClient - FF17 (Linux)/8.0.6_GA_5922)
Thread-Topic: Makepkgs does not build pcp-webapi
Thread-Index: 6cBNwjThmhCHgTttDFnoF0ghgxEvVQ==
X-Barracuda-Connect: mx4-phx2.redhat.com[209.132.183.25]
X-Barracuda-Start-Time: 1417470734
X-Barracuda-Encrypted: AES256-SHA
X-Barracuda-URL: http://192.48.176.25:80/cgi-mod/mark.cgi
X-Virus-Scanned: by bsmtpd at sgi.com
X-Barracuda-BRTS-Status: 1
X-Barracuda-Spam-Score: 0.02
X-Barracuda-Spam-Status: No, SCORE=0.02 using per-user scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.7 tests=BSF_SC0_MISMATCH_TO, THREAD_INDEX, THREAD_TOPIC
X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.3.12307
Rule breakdown below
pts rule name description
---- ---------------------- --------------------------------------------------
0.01 THREAD_INDEX thread-index: AcO7Y8iR61tzADqsRmmc5wNiFHEOig==
0.01 THREAD_TOPIC Thread-Topic: ...(Japanese Subject)...
0.00 BSF_SC0_MISMATCH_TO Envelope rcpt doesn't match header
----- Original Message -----
> thanks that worked.
>
> Now:
> The new PCP website has a problem ...
> http://oss.sgi.com/download.html
> Object not found!
>
Hmm, how did you reach that link? The pcp.io/download.html page
is working correctly for me (there should be no links that refer
to oss.sgi.com URLs).
cheers.
--
Nathan
From nscott@redhat.com Mon Dec 1 16:37:27 2014
Return-Path:
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on oss.sgi.com
X-Spam-Level:
X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=ham
version=3.3.1
X-Original-To: pcp@oss.sgi.com
Delivered-To: pcp@oss.sgi.com
Received: from relay.sgi.com (relay2.corp.sgi.com [137.38.102.29])
by oss.sgi.com (Postfix) with ESMTP id 1ED7329DF9
for ; Mon, 1 Dec 2014 16:37:27 -0600 (CST)
Received: from cuda.sgi.com (cuda2.sgi.com [192.48.176.25])
by relay2.corp.sgi.com (Postfix) with ESMTP id F1D51304081
for ; Mon, 1 Dec 2014 14:37:23 -0800 (PST)
X-ASG-Debug-ID: 1417473441-04cbb01e5cc99b30001-S8gJnT
Received: from mx4-phx2.redhat.com (mx4-phx2.redhat.com [209.132.183.25]) by cuda.sgi.com with ESMTP id xFrK0uHQ64ngNDSq (version=TLSv1 cipher=AES256-SHA bits=256 verify=NO) for ; Mon, 01 Dec 2014 14:37:22 -0800 (PST)
X-Barracuda-Envelope-From: nscott@redhat.com
X-Barracuda-Apparent-Source-IP: 209.132.183.25
Received: from zmail20.collab.prod.int.phx2.redhat.com (zmail20.collab.prod.int.phx2.redhat.com [10.5.83.23])
by mx4-phx2.redhat.com (8.13.8/8.13.8) with ESMTP id sB1MbK0B005128;
Mon, 1 Dec 2014 17:37:20 -0500
Date: Mon, 1 Dec 2014 17:37:20 -0500 (EST)
From: Nathan Scott
Reply-To: Nathan Scott
To: chandana@desilva.id.au, Michele Baldessari
Cc: pcp
Message-ID: <564616339.8320267.1417473440344.JavaMail.zimbra@redhat.com>
In-Reply-To: <659317473.8310197.1417471630882.JavaMail.zimbra@redhat.com>
References: <1417459517.12396.18.camel@tardis> <526480853.8288588.1417468560187.JavaMail.zimbra@redhat.com> <1417470324.17867.3.camel@tardis> <99825616.8304377.1417470733305.JavaMail.zimbra@redhat.com> <1417471374.17867.4.camel@tardis> <659317473.8310197.1417471630882.JavaMail.zimbra@redhat.com>
Subject: New website (was Re: [pcp] Makepkgs does not build pcp-webapi)
MIME-Version: 1.0
X-ASG-Orig-Subj: New website (was Re: [pcp] Makepkgs does not build pcp-webapi)
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
X-Originating-IP: [10.5.82.11]
X-Mailer: Zimbra 8.0.6_GA_5922 (ZimbraWebClient - FF17 (Linux)/8.0.6_GA_5922)
Thread-Topic: Makepkgs does not build pcp-webapi
Thread-Index: /z+xdySpi7/1+qOBhvq5BuEkYF85tmrxsnpt
X-Barracuda-Connect: mx4-phx2.redhat.com[209.132.183.25]
X-Barracuda-Start-Time: 1417473442
X-Barracuda-Encrypted: AES256-SHA
X-Barracuda-URL: http://192.48.176.25:80/cgi-mod/mark.cgi
X-Virus-Scanned: by bsmtpd at sgi.com
X-Barracuda-BRTS-Status: 1
X-Barracuda-Spam-Score: 0.03
X-Barracuda-Spam-Status: No, SCORE=0.03 using per-user scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.7 tests=BSF_SC0_SA_TO_FROM_DOMAIN_MATCH, THREAD_INDEX, THREAD_TOPIC
X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.3.12307
Rule breakdown below
pts rule name description
---- ---------------------- --------------------------------------------------
0.01 THREAD_INDEX thread-index: AcO7Y8iR61tzADqsRmmc5wNiFHEOig==
0.01 THREAD_TOPIC Thread-Topic: ...(Japanese Subject)...
0.01 BSF_SC0_SA_TO_FROM_DOMAIN_MATCH Sender Domain Matches Recipient
Domain
----- Original Message -----
> ----- Original Message -----
> > http://oss.sgi.com/projects/pcp/
> >
>
> Aha, that needs to redirect to www.pcp.io - I'll fix that up
> shortly, thanks.
>
OK, that's resolved. Anyone seeing any other issues? Any other
feedback or requests?
Also if anyone else out there has a kind word they'd like to add
onto the testimonials page, please feel free to send it through.
cheers.
--
Nathan
From chandana@desilva.id.au Mon Dec 1 23:54:58 2014
Return-Path:
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on oss.sgi.com
X-Spam-Level:
X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=ham
version=3.3.1
X-Original-To: pcp@oss.sgi.com
Delivered-To: pcp@oss.sgi.com
Received: from relay.sgi.com (relay2.corp.sgi.com [137.38.102.29])
by oss.sgi.com (Postfix) with ESMTP id CBABA7F57
for ; Mon, 1 Dec 2014 23:54:58 -0600 (CST)
Received: from cuda.sgi.com (cuda3.sgi.com [192.48.176.15])
by relay2.corp.sgi.com (Postfix) with ESMTP id BA6A83040BA
for ; Mon, 1 Dec 2014 21:54:58 -0800 (PST)
X-ASG-Debug-ID: 1417499693-04cb6c0571cfef80001-S8gJnT
Received: from mho-02-ewr.mailhop.org (mho-02-ewr.mailhop.org [204.13.248.72]) by cuda.sgi.com with ESMTP id IEsIXvfk6GZe1NjX (version=TLSv1 cipher=AES256-SHA bits=256 verify=NO) for ; Mon, 01 Dec 2014 21:54:53 -0800 (PST)
X-Barracuda-Envelope-From: chandana@desilva.id.au
X-Barracuda-Apparent-Source-IP: 204.13.248.72
Received: from ec2-54-252-74-219.ap-southeast-2.compute.amazonaws.com ([54.252.74.219] helo=mail.desilva.id.au)
by mho-02-ewr.mailhop.org with esmtpa (Exim 4.72)
(envelope-from )
id 1XvgQG-000FTN-Vq; Tue, 02 Dec 2014 05:54:53 +0000
Received: from [192.168.19.83] (unknown [175.45.83.34])
by mail.desilva.id.au (Postfix) with ESMTPSA id 4B249214B5;
Tue, 2 Dec 2014 05:54:50 +0000 (UTC)
X-Mail-Handler: Dyn Standard SMTP by Dyn
X-Originating-IP: 54.252.74.219
X-Report-Abuse-To: abuse@dyndns.com (see http://www.dyndns.com/services/sendlabs/outbound_abuse.html for abuse reporting information)
X-MHO-User: U2FsdGVkX1+mPE5XbgaGL8QSy1yIXN9TlniKgO3vdlo=
Message-ID: <1417499687.17867.23.camel@tardis>
Subject: Re: pmwebd: Defining the directory for PCP Archives
From: Chandana De Silva
X-ASG-Orig-Subj: Re: pmwebd: Defining the directory for PCP Archives
Reply-To: chandana@desilva.id.au
To: "Frank Ch. Eigler"
Cc: pcp@oss.sgi.com
Date: Tue, 02 Dec 2014 16:54:47 +1100
In-Reply-To:
References: <1417459116.12396.15.camel@tardis>
Content-Type: text/plain; charset="UTF-8"
X-Mailer: Evolution 3.10.4 (3.10.4-4.fc20)
Mime-Version: 1.0
Content-Transfer-Encoding: 7bit
X-Barracuda-Connect: mho-02-ewr.mailhop.org[204.13.248.72]
X-Barracuda-Start-Time: 1417499693
X-Barracuda-Encrypted: AES256-SHA
X-Barracuda-URL: http://192.48.176.15:80/cgi-mod/mark.cgi
X-Virus-Scanned: by bsmtpd at sgi.com
X-Barracuda-BRTS-Status: 1
X-Barracuda-Spam-Score: 0.50
X-Barracuda-Spam-Status: No, SCORE=0.50 using per-user scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.7 tests=BSF_SC0_MISMATCH_TO, WEIRD_PORT
X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.3.12322
Rule breakdown below
pts rule name description
---- ---------------------- --------------------------------------------------
0.00 BSF_SC0_MISMATCH_TO Envelope rcpt doesn't match header
0.50 WEIRD_PORT URI: Uses non-standard port number for HTTP
Hello Frank,
Thanks for that. I have got a bit further, and hopefully you will be
able to get me over the hump.
When I run PCP+Graphite, I can see the archives and can select a metric.
But I do not get a graph when I click on the metric.
The tree I see is on the left hand is:
Graphite
|-2F-var-2F-logdata-2F-pmlogger-2F-archdb1-2E-prd-2E-mel-2F-20141117-2E-meta
|-disk
|-filesys
|-avail
|-blocksize
|-capacity
|-free
|-2F-dev-2F-dm-2D-0
|-2F-dev-2F-dm-2D-1
|-2F-dev-2F-vda1
|-2F-dev-2F-vda2
|-2F-dev-2F-vda3
I click on the last item, -2F-dev-2F-vda3, and would have expected a
graph to appear on the right hand.
I see a window titled "Graphite Composer" on the right hand, with a
broken icon. The link pointed to by the icon
is:http://pmlog.inf.mel.mmd:44323/graphite/render/?width=1413&height=846&_salt=1417498242.534&target=-2F-var-2F-logdata-2F-pmlogger-2F-archdb1-2E-prd-2E-mel-2F-20141117-2E-meta.filesys.free.-2F-dev-2F-vda3
which returns : PMWEBD error, code -22: Invalid argument
I will send a screen shot off list to you.
On Mon, 2014-12-01 at 16:08 -0500, Frank Ch. Eigler wrote:
> Chandana De Silva writes:
>
> > [...]
> > I do not see an option to define the location of the archives. If I have
> > them in /path/to/pcparchives, how do I define that ?
> > [...]
> > # Graphite
> > OPTIONS="$OPTIONS -R $PCP_SHARE_DIR/webapps -A $PCP_LOG_DIR -G"
>
> As per "man pmwebd", the option you're looking for is the -A $DIR above.
>
>
> - FChE
From nscott@redhat.com Tue Dec 2 00:26:37 2014
Return-Path:
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on oss.sgi.com
X-Spam-Level:
X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=ham
version=3.3.1
X-Original-To: pcp@oss.sgi.com
Delivered-To: pcp@oss.sgi.com
Received: from relay.sgi.com (relay2.corp.sgi.com [137.38.102.29])
by oss.sgi.com (Postfix) with ESMTP id 8CD987F57
for ; Tue, 2 Dec 2014 00:26:37 -0600 (CST)
Received: from cuda.sgi.com (cuda1.sgi.com [192.48.157.11])
by relay2.corp.sgi.com (Postfix) with ESMTP id 5DFE13040C8
for ; Mon, 1 Dec 2014 22:26:34 -0800 (PST)
X-ASG-Debug-ID: 1417501592-04bdf06160efc1d0001-S8gJnT
Received: from mx5-phx2.redhat.com (mx5-phx2.redhat.com [209.132.183.37]) by cuda.sgi.com with ESMTP id QFtzkICuYltWzpHz (version=TLSv1 cipher=AES256-SHA bits=256 verify=NO) for ; Mon, 01 Dec 2014 22:26:32 -0800 (PST)
X-Barracuda-Envelope-From: nscott@redhat.com
X-Barracuda-Apparent-Source-IP: 209.132.183.37
Received: from zmail20.collab.prod.int.phx2.redhat.com (zmail20.collab.prod.int.phx2.redhat.com [10.5.83.23])
by mx5-phx2.redhat.com (8.14.4/8.14.4) with ESMTP id sB26QWiD002417;
Tue, 2 Dec 2014 01:26:32 -0500
Date: Tue, 2 Dec 2014 01:26:31 -0500 (EST)
From: Nathan Scott
Reply-To: Nathan Scott
To: Jan-Frode Myklebust
Cc: pcp@oss.sgi.com
Message-ID: <1815926768.8469113.1417501591651.JavaMail.zimbra@redhat.com>
In-Reply-To: <20141127104047.GA7900@mushkin.tanso.net>
References: <20141127104047.GA7900@mushkin.tanso.net>
Subject: Re: [pcp] [PATCH] Add PMDA for the Unbound DNS resolver.
MIME-Version: 1.0
X-ASG-Orig-Subj: Re: [pcp] [PATCH] Add PMDA for the Unbound DNS resolver.
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
X-Originating-IP: [10.5.82.11]
X-Mailer: Zimbra 8.0.6_GA_5922 (ZimbraWebClient - FF17 (Linux)/8.0.6_GA_5922)
Thread-Topic: Add PMDA for the Unbound DNS resolver.
Thread-Index: cEUK0htAE6svVOxBNU0nB/paRhFtUg==
X-Barracuda-Connect: mx5-phx2.redhat.com[209.132.183.37]
X-Barracuda-Start-Time: 1417501592
X-Barracuda-Encrypted: AES256-SHA
X-Barracuda-URL: http://192.48.157.11:80/cgi-mod/mark.cgi
X-Virus-Scanned: by bsmtpd at sgi.com
X-Barracuda-BRTS-Status: 1
X-Barracuda-Spam-Score: 0.02
X-Barracuda-Spam-Status: No, SCORE=0.02 using per-user scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.7 tests=THREAD_INDEX, THREAD_TOPIC
X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.3.12323
Rule breakdown below
pts rule name description
---- ---------------------- --------------------------------------------------
0.01 THREAD_INDEX thread-index: AcO7Y8iR61tzADqsRmmc5wNiFHEOig==
0.01 THREAD_TOPIC Thread-Topic: ...(Japanese Subject)...
Hi Jan-Frode,
----- Original Message -----
> This adds a PMDA for the Unbound DNS resolver. Currently exposing 140
> metrics gathered from Unbounds "unbound-control stats" command. It's
Looking good.
Can you send me the output from "unbound-control stats_noreset" on one
of your systems? I'll help to craft a regression test or two from that
if you like (we'll need this before merging) - the dmcache PMDA is a
good template (qa/985,986 are the sorts of things we need to produce).
Oh, a man page is also missing - src/pmdas/dmcache/pmdadmcache.1 might
provide a good starting point.
Couple of other little things...
> +++ b/src/pmdas/unbound/pmdaunbound.python
> @@ -0,0 +1,1344 @@
> +'''
> +Performance Metrics Domain Agent exporting Unbound statistics.
> +'''
This script will need a copyright annotation & GPL header added (need
those before I can merge it).
> +
> + if item == 0:
> + return [self.values['total.num.queries'], 1]
> + elif item == 1:
> + return [self.values['total.num.cachehits'], 1]
> [...]
As discussed earlier, it'll be nice to have this simplified. That's
something we can tackle later though.
cheers.
--
Nathan
From fche@redhat.com Tue Dec 2 06:12:57 2014
Return-Path:
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on oss.sgi.com
X-Spam-Level:
X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=ham
version=3.3.1
X-Original-To: pcp@oss.sgi.com
Delivered-To: pcp@oss.sgi.com
Received: from relay.sgi.com (relay3.corp.sgi.com [198.149.34.15])
by oss.sgi.com (Postfix) with ESMTP id 4806B7F55
for ; Tue, 2 Dec 2014 06:12:57 -0600 (CST)
Received: from cuda.sgi.com (cuda1.sgi.com [192.48.157.11])
by relay3.corp.sgi.com (Postfix) with ESMTP id E8995AC034
for ; Tue, 2 Dec 2014 04:12:53 -0800 (PST)
X-ASG-Debug-ID: 1417522369-04bdf0615ef28e30001-S8gJnT
Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by cuda.sgi.com with ESMTP id eubGacwtguBp6ToW (version=TLSv1 cipher=AES256-SHA bits=256 verify=NO) for ; Tue, 02 Dec 2014 04:12:50 -0800 (PST)
X-Barracuda-Envelope-From: fche@redhat.com
X-Barracuda-Apparent-Source-IP: 209.132.183.28
X-ASG-Whitelist: Client
Received: from int-mx13.intmail.prod.int.phx2.redhat.com (int-mx13.intmail.prod.int.phx2.redhat.com [10.5.11.26])
by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id sB2CCkKq016661
(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL);
Tue, 2 Dec 2014 07:12:47 -0500
Received: from fche.csb (vpn-238-111.phx2.redhat.com [10.3.238.111])
by int-mx13.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id sB2CCjFh028019;
Tue, 2 Dec 2014 07:12:46 -0500
Received: by fche.csb (Postfix, from userid 2569)
id 374715819B; Tue, 2 Dec 2014 07:12:45 -0500 (EST)
Date: Tue, 2 Dec 2014 07:12:45 -0500
From: "Frank Ch. Eigler"
To: Chandana De Silva
Cc: pcp@oss.sgi.com
Subject: Re: pmwebd: Defining the directory for PCP Archives
Message-ID: <20141202121245.GP5088@redhat.com>
X-ASG-Orig-Subj: Re: pmwebd: Defining the directory for PCP Archives
References: <1417459116.12396.15.camel@tardis> <1417499687.17867.23.camel@tardis>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <1417499687.17867.23.camel@tardis>
User-Agent: Mutt/1.4.2.2i
X-Scanned-By: MIMEDefang 2.68 on 10.5.11.26
X-Barracuda-Connect: mx1.redhat.com[209.132.183.28]
X-Barracuda-Start-Time: 1417522369
X-Barracuda-Encrypted: AES256-SHA
X-Barracuda-URL: http://192.48.157.11:80/cgi-mod/mark.cgi
X-Virus-Scanned: by bsmtpd at sgi.com
X-Barracuda-BRTS-Status: 1
Hi, Chandana -
> Thanks for that. I have got a bit further, and hopefully you will be
> able to get me over the hump.
Sounds good.
> When I run PCP+Graphite, I can see the archives and can select a
> metric. But I do not get a graph when I click on the metric. [...]
> I see a window titled "Graphite Composer" on the right hand, with a
> broken icon. The link pointed to by the icon is: [...] which
> returns : PMWEBD error, code -22: Invalid argument
This can happen when the raster-rendering prerequisite of pmwebd is
absent. Check pmwebd.log for the "Cairo graphics..." line. If you
install cairo-devel, and reconfigure/rebuild pcp/pmwebd, it should
come back with a proud & friendly
Graphite API enabled
Graphite API Cairo graphics rendering compiled-in
Without cairo, web browser-side graphic rendering (such as via
graphlot or grafana) is necessary.
- FChE
From debbugs@buxtehude.debian.org Tue Dec 2 06:21:14 2014
Return-Path:
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on oss.sgi.com
X-Spam-Level:
X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=ham
version=3.3.1
X-Original-To: pcp@oss.sgi.com
Delivered-To: pcp@oss.sgi.com
Received: from relay.sgi.com (relay2.corp.sgi.com [137.38.102.29])
by oss.sgi.com (Postfix) with ESMTP id A29E37F55
for ; Tue, 2 Dec 2014 06:21:14 -0600 (CST)
Received: from cuda.sgi.com (cuda1.sgi.com [192.48.157.11])
by relay2.corp.sgi.com (Postfix) with ESMTP id 751C73040C9
for ; Tue, 2 Dec 2014 04:21:11 -0800 (PST)
X-ASG-Debug-ID: 1417522869-04bdf06160f29de0001-S8gJnT
Received: from buxtehude.debian.org (buxtehude.debian.org [140.211.166.26]) by cuda.sgi.com with ESMTP id CgZrz0y6Scr15afW (version=TLSv1 cipher=AES128-SHA bits=128 verify=NO) for ; Tue, 02 Dec 2014 04:21:10 -0800 (PST)
X-Barracuda-Envelope-From: debbugs@buxtehude.debian.org
X-Barracuda-Apparent-Source-IP: 140.211.166.26
Received: from debbugs by buxtehude.debian.org with local (Exim 4.80)
(envelope-from )
id 1XvmS2-0004Uh-UM; Tue, 02 Dec 2014 12:21:06 +0000
X-Loop: owner@bugs.debian.org
Subject: Bug#771789: libpcp-pmda-perl: uninstallable on i386: depends on perlapi-5.18.2
Reply-To: Jakub Wilk , 771789@bugs.debian.org
X-ASG-Orig-Subj: Bug#771789: libpcp-pmda-perl: uninstallable on i386: depends on perlapi-5.18.2
Resent-From: Jakub Wilk
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: jwilk@debian.org, PCP Development Team
X-Loop: owner@bugs.debian.org
Resent-Date: Tue, 02 Dec 2014 12:21:02 +0000
Resent-Message-ID:
X-Debian-PR-Message: report 771789
X-Debian-PR-Package: libpcp-pmda-perl
X-Debian-PR-Keywords:
X-Debian-PR-Source: pcp
Received: via spool by submit@bugs.debian.org id=B.141752274316149
(code B); Tue, 02 Dec 2014 12:21:02 +0000
Received: (at submit) by bugs.debian.org; 2 Dec 2014 12:19:03 +0000
Received: from mailly.debian.org ([82.195.75.114])
from C=NA,ST=NA,L=Ankh Morpork,O=Debian SMTP,OU=Debian SMTP CA,CN=mailly.debian.org,EMAIL=hostmaster@mailly.debian.org (verified)
by buxtehude.debian.org with esmtps (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128)
(Exim 4.80)
(envelope-from )
id 1XvmQ3-0004C7-ID
for submit@bugs.debian.org; Tue, 02 Dec 2014 12:19:03 +0000
Received: from paradis2.debian.org ([2001:41c8:1000:21::21:31] helo=paradis.debian.org)
from C=NA,ST=NA,L=Ankh Morpork,O=Debian SMTP,OU=Debian SMTP CA,CN=paradis.debian.org,EMAIL=hostmaster@paradis.debian.org (verified)
by mailly.debian.org with esmtps (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128)
(Exim 4.80)
(envelope-from )
id 1XvmQ1-0000hD-Jv
for submit@bugs.debian.org; Tue, 02 Dec 2014 12:19:01 +0000
Received: from jwilk by paradis.debian.org with local (Exim 4.80)
(envelope-from )
id 1XvmQ4-0004NR-SF
for submit@bugs.debian.org; Tue, 02 Dec 2014 12:19:05 +0000
Date: Tue, 2 Dec 2014 13:18:56 +0100
From: Jakub Wilk
To: Debian Bug Tracking System
Message-ID: <20141202121856.GA3938@jwilk.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Disposition: inline
X-Reportbug-Version: 6.6.0
User-Agent: Mutt/1.5.23 (2014-03-12)
Delivered-To: submit@bugs.debian.org
X-Barracuda-Connect: buxtehude.debian.org[140.211.166.26]
X-Barracuda-Start-Time: 1417522870
X-Barracuda-Encrypted: AES128-SHA
X-Barracuda-URL: http://192.48.157.11:80/cgi-mod/mark.cgi
X-Virus-Scanned: by bsmtpd at sgi.com
X-Barracuda-BRTS-Status: 1
X-Barracuda-Spam-Score: 0.00
X-Barracuda-Spam-Status: No, SCORE=0.00 using per-user scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.7 tests=
X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.3.12333
Rule breakdown below
pts rule name description
---- ---------------------- --------------------------------------------------
Package: libpcp-pmda-perl
Version: 3.10.1
Severity: grave
This package cannot be installed on i386:
# apt-get install -q libpcp-pmda-perl
Reading package lists...
Building dependency tree...
Reading state information...
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
libpcp-pmda-perl : Depends: perlapi-5.18.2 but it is not installable
E: Unable to correct problems, you have held broken packages.
--
Jakub Wilk
From debbugs@buxtehude.debian.org Tue Dec 2 07:21:13 2014
Return-Path:
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on oss.sgi.com
X-Spam-Level:
X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=ham
version=3.3.1
X-Original-To: pcp@oss.sgi.com
Delivered-To: pcp@oss.sgi.com
Received: from relay.sgi.com (relay1.corp.sgi.com [137.38.102.111])
by oss.sgi.com (Postfix) with ESMTP id BE1C17F54
for ; Tue, 2 Dec 2014 07:21:13 -0600 (CST)
Received: from cuda.sgi.com (cuda2.sgi.com [192.48.176.25])
by relay1.corp.sgi.com (Postfix) with ESMTP id AC9D28F80C9
for ; Tue, 2 Dec 2014 05:21:10 -0800 (PST)
X-ASG-Debug-ID: 1417526469-04cbb01e5bd395a0001-S8gJnT
Received: from buxtehude.debian.org (buxtehude.debian.org [140.211.166.26]) by cuda.sgi.com with ESMTP id JhBQAj3ZZtMFE4C6 (version=TLSv1 cipher=AES128-SHA bits=128 verify=NO) for ; Tue, 02 Dec 2014 05:21:09 -0800 (PST)
X-Barracuda-Envelope-From: debbugs@buxtehude.debian.org
X-Barracuda-Apparent-Source-IP: 140.211.166.26
Received: from debbugs by buxtehude.debian.org with local (Exim 4.80)
(envelope-from )
id 1XvnO6-0002lu-I8; Tue, 02 Dec 2014 13:21:06 +0000
X-Loop: owner@bugs.debian.org
Subject: Bug#771793: pcp: insecure use of /var/tmp in postinst
Reply-To: Jakub Wilk , 771793@bugs.debian.org
X-ASG-Orig-Subj: Bug#771793: pcp: insecure use of /var/tmp in postinst
Resent-From: Jakub Wilk
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: jwilk@debian.org, PCP Development Team
X-Loop: owner@bugs.debian.org
Resent-Date: Tue, 02 Dec 2014 13:21:01 +0000
Resent-Message-ID:
X-Debian-PR-Message: report 771793
X-Debian-PR-Package: pcp
X-Debian-PR-Keywords: security
X-Debian-PR-Source: pcp
Received: via spool by submit@bugs.debian.org id=B.14175262117896
(code B); Tue, 02 Dec 2014 13:21:01 +0000
Received: (at submit) by bugs.debian.org; 2 Dec 2014 13:16:51 +0000
Received: from mailly.debian.org ([82.195.75.114])
from C=NA,ST=NA,L=Ankh Morpork,O=Debian SMTP,OU=Debian SMTP CA,CN=mailly.debian.org,EMAIL=hostmaster@mailly.debian.org (verified)
by buxtehude.debian.org with esmtps (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128)
(Exim 4.80)
(envelope-from )
id 1XvnJz-00022u-Gp
for submit@bugs.debian.org; Tue, 02 Dec 2014 13:16:51 +0000
Received: from paradis2.debian.org ([2001:41c8:1000:21::21:31] helo=paradis.debian.org)
from C=NA,ST=NA,L=Ankh Morpork,O=Debian SMTP,OU=Debian SMTP CA,CN=paradis.debian.org,EMAIL=hostmaster@paradis.debian.org (verified)
by mailly.debian.org with esmtps (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128)
(Exim 4.80)
(envelope-from )
id 1XvnJx-0003kQ-IG
for submit@bugs.debian.org; Tue, 02 Dec 2014 13:16:49 +0000
Received: from jwilk by paradis.debian.org with local (Exim 4.80)
(envelope-from )
id 1XvnK0-0007O7-UN
for submit@bugs.debian.org; Tue, 02 Dec 2014 13:16:53 +0000
Date: Tue, 2 Dec 2014 14:16:42 +0100
From: Jakub Wilk
To: Debian Bug Tracking System
Message-ID: <20141202131642.GA5780@jwilk.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Disposition: inline
X-Reportbug-Version: 6.6.0
User-Agent: Mutt/1.5.23 (2014-03-12)
Delivered-To: submit@bugs.debian.org
X-Barracuda-Connect: buxtehude.debian.org[140.211.166.26]
X-Barracuda-Start-Time: 1417526469
X-Barracuda-Encrypted: AES128-SHA
X-Barracuda-URL: http://192.48.176.25:80/cgi-mod/mark.cgi
X-Virus-Scanned: by bsmtpd at sgi.com
X-Barracuda-BRTS-Status: 1
X-Barracuda-Spam-Score: 0.00
X-Barracuda-Spam-Status: No, SCORE=0.00 using per-user scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.7 tests=
X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.3.12335
Rule breakdown below
pts rule name description
---- ---------------------- --------------------------------------------------
Package: pcp
Version: 3.10.1
Tags: security
The postinst script does this:
for dir in /var/tmp/mmv /var/tmp/pmdabash
do
[ -d $dir -a -G $dir -a -O $dir ] && mv $dir /var/lib/pcp/tmp
done
The intention here was to move only root-owned directories. But there
are at least to ways to (partially) defeat this check:
1) On systems that lack symlink protection
(/proc/sys/fs/protected_symlinks), local attacker could:
- create /var/tmp/mmv as a symlink to a root-owned directory;
- then, between the security check and the mv(1) call, switch the
symlink to point to something else.
2) On systems that lack hardlink protection
(/proc/sys/fs/protected_hardlinks), local attacker could:
- create /var/tmp/mmv as a regular directory, so that the [ -d $dir ]
check passes;
- then rmdir /var/tmp/mmv, and make /var/tmp/mmv a hardlink to a
root-owned file, so that the [ -G $dir ] and [ -O $dir ] checks pass.
I'd suggest using stat(1) to check the file type and ownership
atomically, and without following symlinks. Something like this should
work:
[ "$(LC_ALL=C stat -c '%u %g %F' $dir)" = "0 0 directory" ] && mv $dir /var/lib/pcp/tmp
--
Jakub Wilk
From michele@acksyn.org Tue Dec 2 14:09:50 2014
Return-Path:
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on oss.sgi.com
X-Spam-Level:
X-Spam-Status: No, score=0.0 required=5.0 tests=T_DKIM_INVALID autolearn=ham
version=3.3.1
X-Original-To: pcp@oss.sgi.com
Delivered-To: pcp@oss.sgi.com
Received: from relay.sgi.com (relay3.corp.sgi.com [198.149.34.15])
by oss.sgi.com (Postfix) with ESMTP id 0220F7F56
for ; Tue, 2 Dec 2014 14:09:50 -0600 (CST)
Received: from cuda.sgi.com (cuda3.sgi.com [192.48.176.15])
by relay3.corp.sgi.com (Postfix) with ESMTP id 86549AC002
for ; Tue, 2 Dec 2014 12:09:46 -0800 (PST)
X-ASG-Debug-ID: 1417550980-04cb6c0573d88430001-S8gJnT
Received: from palahniuk.acksyn.org (palahniuk.acksyn.org [5.9.7.26]) by cuda.sgi.com with ESMTP id HaHOJssHX1KsPFwt for ; Tue, 02 Dec 2014 12:09:40 -0800 (PST)
X-Barracuda-Envelope-From: michele@acksyn.org
X-Barracuda-Apparent-Source-IP: 5.9.7.26
Received: from localhost (localhost [127.0.0.1])
by palahniuk.acksyn.org (Postfix) with ESMTP id 2129A26593;
Tue, 2 Dec 2014 15:09:40 -0500 (EST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=acksyn.org; h=
x-mailer:message-id:date:date:subject:subject:from:from:received
:received; s=2010; t=1417550978; bh=nuv7t8+MAAI3JRCuDEQtWQE9AkSv
2dz8tEIc/K6c4gA=; b=SbzcVD3Za6qZE2Ngyvt5yAkbdORj4UXhxA1DBBCIEJhC
mxI+DqWJVqNhAJ8e6+c2vSon3XLZkxRjP7u4+AmOxEtXmfoiUnHyWqvl8ccz/phW
RdF9I2VaDmwET4tWCNRCoOGDluzcBZw9iNWBpqebELi1rPrQ9Hw8IwX2ropOcO8=
Received: from palahniuk.acksyn.org ([127.0.0.1])
by localhost (mail.acksyn.org [127.0.0.1]) (amavisd-new, port 10026)
with ESMTP id Hu1IGIzTeXyU; Tue, 2 Dec 2014 15:09:38 -0500 (EST)
Received: from localhost (host54-190-dynamic.24-79-r.retail.telecomitalia.it [79.24.190.54])
by palahniuk.acksyn.org (Postfix) with ESMTPSA id A488625748;
Tue, 2 Dec 2014 15:09:37 -0500 (EST)
From: Michele Baldessari
To: pcp@oss.sgi.com
Cc: Michele Baldessari
Subject: [PATCH] Fix some rpmlint warnings
Date: Tue, 2 Dec 2014 21:09:34 +0100
X-ASG-Orig-Subj: [PATCH] Fix some rpmlint warnings
Message-Id: <1417550974-17675-1-git-send-email-michele@acksyn.org>
X-Mailer: git-send-email 2.1.0
X-Barracuda-Connect: palahniuk.acksyn.org[5.9.7.26]
X-Barracuda-Start-Time: 1417550980
X-Barracuda-URL: http://192.48.176.15:80/cgi-mod/mark.cgi
X-Virus-Scanned: by bsmtpd at sgi.com
X-Barracuda-BRTS-Status: 1
X-Barracuda-Spam-Score: 1.50
X-Barracuda-Spam-Status: No, SCORE=1.50 using per-user scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.7 tests=BSF_RULE_7580D, BSF_RULE_7580E, DKIM_SIGNED, DKIM_VERIFIED
X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.3.12348
Rule breakdown below
pts rule name description
---- ---------------------- --------------------------------------------------
-0.00 DKIM_VERIFIED Domain Keys Identified Mail: signature passes
verification
0.00 DKIM_SIGNED Domain Keys Identified Mail: message has a signature
0.75 BSF_RULE_7580D Custom Rule 7580D
0.75 BSF_RULE_7580E Custom Rule 7580E
Fix the following warnings:
- W: mixed-use-of-spaces-and-tabs
The specfile mixes use of spaces and tabs for indentation, which is a
cosmetic annoyance. Use either spaces or tabs for indentation, not
both.
- pcp.src: W: invalid-url Source1: pcp-webjs.src.tar.gz
The value should be a valid, public HTTP, HTTPS, or FTP URL.
---
build/rpm/fedora.spec | 26 +++++++++++++-------------
1 file changed, 13 insertions(+), 13 deletions(-)
diff --git a/build/rpm/fedora.spec b/build/rpm/fedora.spec
index 0985f05761ea..bf20f7345f44 100644
--- a/build/rpm/fedora.spec
+++ b/build/rpm/fedora.spec
@@ -7,8 +7,8 @@ Release: %{buildversion}%{?dist}
License: GPLv2+ and LGPLv2.1+ and CC-BY
URL: http://www.pcp.io
Group: Applications/System
-Source0: %{name}-%{version}.src.tar.gz
-Source1: pcp-webjs.src.tar.gz
+Source0: ftp://oss.sgi.com/projects/pcp/download/%{name}-%{version}.src.tar.gz
+Source1: ftp://oss.sgi.com/projects/pcp/download/pcp-webjs.src.tar.gz
# There are no papi/libpfm devel packages for s390 nor for some rhels, disable
%ifarch s390 s390x
@@ -595,7 +595,7 @@ rm -fr $RPM_BUILD_ROOT/%{_localstatedir}/lib/pcp/config/pmsnap
rm -fr $RPM_BUILD_ROOT/%{_localstatedir}/lib/pcp/config/pmchart
rm -f $RPM_BUILD_ROOT/%{_localstatedir}/lib/pcp/config/pmafm/pcp-gui
rm -f $RPM_BUILD_ROOT/%{_datadir}/applications/pmchart.desktop
-rm -f `find $RPM_BUILD_ROOT/%{_mandir}/man1 | egrep "$PCP_GUI"`
+rm -f `find $RPM_BUILD_ROOT/%{_mandir}/man1 | grep -E "$PCP_GUI"`
%else
rm -rf $RPM_BUILD_ROOT/usr/share/doc/pcp-gui
desktop-file-validate $RPM_BUILD_ROOT/%{_datadir}/applications/pmchart.desktop
@@ -609,10 +609,10 @@ done
# list of PMDAs in the base pkg
ls -1 $RPM_BUILD_ROOT/%{_pmdasdir} |\
- egrep -v 'simple|sample|trivial|txmon' |\
- egrep -v 'perfevent|perfalloc.1' |\
- egrep -v '^ib$|infiniband' |\
- egrep -v 'papi' |\
+ grep -E -v 'simple|sample|trivial|txmon' |\
+ grep -E -v 'perfevent|perfalloc.1' |\
+ grep -E -v '^ib$|infiniband' |\
+ grep -E -v 'papi' |\
sed -e 's#^#'%{_pmdasdir}'\/#' >base_pmdas.list
# all base pcp package files except those split out into sub packages
@@ -630,18 +630,18 @@ ls -1 $RPM_BUILD_ROOT/%{_datadir}/pcp/demos/tutorials |\
ls -1 $RPM_BUILD_ROOT/%{_pixmapdir} |\
sed -e 's#^#'%{_pixmapdir}'\/#' > pcp-gui.list
cat base_bin.list base_exec.list base_man.list |\
- egrep "$PCP_GUI" >> pcp-gui.list
+ grep -E "$PCP_GUI" >> pcp-gui.list
%endif
cat base_pmdas.list base_bin.list base_exec.list base_man.list |\
- egrep -v 'pmdaib|pmmgr|pmweb|pmsnap|2pcp' |\
- egrep -v "$PCP_GUI|pixmaps|pcp-doc|tutorials" |\
- egrep -v %{_confdir} | egrep -v %{_logsdir} > base.list
+ grep -E -v 'pmdaib|pmmgr|pmweb|pmsnap|2pcp' |\
+ grep -E -v "$PCP_GUI|pixmaps|pcp-doc|tutorials" |\
+ grep -E -v %{_confdir} | grep -E -v %{_logsdir} > base.list
# all devel pcp package files except those split out into sub packages
ls -1 $RPM_BUILD_ROOT/%{_mandir}/man3 |\
-sed -e 's#^#'%{_mandir}'\/man3\/#' | egrep -v '3pm|PMWEBAPI' >devel.list
+sed -e 's#^#'%{_mandir}'\/man3\/#' | grep -E -v '3pm|PMWEBAPI' >devel.list
ls -1 $RPM_BUILD_ROOT/%{_datadir}/pcp/demos |\
-sed -e 's#^#'%{_datadir}'\/pcp\/demos\/#' | egrep -v tutorials >> devel.list
+sed -e 's#^#'%{_datadir}'\/pcp\/demos\/#' | grep -E -v tutorials >> devel.list
%pre testsuite
test -d %{_testsdir} || mkdir -p -m 755 %{_testsdir}
--
2.1.0
From brolley@redhat.com Tue Dec 2 14:54:37 2014
Return-Path:
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on oss.sgi.com
X-Spam-Level:
X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=ham
version=3.3.1
X-Original-To: pcp@oss.sgi.com
Delivered-To: pcp@oss.sgi.com
Received: from relay.sgi.com (relay2.corp.sgi.com [137.38.102.29])
by oss.sgi.com (Postfix) with ESMTP id 929557F56
for ; Tue, 2 Dec 2014 14:54:37 -0600 (CST)
Received: from cuda.sgi.com (cuda3.sgi.com [192.48.176.15])
by relay2.corp.sgi.com (Postfix) with ESMTP id 7FF20304039
for ; Tue, 2 Dec 2014 12:54:37 -0800 (PST)
X-ASG-Debug-ID: 1417553676-04cb6c0573d935b0001-S8gJnT
Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by cuda.sgi.com with ESMTP id 6BPBSzJhKdJqJfVs (version=TLSv1 cipher=AES256-SHA bits=256 verify=NO) for ; Tue, 02 Dec 2014 12:54:36 -0800 (PST)
X-Barracuda-Envelope-From: brolley@redhat.com
X-Barracuda-Apparent-Source-IP: 209.132.183.28
X-ASG-Whitelist: Client
Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22])
by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id sB2KsaRg015658
(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL)
for ; Tue, 2 Dec 2014 15:54:36 -0500
Received: from [10.15.16.126] (dhcp-10-15-16-126.yyz.redhat.com [10.15.16.126])
by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id sB2KsZAi025830
for ; Tue, 2 Dec 2014 15:54:35 -0500
Message-ID: <547E27B0.9060301@redhat.com>
Date: Tue, 02 Dec 2014 15:57:20 -0500
From: Dave Brolley
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0
MIME-Version: 1.0
To: PCP Mailing List
Subject: pcp updates: Begin Work on PCP Release 3.10.2
Content-Type: text/plain; charset=utf-8; format=flowed
X-ASG-Orig-Subj: pcp updates: Begin Work on PCP Release 3.10.2
Content-Transfer-Encoding: 7bit
X-Scanned-By: MIMEDefang 2.68 on 10.5.11.22
X-Barracuda-Connect: mx1.redhat.com[209.132.183.28]
X-Barracuda-Start-Time: 1417553676
X-Barracuda-Encrypted: AES256-SHA
X-Barracuda-URL: http://192.48.176.15:80/cgi-mod/mark.cgi
X-Virus-Scanned: by bsmtpd at sgi.com
X-Barracuda-BRTS-Status: 1
Scheduled release date for PCP 3.10.2 is Friday January 9, 2015
-------------------------------------------------
Changes committed to git://git.pcp.io/pcp.git dev
Dave Brolley (1):
build: update packaging and project forward for next release date
CHANGELOG | 2 ++
VERSION.pcp | 2 +-
build/rpm/fedora.spec | 5 ++++-
debian/changelog | 6 ++++++
4 files changed, 13 insertions(+), 2 deletions(-)
From chandana@desilva.id.au Tue Dec 2 15:44:06 2014
Return-Path:
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on oss.sgi.com
X-Spam-Level:
X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=ham
version=3.3.1
X-Original-To: pcp@oss.sgi.com
Delivered-To: pcp@oss.sgi.com
Received: from relay.sgi.com (relay3.corp.sgi.com [198.149.34.15])
by oss.sgi.com (Postfix) with ESMTP id 898477F56
for ; Tue, 2 Dec 2014 15:44:06 -0600 (CST)
Received: from cuda.sgi.com (cuda1.sgi.com [192.48.157.11])
by relay3.corp.sgi.com (Postfix) with ESMTP id 35BB6AC002
for ; Tue, 2 Dec 2014 13:44:02 -0800 (PST)
X-ASG-Debug-ID: 1417556637-04bdf06160f935b0001-S8gJnT
Received: from mho-02-ewr.mailhop.org (mho-02-ewr.mailhop.org [204.13.248.72]) by cuda.sgi.com with ESMTP id VpzLBbf1gbgw3wbY (version=TLSv1 cipher=AES256-SHA bits=256 verify=NO) for ; Tue, 02 Dec 2014 13:43:57 -0800 (PST)
X-Barracuda-Envelope-From: chandana@desilva.id.au
X-Barracuda-Apparent-Source-IP: 204.13.248.72
Received: from ec2-54-252-74-219.ap-southeast-2.compute.amazonaws.com ([54.252.74.219] helo=mail.desilva.id.au)
by mho-02-ewr.mailhop.org with esmtpa (Exim 4.72)
(envelope-from )
id 1XvvEi-000AqB-I4; Tue, 02 Dec 2014 21:43:57 +0000
Received: from [192.168.19.83] (unknown [175.45.83.34])
by mail.desilva.id.au (Postfix) with ESMTPSA id 9C64F214B5;
Tue, 2 Dec 2014 21:43:54 +0000 (UTC)
X-Mail-Handler: Dyn Standard SMTP by Dyn
X-Originating-IP: 54.252.74.219
X-Report-Abuse-To: abuse@dyndns.com (see http://www.dyndns.com/services/sendlabs/outbound_abuse.html for abuse reporting information)
X-MHO-User: U2FsdGVkX19zYTQ8cOxZ1+yiv164JXQEv3jdggl+K5U=
Message-ID: <1417556631.941.12.camel@tardis>
Subject: Re: pmwebd: Defining the directory for PCP Archives
From: Chandana De Silva
X-ASG-Orig-Subj: Re: pmwebd: Defining the directory for PCP Archives
Reply-To: chandana@desilva.id.au
To: "Frank Ch. Eigler"
Cc: pcp@oss.sgi.com
Date: Wed, 03 Dec 2014 08:43:51 +1100
In-Reply-To: <20141202121245.GP5088@redhat.com>
References: <1417459116.12396.15.camel@tardis>
<1417499687.17867.23.camel@tardis> <20141202121245.GP5088@redhat.com>
Content-Type: text/plain; charset="UTF-8"
X-Mailer: Evolution 3.10.4 (3.10.4-4.fc20)
Mime-Version: 1.0
Content-Transfer-Encoding: 7bit
X-Barracuda-Connect: mho-02-ewr.mailhop.org[204.13.248.72]
X-Barracuda-Start-Time: 1417556637
X-Barracuda-Encrypted: AES256-SHA
X-Barracuda-URL: http://192.48.157.11:80/cgi-mod/mark.cgi
X-Virus-Scanned: by bsmtpd at sgi.com
X-Barracuda-BRTS-Status: 1
X-Barracuda-Spam-Score: 0.50
X-Barracuda-Spam-Status: No, SCORE=0.50 using per-user scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.7 tests=BSF_SC0_MISMATCH_TO, WEIRD_PORT
X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.3.12352
Rule breakdown below
pts rule name description
---- ---------------------- --------------------------------------------------
0.00 BSF_SC0_MISMATCH_TO Envelope rcpt doesn't match header
0.50 WEIRD_PORT URI: Uses non-standard port number for HTTP
Hello Frank,
Thanks for that information. I added cairo, but am still getting the
same (or a similar problem). The composer still shows a 'broken' icon,
and clicking on a metric does nothing.
The little icon on the compose window points
to:http://pmlog.inf.mel.mmd:44323/graphite/render/?width=586&height=308&_salt=1417555995.612
The metric on the left-hand window points to:
http://pmlog.inf.mel.mmd:44323/graphite/composer/index.html?=
Which seems to be missing something ?
Please help.
Thanks and regards
Chandana
My environment details
=======================
$ cat /etc/redhat-release
CentOS release 6.5 (Final)
$ rpm -qa | grep -P "pcp|microhtt|cairo"
mm-pcputils-1.3762-2.el6.noarch
pcp-libs-3.10.0-1.x86_64
cairo-1.8.8-3.1.el6.x86_64
pcp-conf-3.10.0-1.x86_64
python-pcp-3.10.0-1.x86_64
pcp-3.10.0-1.x86_64
libmicrohttpd-0.9.22-1.el6.x86_64
pcp-webapi-3.10.0-1.x86_64
$ grep PCP_SHARE_DIR /etc/pcp.conf
PCP_SHARE_DIR=/usr/share/pcp
$ cat /etc/pcp/pmwebd/pmwebd.options
# command-line options and environment variables for pmwebd(1)
# These defaults expose graphite/resource content and normally placed archives
# (assume pwd=$PCP_LOG_DIR/pmwebd)
OPTIONS="-l pmwebd.log"
#OPTIONS="-p 9999" # port number
# Graphite
OPTIONS="$OPTIONS -R $PCP_SHARE_DIR/webapps -A /var/logdata/pmlogger/ -G"
# Assume identity of some user other than "pcp"
# OPTIONS="$OPTIONS -U nobody"
# Add some verbosity
OPTIONS="$OPTIONS -v"
# Add any extra derived metrics; see pmLoadDerivedConfig(3) for format.
# PCP_DERIVED_CONFIG=/path/to/your/file
# export PCP_DERIVED_CONFIG
# Shorten timeouts for interactions with pmcd on behalf of clients,
# since pmwebd runs single-threaded.
PMCD_CONNECT_TIMEOUT=3
PMCD_RECONNECT_TIMEOUT=1,2,3
PMCD_REQUEST_TIMEOUT=1
export PMCD_CONNECT_TIMEOUT PMCD_RECONNECT_TIMEOUT PMCD_REQUEST_TIMEOUT
$ cat /var/log/pcp/pmwebd/pmwebd.log
[Tue Dec 2 21:31:42] pmwebd(32481): pmwebd
Started daemon on IPv4 TCP port 44323
Started daemon on IPv6 TCP port 44323
Verbosity level 1
Using libmicrohttpd 0.9.22
PMAPI prefix /pmapi
Serving non-pmwebapi URLs under directory /usr/share/pcp/webapps
Remote context creation requests enabled
Archive base directory: /var/logdata/pmlogger/
Graphite API enabled
Graphite API Cairo graphics rendering compiled-in
Periodic client statistics dumped roughly every 300s
Using up to 0 auxiliary threads
[Tue Dec 2 21:31:46] pmwebd(32481): [10.17.9.6:50353] HTTP/1.1 GET /graphite/
[Tue Dec 2 21:31:46] pmwebd(32481): [10.17.9.6:50353] HTTP/1.1 GET /graphite/composer/
[Tue Dec 2 21:31:46] pmwebd(32481): [10.17.9.6:50353] HTTP/1.1 GET /graphite/composer/index.html
[Tue Dec 2 21:31:46] pmwebd(32481): [10.17.9.6:50353] HTTP/1.1 GET /render
[Tue Dec 2 21:31:46] pmwebd(32481): [10.17.9.6:50353] suspicious resource path /usr/share/pcp/webapps/render
[Tue Dec 2 21:31:46] pmwebd(32481): [10.17.9.6:50353] HTTP/1.1 GET /graphite/render/
[Tue Dec 2 21:32:02] pmwebd(32481): [10.17.9.6:50353] HTTP/1.1 GET /graphite/metrics/find/
[Tue Dec 2 21:32:14] pmwebd(32481): [10.17.9.6:50353] HTTP/1.1 GET /graphite/render/
[Tue Dec 2 21:33:08] pmwebd(32481): [10.17.9.6:50353] HTTP/1.1 GET /graphite/metrics/find/
[Tue Dec 2 21:33:09] pmwebd(32481): [10.17.9.6:50353] HTTP/1.1 GET /graphite/metrics/find/
[Tue Dec 2 21:33:11] pmwebd(32481): [10.17.9.6:50353] HTTP/1.1 GET /graphite/metrics/find/
[Tue Dec 2 21:33:12] pmwebd(32481): [10.17.9.6:50353] HTTP/1.1 GET /graphite/render/
[Tue Dec 2 21:33:13] pmwebd(32481): [10.17.9.6:50353] HTTP/1.1 GET /graphite/render/
[Tue Dec 2 21:33:14] pmwebd(32481): [10.17.9.6:50353] HTTP/1.1 GET /graphite/render/
[Tue Dec 2 21:33:15] pmwebd(32481): [10.17.9.6:50353] HTTP/1.1 GET /graphite/render/
[Tue Dec 2 21:33:31] pmwebd(32481): [10.17.9.6:50353] HTTP/1.1 GET /graphite/composer/index.html
[Tue Dec 2 21:33:31] pmwebd(32481): [10.17.9.6:50353] HTTP/1.1 GET /render
[Tue Dec 2 21:33:31] pmwebd(32481): [10.17.9.6:50353] suspicious resource path /usr/share/pcp/webapps/render
[Tue Dec 2 21:33:31] pmwebd(32481): [10.17.9.6:50353] HTTP/1.1 GET /graphite/render/
[Tue Dec 2 21:36:44] pmwebd(32481): [10.17.9.6:50574] HTTP/1.1 GET /graphite/render/
[Tue Dec 2 21:38:36] pmwebd(32481): [10.17.9.6:50574] HTTP/1.1 GET /graphite/render/
[Tue Dec 2 21:38:36] pmwebd(32481): Client request counts:
10.17.9.6 19
On Tue, 2014-12-02 at 07:12 -0500, Frank Ch. Eigler wrote:
> This can happen when the raster-rendering prerequisite of pmwebd is
> absent. Check pmwebd.log for the "Cairo graphics..." line. If you
> install cairo-devel, and reconfigure/rebuild pcp/pmwebd, it should
> come back with a proud & friendly
>
> Graphite API enabled
> Graphite API Cairo graphics rendering compiled-in
>
> Without cairo, web browser-side graphic rendering (such as via
> graphlot or grafana) is necessary.
>
> - FChE
From fche@redhat.com Tue Dec 2 17:09:24 2014
Return-Path:
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on oss.sgi.com
X-Spam-Level:
X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=ham
version=3.3.1
X-Original-To: pcp@oss.sgi.com
Delivered-To: pcp@oss.sgi.com
Received: from relay.sgi.com (relay1.corp.sgi.com [137.38.102.111])
by oss.sgi.com (Postfix) with ESMTP id D27167F54
for ; Tue, 2 Dec 2014 17:09:24 -0600 (CST)
Received: from cuda.sgi.com (cuda2.sgi.com [192.48.176.25])
by relay1.corp.sgi.com (Postfix) with ESMTP id B2DC28F8035
for ; Tue, 2 Dec 2014 15:09:24 -0800 (PST)
X-ASG-Debug-ID: 1417561760-04cbb01e59da6900001-S8gJnT
Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by cuda.sgi.com with ESMTP id gv4oChtSgLtlkV6s (version=TLSv1 cipher=AES256-SHA bits=256 verify=NO) for ; Tue, 02 Dec 2014 15:09:20 -0800 (PST)
X-Barracuda-Envelope-From: fche@redhat.com
X-Barracuda-Apparent-Source-IP: 209.132.183.28
X-ASG-Whitelist: Client
Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22])
by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id sB2N9FCd010288
(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL);
Tue, 2 Dec 2014 18:09:15 -0500
Received: from fche.csb (vpn-238-111.phx2.redhat.com [10.3.238.111])
by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id sB2N9F7A025786;
Tue, 2 Dec 2014 18:09:15 -0500
Received: by fche.csb (Postfix, from userid 2569)
id 8DCE25819B; Tue, 2 Dec 2014 18:09:14 -0500 (EST)
Date: Tue, 2 Dec 2014 18:09:14 -0500
From: "Frank Ch. Eigler"
To: Chandana De Silva
Cc: pcp@oss.sgi.com
Subject: Re: pmwebd: Defining the directory for PCP Archives
Message-ID: <20141202230914.GQ5088@redhat.com>
X-ASG-Orig-Subj: Re: pmwebd: Defining the directory for PCP Archives
References: <1417459116.12396.15.camel@tardis> <1417499687.17867.23.camel@tardis> <20141202121245.GP5088@redhat.com> <1417556631.941.12.camel@tardis>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <1417556631.941.12.camel@tardis>
User-Agent: Mutt/1.4.2.2i
X-Scanned-By: MIMEDefang 2.68 on 10.5.11.22
X-Barracuda-Connect: mx1.redhat.com[209.132.183.28]
X-Barracuda-Start-Time: 1417561760
X-Barracuda-Encrypted: AES256-SHA
X-Barracuda-URL: http://192.48.176.25:80/cgi-mod/mark.cgi
X-Virus-Scanned: by bsmtpd at sgi.com
X-Barracuda-BRTS-Status: 1
Hi, Chandana -
> Thanks for that information. I added cairo, but am still getting the
> same (or a similar problem). The composer still shows a 'broken' icon,
> and clicking on a metric does nothing.
OK.
> $ rpm -qa | grep -P "pcp|microhtt|cairo"
> [...]
Thanks, that's high-quality info. I'll try to reproduce it on RHEL6.
> [...]
> $ cat /var/log/pcp/pmwebd/pmwebd.log
> [Tue Dec 2 21:31:42] pmwebd(32481): pmwebd
> Archive base directory: /var/logdata/pmlogger/
> Graphite API enabled
> Graphite API Cairo graphics rendering compiled-in
> [...]
That looks good. Try adding a few more -v (verbose) flags to
pmwebd.options to get more data in the .log file.
- FChE
From debbugs@buxtehude.debian.org Tue Dec 2 17:36:12 2014
Return-Path:
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on oss.sgi.com
X-Spam-Level:
X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=ham
version=3.3.1
X-Original-To: pcp@oss.sgi.com
Delivered-To: pcp@oss.sgi.com
Received: from relay.sgi.com (relay2.corp.sgi.com [137.38.102.29])
by oss.sgi.com (Postfix) with ESMTP id ED1277F54
for ; Tue, 2 Dec 2014 17:36:11 -0600 (CST)
Received: from cuda.sgi.com (cuda3.sgi.com [192.48.176.15])
by relay2.corp.sgi.com (Postfix) with ESMTP id DB890304039
for ; Tue, 2 Dec 2014 15:36:08 -0800 (PST)
X-ASG-Debug-ID: 1417563367-04cb6c0572daa580001-S8gJnT
Received: from buxtehude.debian.org (buxtehude.debian.org [140.211.166.26]) by cuda.sgi.com with ESMTP id Erqf7nDFqDZHH6zr (version=TLSv1 cipher=AES128-SHA bits=128 verify=NO) for ; Tue, 02 Dec 2014 15:36:07 -0800 (PST)
X-Barracuda-Envelope-From: debbugs@buxtehude.debian.org
X-Barracuda-Apparent-Source-IP: 140.211.166.26
Received: from debbugs by buxtehude.debian.org with local (Exim 4.80)
(envelope-from )
id 1XvwzE-00009E-Cu; Tue, 02 Dec 2014 23:36:04 +0000
X-Loop: owner@bugs.debian.org
Subject: Bug#771793: [pcp] Bug#771793: pcp: insecure use of /var/tmp in postinst
Reply-To: Nathan Scott , 771793@bugs.debian.org
X-ASG-Orig-Subj: Bug#771793: [pcp] Bug#771793: pcp: insecure use of /var/tmp in postinst
Resent-From: Nathan Scott
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: PCP Development Team
X-Loop: owner@bugs.debian.org
Resent-Date: Tue, 02 Dec 2014 23:36:01 +0000
Resent-Message-ID:
X-Debian-PR-Message: followup 771793
X-Debian-PR-Package: pcp
X-Debian-PR-Keywords: security
X-Debian-PR-Source: pcp
Received: via spool by 771793-submit@bugs.debian.org id=B771793.141756323932088
(code B ref 771793); Tue, 02 Dec 2014 23:36:01 +0000
Received: (at 771793) by bugs.debian.org; 2 Dec 2014 23:33:59 +0000
Received: from mx5-phx2.redhat.com ([209.132.183.37])
by buxtehude.debian.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256)
(Exim 4.80)
(envelope-from )
id 1XvwxD-0008LI-9f
for 771793@bugs.debian.org; Tue, 02 Dec 2014 23:33:59 +0000
Received: from zmail20.collab.prod.int.phx2.redhat.com (zmail20.collab.prod.int.phx2.redhat.com [10.5.83.23])
by mx5-phx2.redhat.com (8.14.4/8.14.4) with ESMTP id sB2NXu9Z016213;
Tue, 2 Dec 2014 18:33:56 -0500
Date: Tue, 2 Dec 2014 18:33:56 -0500 (EST)
From: Nathan Scott
To: Jakub Wilk , 771793@bugs.debian.org
Message-ID: <1813187233.9172054.1417563236716.JavaMail.zimbra@redhat.com>
In-Reply-To: <20141202131642.GA5780@jwilk.net>
References: <20141202131642.GA5780@jwilk.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
X-Originating-IP: [10.5.82.6]
X-Mailer: Zimbra 8.0.6_GA_5922 (ZimbraWebClient - FF17 (Linux)/8.0.6_GA_5922)
Thread-Topic: Bug#771793: pcp: insecure use of /var/tmp in postinst
Thread-Index: KiMtscA3Ym4KxUaY42Gm5+ZgF9xujA==
X-Barracuda-Connect: buxtehude.debian.org[140.211.166.26]
X-Barracuda-Start-Time: 1417563367
X-Barracuda-Encrypted: AES128-SHA
X-Barracuda-URL: http://192.48.176.15:80/cgi-mod/mark.cgi
X-Virus-Scanned: by bsmtpd at sgi.com
X-Barracuda-BRTS-Status: 1
X-Barracuda-Spam-Score: 0.03
X-Barracuda-Spam-Status: No, SCORE=0.03 using per-user scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.7 tests=BSF_SC0_SA_TO_FROM_DOMAIN_MATCH, THREAD_INDEX, THREAD_TOPIC
X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.3.12356
Rule breakdown below
pts rule name description
---- ---------------------- --------------------------------------------------
0.01 THREAD_INDEX thread-index: AcO7Y8iR61tzADqsRmmc5wNiFHEOig==
0.01 THREAD_TOPIC Thread-Topic: ...(Japanese Subject)...
0.01 BSF_SC0_SA_TO_FROM_DOMAIN_MATCH Sender Domain Matches Recipient
Domain
Hi Jakub,
----- Original Message -----
> [...]
> I'd suggest using stat(1) to check the file type and ownership
> atomically, and without following symlinks. Something like this should
> work:
>
> [ "$(LC_ALL=C stat -c '%u %g %F' $dir)" = "0 0 directory" ] && mv $dir
> /var/lib/pcp/tmp
Yep, looks good - will get this included in the next update, thanks.
cheers.
--
Nathan
From debbugs@buxtehude.debian.org Tue Dec 2 17:39:12 2014
Return-Path:
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on oss.sgi.com
X-Spam-Level:
X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=ham
version=3.3.1
X-Original-To: pcp@oss.sgi.com
Delivered-To: pcp@oss.sgi.com
Received: from relay.sgi.com (relay3.corp.sgi.com [198.149.34.15])
by oss.sgi.com (Postfix) with ESMTP id 8F79A7F54
for ; Tue, 2 Dec 2014 17:39:12 -0600 (CST)
Received: from cuda.sgi.com (cuda3.sgi.com [192.48.176.15])
by relay3.corp.sgi.com (Postfix) with ESMTP id 10E5DAC001
for ; Tue, 2 Dec 2014 15:39:08 -0800 (PST)
X-ASG-Debug-ID: 1417563547-04cb6c0572daa970001-S8gJnT
Received: from buxtehude.debian.org (buxtehude.debian.org [140.211.166.26]) by cuda.sgi.com with ESMTP id X1srRuc7v5r6fsde (version=TLSv1 cipher=AES128-SHA bits=128 verify=NO) for ; Tue, 02 Dec 2014 15:39:07 -0800 (PST)
X-Barracuda-Envelope-From: debbugs@buxtehude.debian.org
X-Barracuda-Apparent-Source-IP: 140.211.166.26
Received: from debbugs by buxtehude.debian.org with local (Exim 4.80)
(envelope-from )
id 1Xvx29-0000Ln-4e; Tue, 02 Dec 2014 23:39:05 +0000
X-Loop: owner@bugs.debian.org
Subject: Bug#771789: [pcp] Bug#771789: libpcp-pmda-perl: uninstallable on i386: depends on perlapi-5.18.2
Reply-To: Nathan Scott , 771789@bugs.debian.org
X-ASG-Orig-Subj: Bug#771789: [pcp] Bug#771789: libpcp-pmda-perl: uninstallable on i386: depends on perlapi-5.18.2
Resent-From: Nathan Scott
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: PCP Development Team
X-Loop: owner@bugs.debian.org
Resent-Date: Tue, 02 Dec 2014 23:39:02 +0000
Resent-Message-ID:
X-Debian-PR-Message: followup 771789
X-Debian-PR-Package: libpcp-pmda-perl
X-Debian-PR-Keywords:
X-Debian-PR-Source: pcp
Received: via spool by 771789-submit@bugs.debian.org id=B771789.14175634771113
(code B ref 771789); Tue, 02 Dec 2014 23:39:02 +0000
Received: (at 771789) by bugs.debian.org; 2 Dec 2014 23:37:57 +0000
Received: from mx5-phx2.redhat.com ([209.132.183.37])
by buxtehude.debian.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256)
(Exim 4.80)
(envelope-from )
id 1Xvx13-0000Hf-43
for 771789@bugs.debian.org; Tue, 02 Dec 2014 23:37:57 +0000
Received: from zmail20.collab.prod.int.phx2.redhat.com (zmail20.collab.prod.int.phx2.redhat.com [10.5.83.23])
by mx5-phx2.redhat.com (8.14.4/8.14.4) with ESMTP id sB2NbttO016784;
Tue, 2 Dec 2014 18:37:55 -0500
Date: Tue, 2 Dec 2014 18:37:55 -0500 (EST)
From: Nathan Scott
To: Jakub Wilk , 771789@bugs.debian.org
Message-ID: <179802256.9172600.1417563475227.JavaMail.zimbra@redhat.com>
In-Reply-To: <20141202121856.GA3938@jwilk.net>
References: <20141202121856.GA3938@jwilk.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
X-Originating-IP: [10.5.82.6]
X-Mailer: Zimbra 8.0.6_GA_5922 (ZimbraWebClient - FF17 (Linux)/8.0.6_GA_5922)
Thread-Topic: Bug#771789: libpcp-pmda-perl: uninstallable on i386: depends on perlapi-5.18.2
Thread-Index: lqjnQFnrVgsEmctqFucmqD/jNe2F9A==
X-Barracuda-Connect: buxtehude.debian.org[140.211.166.26]
X-Barracuda-Start-Time: 1417563547
X-Barracuda-Encrypted: AES128-SHA
X-Barracuda-URL: http://192.48.176.15:80/cgi-mod/mark.cgi
X-Virus-Scanned: by bsmtpd at sgi.com
X-Barracuda-BRTS-Status: 1
X-Barracuda-Spam-Score: 0.03
X-Barracuda-Spam-Status: No, SCORE=0.03 using per-user scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.7 tests=BSF_SC0_SA_TO_FROM_DOMAIN_MATCH, THREAD_INDEX, THREAD_TOPIC
X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.3.12356
Rule breakdown below
pts rule name description
---- ---------------------- --------------------------------------------------
0.01 THREAD_INDEX thread-index: AcO7Y8iR61tzADqsRmmc5wNiFHEOig==
0.01 THREAD_TOPIC Thread-Topic: ...(Japanese Subject)...
0.01 BSF_SC0_SA_TO_FROM_DOMAIN_MATCH Sender Domain Matches Recipient
Domain
Hi Jakub,
----- Original Message -----
> [...]
> The following packages have unmet dependencies:
> libpcp-pmda-perl : Depends: perlapi-5.18.2 but it is not installable
> E: Unable to correct problems, you have held broken packages.
Oh, I have an outdated perl installation here - have upgraded it now,
will be fixed by the next upload. Thanks!
--
Nathan
From nscott@redhat.com Wed Dec 3 04:30:01 2014
Return-Path:
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on oss.sgi.com
X-Spam-Level:
X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=ham
version=3.3.1
X-Original-To: pcp@oss.sgi.com
Delivered-To: pcp@oss.sgi.com
Received: from relay.sgi.com (relay3.corp.sgi.com [198.149.34.15])
by oss.sgi.com (Postfix) with ESMTP id 2128D7F54
for ; Wed, 3 Dec 2014 04:30:01 -0600 (CST)
Received: from cuda.sgi.com (cuda2.sgi.com [192.48.176.25])
by relay3.corp.sgi.com (Postfix) with ESMTP id A1A9CAC003
for ; Wed, 3 Dec 2014 02:29:57 -0800 (PST)
X-ASG-Debug-ID: 1417602591-04cbb01e5ae89010001-S8gJnT
Received: from mx3-phx2.redhat.com (mx3-phx2.redhat.com [209.132.183.24]) by cuda.sgi.com with ESMTP id t5j3I6jaa97yclMY (version=TLSv1 cipher=AES256-SHA bits=256 verify=NO) for ; Wed, 03 Dec 2014 02:29:52 -0800 (PST)
X-Barracuda-Envelope-From: nscott@redhat.com
X-Barracuda-Apparent-Source-IP: 209.132.183.24
Received: from zmail20.collab.prod.int.phx2.redhat.com (zmail20.collab.prod.int.phx2.redhat.com [10.5.83.23])
by mx3-phx2.redhat.com (8.13.8/8.13.8) with ESMTP id sB3ATmtM002237;
Wed, 3 Dec 2014 05:29:48 -0500
Date: Wed, 3 Dec 2014 05:29:48 -0500 (EST)
From: Nathan Scott
Reply-To: Nathan Scott
To: Ken McDonell
Cc: pcp
Message-ID: <1641491119.9465653.1417602588298.JavaMail.zimbra@redhat.com>
In-Reply-To: <1867879926.7608473.1417393457721.JavaMail.zimbra@redhat.com>
References: <1224656795.6945862.1417136806064.JavaMail.zimbra@redhat.com> <8149026.6994945.1417145442845.JavaMail.zimbra@redhat.com> <6c1905a6-237d-4181-b2f5-d436d42f66b8.maildroid@localhost> <1867879926.7608473.1417393457721.JavaMail.zimbra@redhat.com>
Subject: Re: Regression in qa/628
MIME-Version: 1.0
X-ASG-Orig-Subj: Re: Regression in qa/628
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
X-Originating-IP: [10.5.82.6]
X-Mailer: Zimbra 8.0.6_GA_5922 (ZimbraWebClient - FF17 (Linux)/8.0.6_GA_5922)
Thread-Topic: Regression in qa/628
Thread-Index: HoijUWUE+8MitLE7XdnluiWJFWZSIuVFsMO3
X-Barracuda-Connect: mx3-phx2.redhat.com[209.132.183.24]
X-Barracuda-Start-Time: 1417602592
X-Barracuda-Encrypted: AES256-SHA
X-Barracuda-URL: http://192.48.176.25:80/cgi-mod/mark.cgi
X-Virus-Scanned: by bsmtpd at sgi.com
X-Barracuda-BRTS-Status: 1
X-Barracuda-Spam-Score: 0.02
X-Barracuda-Spam-Status: No, SCORE=0.02 using per-user scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.7 tests=THREAD_INDEX, THREAD_TOPIC
X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.3.12376
Rule breakdown below
pts rule name description
---- ---------------------- --------------------------------------------------
0.01 THREAD_INDEX thread-index: AcO7Y8iR61tzADqsRmmc5wNiFHEOig==
0.01 THREAD_TOPIC Thread-Topic: ...(Japanese Subject)...
Hi,
Just a quick update since I've been distracted by several other
things in the last day or so...
----- Original Message -----
> ----- Original Message -----
> > I would be surprised if my change caused this, unless you have an old
> > simple
> > pmda running (the binary would not match the library). More likely to be a
> > latent problem in the simple pmda that this change has exposed.
>
> I'm wondering if its the former issue - I'll do more tests to confirm, but I
> suspect some of the indeterminism I saw might be explained by rebuilding the
> PMDA in-between some runs (and thereafter it was fine).
>
> When I revert the change, the problem is definitely not reproducible anymore,
> so will go with that for now & put it back in dev shortly (post-release).
I've reverted the revert in dev, but the above statements are all still true -
not really understanding how, but some kind of ABI-breaking oddity seems to be
in play here. There's a comment in the pmda libdefs.h about how that structure
is used as "private per PMDA data when multiple DSO PMDAs are in use" - do you
know the background to that? That is our situation here, so that aspect might
be worth a deeper look.
cheers.
--
Nathan
From nscott@redhat.com Wed Dec 3 04:32:34 2014
Return-Path:
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on oss.sgi.com
X-Spam-Level:
X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=ham
version=3.3.1
X-Original-To: pcp@oss.sgi.com
Delivered-To: pcp@oss.sgi.com
Received: from relay.sgi.com (relay3.corp.sgi.com [198.149.34.15])
by oss.sgi.com (Postfix) with ESMTP id BBD897F54
for ; Wed, 3 Dec 2014 04:32:34 -0600 (CST)
Received: from cuda.sgi.com (cuda2.sgi.com [192.48.176.25])
by relay3.corp.sgi.com (Postfix) with ESMTP id 536EFAC003
for ; Wed, 3 Dec 2014 02:32:34 -0800 (PST)
X-ASG-Debug-ID: 1417602751-04cbb01e59e85870001-S8gJnT
Received: from mx6-phx2.redhat.com (mx6-phx2.redhat.com [209.132.183.39]) by cuda.sgi.com with ESMTP id jDqNy0YntRnJiWFv (version=TLSv1 cipher=AES256-SHA bits=256 verify=NO) for ; Wed, 03 Dec 2014 02:32:32 -0800 (PST)
X-Barracuda-Envelope-From: nscott@redhat.com
X-Barracuda-Apparent-Source-IP: 209.132.183.39
Received: from zmail20.collab.prod.int.phx2.redhat.com (zmail20.collab.prod.int.phx2.redhat.com [10.5.83.23])
by mx6-phx2.redhat.com (8.14.4/8.14.4) with ESMTP id sB3AWVQD007656
for ; Wed, 3 Dec 2014 05:32:31 -0500
Date: Wed, 3 Dec 2014 05:32:31 -0500 (EST)
From: Nathan Scott
Reply-To: Nathan Scott
To: pcp
Message-ID: <1381186154.9476276.1417602751762.JavaMail.zimbra@redhat.com>
In-Reply-To: <637393860.9476267.1417602749546.JavaMail.zimbra@redhat.com>
Subject: pcp updates: packaging
MIME-Version: 1.0
X-ASG-Orig-Subj: pcp updates: packaging
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
X-Originating-IP: [10.5.82.6]
X-Mailer: Zimbra 8.0.6_GA_5922 (ZimbraWebClient - FF17 (Linux)/8.0.6_GA_5922)
Thread-Topic: pcp updates: packaging
Thread-Index: YIZ4UJOOxF2UNGccXxTC2UXD397rhw==
X-Barracuda-Connect: mx6-phx2.redhat.com[209.132.183.39]
X-Barracuda-Start-Time: 1417602752
X-Barracuda-Encrypted: AES256-SHA
X-Barracuda-URL: http://192.48.176.25:80/cgi-mod/mark.cgi
X-Virus-Scanned: by bsmtpd at sgi.com
X-Barracuda-BRTS-Status: 1
X-Barracuda-Spam-Score: 0.02
X-Barracuda-Spam-Status: No, SCORE=0.02 using per-user scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.7 tests=THREAD_INDEX, THREAD_TOPIC
X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.3.12376
Rule breakdown below
pts rule name description
---- ---------------------- --------------------------------------------------
0.01 THREAD_INDEX thread-index: AcO7Y8iR61tzADqsRmmc5wNiFHEOig==
0.01 THREAD_TOPIC Thread-Topic: ...(Japanese Subject)...
Changes committed to git://git.pcp.io/pcp.git dev
Jakub Wilk (1):
packaging: fix compat tmpdir renaming holes in debian postinst
Michele Baldessari (1):
packaging: fix spec file problems found by rpmlint
Nathan Scott (1):
packaging: add note re debian bugs fixed this release
build/rpm/fedora.spec | 26 +++++++++++++-------------
debian/changelog | 4 +++-
debian/pcp.postinst.tail | 2 +-
From info@zaks.com.ar Wed Dec 3 05:58:21 2014
Return-Path:
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on oss.sgi.com
X-Spam-Level:
X-Spam-Status: No, score=0.0 required=5.0 tests=HTML_MESSAGE,T_FRT_CONTACT
autolearn=ham version=3.3.1
X-Original-To: pcp@oss.sgi.com
Delivered-To: pcp@oss.sgi.com
Received: from relay.sgi.com (relay2.corp.sgi.com [137.38.102.29])
by oss.sgi.com (Postfix) with ESMTP id 40C717F54
for ; Wed, 3 Dec 2014 05:58:21 -0600 (CST)
Received: from cuda.sgi.com (cuda3.sgi.com [192.48.176.15])
by relay2.corp.sgi.com (Postfix) with ESMTP id 2FB1B304039
for ; Wed, 3 Dec 2014 03:58:17 -0800 (PST)
X-ASG-Debug-ID: 1417607891-04cb6c0571e5db70001-S8gJnT
Received: from mx1619.godns.net (198192.godns.net [76.74.198.192]) by cuda.sgi.com with SMTP id SMIotBwqmHvLhP0y for ; Wed, 03 Dec 2014 03:58:12 -0800 (PST)
X-Barracuda-Envelope-From: info@zaks.com.ar
X-Barracuda-Apparent-Source-IP: 76.74.198.192
Received: (qmail 18375 invoked by uid 520); 3 Dec 2014 11:58:10 -0000
Received: from unknown (HELO mail.zaks.com.ar) (info@zaks.com.ar@190.228.29.130)
by 0 with ESMTPA; 3 Dec 2014 11:58:08 -0000
MIME-Version: 1.0
Content-Type: multipart/alternative;
boundary="=_4a7d3efedb93fcf0e9e53ef115209057"
Date: Wed, 03 Dec 2014 12:56:46 +0100
From: Franck Duois
To: undisclosed-recipients:;
Subject: Finanzierungsangebot
Reply-To: contact@franck003dubois.com
X-ASG-Orig-Subj: Finanzierungsangebot
Mail-Reply-To: contact@franck003dubois.com
Message-ID: <02e6b818a0b64ce4399c1d877aa1d87f@zaks.com.ar>
X-Sender: info@zaks.com.ar
User-Agent: Webmail/0.9.5
X-Barracuda-Connect: 198192.godns.net[76.74.198.192]
X-Barracuda-Start-Time: 1417607891
X-Barracuda-URL: http://192.48.176.15:80/cgi-mod/mark.cgi
X-Virus-Scanned: by bsmtpd at sgi.com
X-Barracuda-BRTS-Status: 1
X-Barracuda-Spam-Score: 0.00
X-Barracuda-Spam-Status: No, SCORE=0.00 using per-user scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.7 tests=FUZZY_CREDIT, HTML_MESSAGE
X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.3.12378
Rule breakdown below
pts rule name description
---- ---------------------- --------------------------------------------------
0.00 FUZZY_CREDIT BODY: Attempt to obfuscate words in spam
0.00 HTML_MESSAGE BODY: HTML included in message
--=_4a7d3efedb93fcf0e9e53ef115209057
Content-Transfer-Encoding: 8bit
Content-Type: text/plain; charset=UTF-8
--
Hallo
Sie Suchen Finanzierung Tätigkeiten neu zu starten, die Durchführung
eines Projekts, oder aus anderen Gründen
Wir geben Darlehen mit einer Rate von 3%. Unsere Kreditkonditionen
Einzel
Kontaktieren Sie uns per E-Mail für weitere Informationen
Information: contact@franck003dubois.com
--=_4a7d3efedb93fcf0e9e53ef115209057
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html; charset=UTF-8
--
Hallo
Sie Suchen Finanzierung Tätigkeiten neu zu starten, die Durchführ=
ung eines Projekts, oder aus anderen Gründen
Wir geben Darlehen mit einer Rate von 3%. Unsere Kreditkonditionen Einzel
Kontaktieren Sie uns per E-Mail für weitere Informationen
Information: contact@franck003dubois.com
--=_4a7d3efedb93fcf0e9e53ef115209057--
From wwwrun@oss.sgi.com Wed Dec 3 12:40:09 2014
Return-Path:
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on oss.sgi.com
X-Spam-Level:
X-Spam-Status: No, score=0.0 required=5.0 tests=HTML_MESSAGE,NO_RELAYS
autolearn=ham version=3.3.1
X-Original-To: pcp@oss.sgi.com
Delivered-To: pcp@oss.sgi.com
Received: by oss.sgi.com (Postfix, from userid 30)
id 6955F7F4E; Wed, 3 Dec 2014 12:40:09 -0600 (CST)
From: bugzilla-daemon@oss.sgi.com
To: pcp@oss.sgi.com
Subject: [Bug 1091] New: pmapi extension for regularly scheduled fetches
Date: Wed, 03 Dec 2014 18:40:08 +0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Classification: Unclassified
X-Bugzilla-Product: pcp
X-Bugzilla-Component: pcp
X-Bugzilla-Keywords:
X-Bugzilla-Severity: major
X-Bugzilla-Who: fche@redhat.com
X-Bugzilla-Status: NEW
X-Bugzilla-Priority: P5
X-Bugzilla-Assigned-To: pcp@kenj.com.au
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform
op_sys bug_status bug_severity priority component assigned_to reporter cc
classification
Message-ID:
Content-Type: multipart/alternative; boundary="1417632009.08F31.10880"; charset="us-ascii"
X-Bugzilla-URL: http://oss.sgi.com/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
--1417632009.08F31.10880
Date: Wed, 3 Dec 2014 12:40:09 -0600
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
http://oss.sgi.com/bugzilla/show_bug.cgi?id=1091
Bug ID: 1091
Summary: pmapi extension for regularly scheduled fetches
Product: pcp
Version: unspecified
Hardware: All
OS: Linux
Status: NEW
Severity: major
Priority: P5
Component: pcp
Assignee: pcp@kenj.com.au
Reporter: fche@redhat.com
CC: pcp@oss.sgi.com
Classification: Unclassified
In order to limit unnecessary load, it would be helpful if the PMAPI
included a single operation to fetch metrics in a recurrent manner.
The aim would be to eliminate having to wake up pmlogger just to send
the inquiry, let it go to sleep awaiting network/pmcd, then waking it
up again when each response comes. It could help synchronize
A possible PMAPI-flavoured extension might look like:
int pmFetchRecurrent(int numpid, pmID *pmidList, struct timeval interval,
int (*consumerCallBack)(pmResult *),
volatile int *cancel);
(where the consumer callback and the cancel flag could determine how
long the operation is to continue). PDU state-machine design etc. TBD.
--
You are receiving this mail because:
You are on the CC list for the bug.
--1417632009.08F31.10880
Date: Wed, 3 Dec 2014 12:40:09 -0600
MIME-Version: 1.0
Content-Type: text/html; charset="UTF-8"
| Bug ID |
1091
|
| Summary |
pmapi extension for regularly scheduled fetches
|
| Product |
pcp
|
| Version |
unspecified
|
| Hardware |
All
|
| OS |
Linux
|
| Status |
NEW
|
| Severity |
major
|
| Priority |
P5
|
| Component |
pcp
|
| Assignee |
pcp@kenj.com.au
|
| Reporter |
fche@redhat.com
|
| CC |
pcp@oss.sgi.com
|
| Classification |
Unclassified
|
In order to limit unnecessary load, it would be helpful if the PMAPI
included a single operation to fetch metrics in a recurrent manner.
The aim would be to eliminate having to wake up pmlogger just to send
the inquiry, let it go to sleep awaiting network/pmcd, then waking it
up again when each response comes. It could help synchronize
A possible PMAPI-flavoured extension might look like:
int pmFetchRecurrent(int numpid, pmID *pmidList, struct timeval interval,
int (*consumerCallBack)(pmResult *),
volatile int *cancel);
(where the consumer callback and the cancel flag could determine how
long the operation is to continue). PDU state-machine design etc. TBD.
You are receiving this mail because:
- You are on the CC list for the bug.
--1417632009.08F31.10880--
From wwwrun@oss.sgi.com Wed Dec 3 12:59:44 2014
Return-Path:
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on oss.sgi.com
X-Spam-Level:
X-Spam-Status: No, score=0.0 required=5.0 tests=HTML_MESSAGE,NO_RELAYS
autolearn=ham version=3.3.1
X-Original-To: pcp@oss.sgi.com
Delivered-To: pcp@oss.sgi.com
Received: by oss.sgi.com (Postfix, from userid 30)
id 650657F4E; Wed, 3 Dec 2014 12:59:44 -0600 (CST)
From: bugzilla-daemon@oss.sgi.com
To: pcp@oss.sgi.com
Subject: [Bug 1092] New: aligned-time-edge mode for pmAF / tools
Date: Wed, 03 Dec 2014 18:59:44 +0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Classification: Unclassified
X-Bugzilla-Product: pcp
X-Bugzilla-Component: pcp
X-Bugzilla-Keywords:
X-Bugzilla-Severity: major
X-Bugzilla-Who: fche@redhat.com
X-Bugzilla-Status: NEW
X-Bugzilla-Priority: P5
X-Bugzilla-Assigned-To: pcp@kenj.com.au
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform
op_sys bug_status bug_severity priority component assigned_to reporter cc
classification
Message-ID:
Content-Type: multipart/alternative; boundary="1417633184.8beaE32B1.12437"; charset="us-ascii"
X-Bugzilla-URL: http://oss.sgi.com/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
--1417633184.8beaE32B1.12437
Date: Wed, 3 Dec 2014 12:59:44 -0600
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
http://oss.sgi.com/bugzilla/show_bug.cgi?id=1092
Bug ID: 1092
Summary: aligned-time-edge mode for pmAF / tools
Product: pcp
Version: unspecified
Hardware: All
OS: Linux
Status: NEW
Severity: major
Priority: P5
Component: pcp
Assignee: pcp@kenj.com.au
Reporter: fche@redhat.com
CC: pcp@oss.sgi.com
Classification: Unclassified
There has been a request to ensure that tools that operate with
a periodic timer do so with the possibility of aligning to the
edge of the real-time clock. In other words, in addition to
ensuring that samples are taken N seconds or milliseconds apart,
those samples should be taken at moments aligned with
epoch+(integer-multiple-of-N) edges.
For example, 60-second samples for pmlogger should be taken
exactly on minute boundaries (at least as an option). The same
considerations apply to many other periodic tools like pmval.
It would also cure the possibility of gradual drift due to some
tools doing naive sleep($interval) operations between samples
(failing to account for elapsed processing time).
Benefit would include direct comparability of values from
different tools/logs, reduced dependence on interpolation
approximations.
--
You are receiving this mail because:
You are on the CC list for the bug.
--1417633184.8beaE32B1.12437
Date: Wed, 3 Dec 2014 12:59:44 -0600
MIME-Version: 1.0
Content-Type: text/html; charset="UTF-8"
| Bug ID |
1092
|
| Summary |
aligned-time-edge mode for pmAF / tools
|
| Product |
pcp
|
| Version |
unspecified
|
| Hardware |
All
|
| OS |
Linux
|
| Status |
NEW
|
| Severity |
major
|
| Priority |
P5
|
| Component |
pcp
|
| Assignee |
pcp@kenj.com.au
|
| Reporter |
fche@redhat.com
|
| CC |
pcp@oss.sgi.com
|
| Classification |
Unclassified
|
There has been a request to ensure that tools that operate with
a periodic timer do so with the possibility of aligning to the
edge of the real-time clock. In other words, in addition to
ensuring that samples are taken N seconds or milliseconds apart,
those samples should be taken at moments aligned with
epoch+(integer-multiple-of-N) edges.
For example, 60-second samples for pmlogger should be taken
exactly on minute boundaries (at least as an option). The same
considerations apply to many other periodic tools like pmval.
It would also cure the possibility of gradual drift due to some
tools doing naive sleep($interval) operations between samples
(failing to account for elapsed processing time).
Benefit would include direct comparability of values from
different tools/logs, reduced dependence on interpolation
approximations.
You are receiving this mail because:
- You are on the CC list for the bug.
--1417633184.8beaE32B1.12437--
From wwwrun@oss.sgi.com Wed Dec 3 13:05:04 2014
Return-Path:
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on oss.sgi.com
X-Spam-Level:
X-Spam-Status: No, score=0.0 required=5.0 tests=HTML_MESSAGE,NO_RELAYS
autolearn=ham version=3.3.1
X-Original-To: pcp@oss.sgi.com
Delivered-To: pcp@oss.sgi.com
Received: by oss.sgi.com (Postfix, from userid 30)
id 278487F4E; Wed, 3 Dec 2014 13:05:04 -0600 (CST)
From: bugzilla-daemon@oss.sgi.com
To: pcp@oss.sgi.com
Subject: [Bug 1093] New: include pcp-graphite.py
Date: Wed, 03 Dec 2014 19:05:03 +0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Classification: Unclassified
X-Bugzilla-Product: pcp
X-Bugzilla-Component: pcp
X-Bugzilla-Keywords:
X-Bugzilla-Severity: major
X-Bugzilla-Who: fche@redhat.com
X-Bugzilla-Status: NEW
X-Bugzilla-Priority: P5
X-Bugzilla-Assigned-To: pcp@kenj.com.au
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform
op_sys bug_status bug_severity priority component assigned_to reporter cc
classification
Message-ID:
Content-Type: multipart/alternative; boundary="1417633504.50fEada1.13028"; charset="us-ascii"
X-Bugzilla-URL: http://oss.sgi.com/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
--1417633504.50fEada1.13028
Date: Wed, 3 Dec 2014 13:05:04 -0600
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
http://oss.sgi.com/bugzilla/show_bug.cgi?id=1093
Bug ID: 1093
Summary: include pcp-graphite.py
Product: pcp
Version: unspecified
Hardware: All
OS: Linux
Status: NEW
Severity: major
Priority: P5
Component: pcp
Assignee: pcp@kenj.com.au
Reporter: fche@redhat.com
CC: pcp@oss.sgi.com
Classification: Unclassified
There has been a request to "productize" the pcp-graphite.py prototype
from the fche/graphite branch, to aid in the interoperation of PCP
with established graphite/whisper/carbon installations.
(The script is known to suffer from bug #1092.)
--
You are receiving this mail because:
You are on the CC list for the bug.
--1417633504.50fEada1.13028
Date: Wed, 3 Dec 2014 13:05:04 -0600
MIME-Version: 1.0
Content-Type: text/html; charset="UTF-8"
| Bug ID |
1093
|
| Summary |
include pcp-graphite.py
|
| Product |
pcp
|
| Version |
unspecified
|
| Hardware |
All
|
| OS |
Linux
|
| Status |
NEW
|
| Severity |
major
|
| Priority |
P5
|
| Component |
pcp
|
| Assignee |
pcp@kenj.com.au
|
| Reporter |
fche@redhat.com
|
| CC |
pcp@oss.sgi.com
|
| Classification |
Unclassified
|
There has been a request to "productize" the pcp-graphite.py prototype
from the fche/graphite branch, to aid in the interoperation of PCP
with established graphite/whisper/carbon installations.
(The script is known to suffer from bug #1092.)
You are receiving this mail because:
- You are on the CC list for the bug.
--1417633504.50fEada1.13028--
From wwwrun@oss.sgi.com Wed Dec 3 13:06:34 2014
Return-Path:
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on oss.sgi.com
X-Spam-Level:
X-Spam-Status: No, score=0.0 required=5.0 tests=HTML_MESSAGE,NO_RELAYS
autolearn=ham version=3.3.1
X-Original-To: pcp@oss.sgi.com
Delivered-To: pcp@oss.sgi.com
Received: by oss.sgi.com (Postfix, from userid 30)
id E26F77F47; Wed, 3 Dec 2014 13:06:34 -0600 (CST)
From: bugzilla-daemon@oss.sgi.com
To: pcp@oss.sgi.com
Subject: [Bug 1094] New: pmwebd graphite emulation: include analytical
function support
Date: Wed, 03 Dec 2014 19:06:34 +0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Classification: Unclassified
X-Bugzilla-Product: pcp
X-Bugzilla-Component: pcp
X-Bugzilla-Keywords:
X-Bugzilla-Severity: major
X-Bugzilla-Who: fche@redhat.com
X-Bugzilla-Status: NEW
X-Bugzilla-Priority: P5
X-Bugzilla-Assigned-To: fche@redhat.com
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform
op_sys bug_status bug_severity priority component assigned_to reporter cc
classification
Message-ID:
Content-Type: multipart/alternative; boundary="1417633594.84BBC48E0.13247"; charset="us-ascii"
X-Bugzilla-URL: http://oss.sgi.com/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
--1417633594.84BBC48E0.13247
Date: Wed, 3 Dec 2014 13:06:34 -0600
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
http://oss.sgi.com/bugzilla/show_bug.cgi?id=1094
Bug ID: 1094
Summary: pmwebd graphite emulation: include analytical function
support
Product: pcp
Version: unspecified
Hardware: All
OS: Linux
Status: NEW
Severity: major
Priority: P5
Component: pcp
Assignee: fche@redhat.com
Reporter: fche@redhat.com
CC: pcp@oss.sgi.com
Classification: Unclassified
There has been a request to implement the &target=FOO(series)
suite of functions in the pmwebd/graphite emulation code.
http://graphite.readthedocs.org/en/latest/functions.html
--
You are receiving this mail because:
You are on the CC list for the bug.
--1417633594.84BBC48E0.13247
Date: Wed, 3 Dec 2014 13:06:34 -0600
MIME-Version: 1.0
Content-Type: text/html; charset="UTF-8"
| Bug ID |
1094
|
| Summary |
pmwebd graphite emulation: include analytical function support
|
| Product |
pcp
|
| Version |
unspecified
|
| Hardware |
All
|
| OS |
Linux
|
| Status |
NEW
|
| Severity |
major
|
| Priority |
P5
|
| Component |
pcp
|
| Assignee |
fche@redhat.com
|
| Reporter |
fche@redhat.com
|
| CC |
pcp@oss.sgi.com
|
| Classification |
Unclassified
|
You are receiving this mail because:
- You are on the CC list for the bug.
--1417633594.84BBC48E0.13247--
From wwwrun@oss.sgi.com Wed Dec 3 13:28:28 2014
Return-Path:
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on oss.sgi.com
X-Spam-Level:
X-Spam-Status: No, score=0.0 required=5.0 tests=HTML_MESSAGE,NO_RELAYS
autolearn=ham version=3.3.1
X-Original-To: pcp@oss.sgi.com
Delivered-To: pcp@oss.sgi.com
Received: by oss.sgi.com (Postfix, from userid 30)
id 05C757F58; Wed, 3 Dec 2014 13:28:28 -0600 (CST)
From: bugzilla-daemon@oss.sgi.com
To: pcp@oss.sgi.com
Subject: [Bug 1091] pmapi extension for regularly scheduled fetches
Date: Wed, 03 Dec 2014 19:28:27 +0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Classification: Unclassified
X-Bugzilla-Product: pcp
X-Bugzilla-Component: pcp
X-Bugzilla-Keywords:
X-Bugzilla-Severity: major
X-Bugzilla-Who: fche@redhat.com
X-Bugzilla-Status: NEW
X-Bugzilla-Priority: P5
X-Bugzilla-Assigned-To: pcp@kenj.com.au
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Changed-Fields:
Message-ID:
In-Reply-To:
References:
Content-Type: multipart/alternative; boundary="1417634908.CAD51.15000"; charset="us-ascii"
X-Bugzilla-URL: http://oss.sgi.com/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
--1417634908.CAD51.15000
Date: Wed, 3 Dec 2014 13:28:28 -0600
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
http://oss.sgi.com/bugzilla/show_bug.cgi?id=1091
--- Comment #1 from Frank Ch. Eigler ---
As a random additional data point, a cross-network pmlogger instance
running with a default pmlogconf indicates, under strace:
- apprx. 900 bytes sent per fetch request
- a delay of 60 milliseconds awaiting a response
- a write of the result to disk within 30 microseconds
At the pmcd end, under strace:
- those 900 bytes are received
- after 300 microseconds, the PMDAs start collecting data
(doing too much work, as noted at bug #1067 etc.)
- sending overall response of some 9000 bytes back 56 milliseconds after
receiving request
(without pmcd running under strace, it is considerably faster)
... an additional 4ish milliseconds remain unaccounted for in terms of
network/kernel latencies
--
You are receiving this mail because:
You are on the CC list for the bug.
--1417634908.CAD51.15000
Date: Wed, 3 Dec 2014 13:28:28 -0600
MIME-Version: 1.0
Content-Type: text/html; charset="UTF-8"
Comment # 1
on bug 1091
from Frank Ch. Eigler
As a random additional data point, a cross-network pmlogger instance
running with a default pmlogconf indicates, under strace:
- apprx. 900 bytes sent per fetch request
- a delay of 60 milliseconds awaiting a response
- a write of the result to disk within 30 microseconds
At the pmcd end, under strace:
- those 900 bytes are received
- after 300 microseconds, the PMDAs start collecting data
(doing too much work, as noted at bug #1067 etc.)
- sending overall response of some 9000 bytes back 56 milliseconds after
receiving request
(without pmcd running under strace, it is considerably faster)
... an additional 4ish milliseconds remain unaccounted for in terms of
network/kernel latencies
You are receiving this mail because:
- You are on the CC list for the bug.
--1417634908.CAD51.15000--
From wwwrun@oss.sgi.com Wed Dec 3 15:26:39 2014
Return-Path:
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on oss.sgi.com
X-Spam-Level:
X-Spam-Status: No, score=0.0 required=5.0 tests=HTML_MESSAGE,NO_RELAYS
autolearn=ham version=3.3.1
X-Original-To: pcp@oss.sgi.com
Delivered-To: pcp@oss.sgi.com
Received: by oss.sgi.com (Postfix, from userid 30)
id 4C4447F50; Wed, 3 Dec 2014 15:26:39 -0600 (CST)
From: bugzilla-daemon@oss.sgi.com
To: pcp@oss.sgi.com
Subject: [Bug 1092] aligned-time-edge mode for pmAF / tools
Date: Wed, 03 Dec 2014 21:26:39 +0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Classification: Unclassified
X-Bugzilla-Product: pcp
X-Bugzilla-Component: pcp
X-Bugzilla-Keywords: EasyFix
X-Bugzilla-Severity: major
X-Bugzilla-Who: nathans@debian.org
X-Bugzilla-Status: NEW
X-Bugzilla-Priority: P5
X-Bugzilla-Assigned-To: pcp@kenj.com.au
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Changed-Fields: keywords cc
Message-ID:
In-Reply-To:
References:
Content-Type: multipart/alternative; boundary="1417641999.A5ad30Ba2.27951"; charset="us-ascii"
X-Bugzilla-URL: http://oss.sgi.com/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
--1417641999.A5ad30Ba2.27951
Date: Wed, 3 Dec 2014 15:26:39 -0600
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
http://oss.sgi.com/bugzilla/show_bug.cgi?id=1092
Nathan Scott changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |EasyFix
CC| |nathans@debian.org
--- Comment #1 from Nathan Scott ---
I think this should be straightforward (and mostly implemented already). The
missing piece would be to add support to pmlogger for the -A/--align option
that the other client tools already support... some pmlogger code would be
needed to delay until that initial time alignment is reached (a little bit like
its "linger" mode, but with a timeout, and then proceeding with logging as
normal.
--
You are receiving this mail because:
You are on the CC list for the bug.
--1417641999.A5ad30Ba2.27951
Date: Wed, 3 Dec 2014 15:26:39 -0600
MIME-Version: 1.0
Content-Type: text/html; charset="UTF-8"
Nathan Scott
changed
bug 1092
| What |
Removed |
Added |
| Keywords |
|
EasyFix
|
| CC |
|
nathans@debian.org
|
Comment # 1
on bug 1092
from Nathan Scott
I think this should be straightforward (and mostly implemented already). The
missing piece would be to add support to pmlogger for the -A/--align option
that the other client tools already support... some pmlogger code would be
needed to delay until that initial time alignment is reached (a little bit like
its "linger" mode, but with a timeout, and then proceeding with logging as
normal.
You are receiving this mail because:
- You are on the CC list for the bug.
--1417641999.A5ad30Ba2.27951--
From janfrode@tanso.net Wed Dec 3 15:37:02 2014
Return-Path:
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on oss.sgi.com
X-Spam-Level:
X-Spam-Status: No, score=0.0 required=5.0 tests=HTML_MESSAGE autolearn=ham
version=3.3.1
X-Original-To: pcp@oss.sgi.com
Delivered-To: pcp@oss.sgi.com
Received: from relay.sgi.com (relay1.corp.sgi.com [137.38.102.111])
by oss.sgi.com (Postfix) with ESMTP id B49D17F3F
for ; Wed, 3 Dec 2014 15:37:02 -0600 (CST)
Received: from cuda.sgi.com (cuda3.sgi.com [192.48.176.15])
by relay1.corp.sgi.com (Postfix) with ESMTP id 946C18F8052
for ; Wed, 3 Dec 2014 13:37:02 -0800 (PST)
X-ASG-Debug-ID: 1417642617-04cb6c0572ee30c0001-S8gJnT
Received: from mail-wi0-f179.google.com (mail-wi0-f179.google.com [209.85.212.179]) by cuda.sgi.com with ESMTP id y728AGiII7vj1ast (version=TLSv1 cipher=RC4-SHA bits=128 verify=NO) for ; Wed, 03 Dec 2014 13:36:57 -0800 (PST)
X-Barracuda-Envelope-From: janfrode@tanso.net
X-Barracuda-Apparent-Source-IP: 209.85.212.179
Received: by mail-wi0-f179.google.com with SMTP id ex7so25937133wid.6
for ; Wed, 03 Dec 2014 13:36:56 -0800 (PST)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20130820;
h=x-gm-message-state:mime-version:in-reply-to:references:date
:message-id:subject:from:to:cc:content-type;
bh=BD6XFVOIGSgP0LEehKCpdWBKKxr/H/0Sx4iRMRSkDgQ=;
b=gL7HmNZAFkTujERHjLa8WL3bLYYw8abVJ6DnlCbTpdAJ9Jjjppa3YhsWfVMAJWxhAV
5am18SkUo+iF+edeLZFMvvJ4bBXNtqwCfboyme740eVysUY4t4OapcHn7KtezOp+fOKd
qRQBUP0YN8PvK8w/eC6db6qolvB/gq8HNgJqjgio5i2yUn+wdhbMLKWvV/4GuHyDEbnx
WJUaDsPKhUi1cXqdqpL6OIJB10Kd1ouF0oqyVl5BMWyqW4D7RO7Zic6u/7y0U6Xx9/q6
nW8IpFv4RTpc9AMNRXIU/1iYl7O92kwFLy8qubfrYLrynLGGOBpgBGq7az6MUlw0qYrw
NysA==
X-Gm-Message-State: ALoCoQnkz1+Nsb8yTWF3G6Wzm9d07e3UAN3THCjtFK/DzWUu6HCoGiN/pNV2YMLm7jUTGgSSrZDH
MIME-Version: 1.0
X-Received: by 10.194.79.226 with SMTP id m2mr1059474wjx.60.1417642616786;
Wed, 03 Dec 2014 13:36:56 -0800 (PST)
Received: by 10.27.89.131 with HTTP; Wed, 3 Dec 2014 13:36:56 -0800 (PST)
In-Reply-To: <1815926768.8469113.1417501591651.JavaMail.zimbra@redhat.com>
References: <20141127104047.GA7900@mushkin.tanso.net>
<1815926768.8469113.1417501591651.JavaMail.zimbra@redhat.com>
Date: Wed, 3 Dec 2014 22:36:56 +0100
Message-ID:
Subject: Re: [pcp] [PATCH] Add PMDA for the Unbound DNS resolver.
From: Jan-Frode Myklebust
X-ASG-Orig-Subj: Re: [pcp] [PATCH] Add PMDA for the Unbound DNS resolver.
To: Nathan Scott
Cc: pcp@oss.sgi.com
Content-Type: multipart/mixed; boundary=047d7bf0c53897e024050956a408
X-Barracuda-Connect: mail-wi0-f179.google.com[209.85.212.179]
X-Barracuda-Start-Time: 1417642617
X-Barracuda-Encrypted: RC4-SHA
X-Barracuda-URL: http://192.48.176.15:80/cgi-mod/mark.cgi
X-Virus-Scanned: by bsmtpd at sgi.com
X-Barracuda-BRTS-Status: 1
X-Barracuda-Spam-Score: 0.00
X-Barracuda-Spam-Status: No, SCORE=0.00 using per-user scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.7 tests=HTML_MESSAGE
X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.3.12397
Rule breakdown below
pts rule name description
---- ---------------------- --------------------------------------------------
0.00 HTML_MESSAGE BODY: HTML included in message
--047d7bf0c53897e024050956a408
Content-Type: multipart/alternative; boundary=047d7bf0c53897e01d050956a406
--047d7bf0c53897e01d050956a406
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Attached output from "unbound-control stats_noreset". Will fix the
man-page, copyright annotation & GPL header before sending updated patch.
=E2=80=8B
-jf
--047d7bf0c53897e01d050956a406
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Attached output from "unbound-control stats_=
noreset". Will fix the man-page,=C2=A0copyright annotation & GPL header before se=
nding updated patch.
=E2=80=8B
=C2=A0 -jf
--047d7bf0c53897e01d050956a406--
--047d7bf0c53897e024050956a408
Content-Type: application/octet-stream; name=unbound-control-stats_noreset
Content-Disposition: attachment; filename=unbound-control-stats_noreset
Content-Transfer-Encoding: base64
X-Attachment-Id: f_i397qqqp0
dGhyZWFkMC5udW0ucXVlcmllcz0zMDY3MTc0MjkKdGhyZWFkMC5udW0uY2FjaGVoaXRzPTI5MDEw
MDMxMgp0aHJlYWQwLm51bS5jYWNoZW1pc3M9MTY2MTcxMTcKdGhyZWFkMC5udW0ucHJlZmV0Y2g9
MzgyOTcwNAp0aHJlYWQwLm51bS5yZWN1cnNpdmVyZXBsaWVzPTE2NjE2OTg4CnRocmVhZDAucmVx
dWVzdGxpc3QuYXZnPTEyMi41NjMKdGhyZWFkMC5yZXF1ZXN0bGlzdC5tYXg9MTg2Ngp0aHJlYWQw
LnJlcXVlc3RsaXN0Lm92ZXJ3cml0dGVuPTAKdGhyZWFkMC5yZXF1ZXN0bGlzdC5leGNlZWRlZD0w
CnRocmVhZDAucmVxdWVzdGxpc3QuY3VycmVudC5hbGw9MTkyCnRocmVhZDAucmVxdWVzdGxpc3Qu
Y3VycmVudC51c2VyPTEwNgp0aHJlYWQwLnJlY3Vyc2lvbi50aW1lLmF2Zz0wLjk4NDgzOQp0aHJl
YWQwLnJlY3Vyc2lvbi50aW1lLm1lZGlhbj0wLjA0NzQ4NjMKdGhyZWFkMS5udW0ucXVlcmllcz03
ODgwODgxODAKdGhyZWFkMS5udW0uY2FjaGVoaXRzPTc0Mzc2OTI3Nwp0aHJlYWQxLm51bS5jYWNo
ZW1pc3M9NDQzMTg5MDMKdGhyZWFkMS5udW0ucHJlZmV0Y2g9MTAyMTk2MDQKdGhyZWFkMS5udW0u
cmVjdXJzaXZlcmVwbGllcz00NDMxODY5NQp0aHJlYWQxLnJlcXVlc3RsaXN0LmF2Zz0yMjcuOTgz
CnRocmVhZDEucmVxdWVzdGxpc3QubWF4PTIwMzQKdGhyZWFkMS5yZXF1ZXN0bGlzdC5vdmVyd3Jp
dHRlbj0wCnRocmVhZDEucmVxdWVzdGxpc3QuZXhjZWVkZWQ9MAp0aHJlYWQxLnJlcXVlc3RsaXN0
LmN1cnJlbnQuYWxsPTI2Mwp0aHJlYWQxLnJlcXVlc3RsaXN0LmN1cnJlbnQudXNlcj0xNTUKdGhy
ZWFkMS5yZWN1cnNpb24udGltZS5hdmc9MS4wMjcwNDUKdGhyZWFkMS5yZWN1cnNpb24udGltZS5t
ZWRpYW49MC4wNDcyNzI0CnRocmVhZDIubnVtLnF1ZXJpZXM9MjIxMDQ2MTQ2CnRocmVhZDIubnVt
LmNhY2hlaGl0cz0yMDg2NTE3MzUKdGhyZWFkMi5udW0uY2FjaGVtaXNzPTEyMzk0NDExCnRocmVh
ZDIubnVtLnByZWZldGNoPTI4OTI0OTEKdGhyZWFkMi5udW0ucmVjdXJzaXZlcmVwbGllcz0xMjM5
NDM0OAp0aHJlYWQyLnJlcXVlc3RsaXN0LmF2Zz04Ny4xMTI1CnRocmVhZDIucmVxdWVzdGxpc3Qu
bWF4PTE2MzYKdGhyZWFkMi5yZXF1ZXN0bGlzdC5vdmVyd3JpdHRlbj0wCnRocmVhZDIucmVxdWVz
dGxpc3QuZXhjZWVkZWQ9MAp0aHJlYWQyLnJlcXVlc3RsaXN0LmN1cnJlbnQuYWxsPTEzOQp0aHJl
YWQyLnJlcXVlc3RsaXN0LmN1cnJlbnQudXNlcj01NAp0aHJlYWQyLnJlY3Vyc2lvbi50aW1lLmF2
Zz0wLjk4NjY0MQp0aHJlYWQyLnJlY3Vyc2lvbi50aW1lLm1lZGlhbj0wLjA0NzkwNjcKdGhyZWFk
My5udW0ucXVlcmllcz0zMDkzOTY2OTkKdGhyZWFkMy5udW0uY2FjaGVoaXRzPTI5MTk1Nzg0Mgp0
aHJlYWQzLm51bS5jYWNoZW1pc3M9MTc0Mzg4NTcKdGhyZWFkMy5udW0ucHJlZmV0Y2g9NDA1Mjg5
OAp0aHJlYWQzLm51bS5yZWN1cnNpdmVyZXBsaWVzPTE3NDM4NzY0CnRocmVhZDMucmVxdWVzdGxp
c3QuYXZnPTExNS4yNzgKdGhyZWFkMy5yZXF1ZXN0bGlzdC5tYXg9MTUzNgp0aHJlYWQzLnJlcXVl
c3RsaXN0Lm92ZXJ3cml0dGVuPTAKdGhyZWFkMy5yZXF1ZXN0bGlzdC5leGNlZWRlZD0wCnRocmVh
ZDMucmVxdWVzdGxpc3QuY3VycmVudC5hbGw9MTU4CnRocmVhZDMucmVxdWVzdGxpc3QuY3VycmVu
dC51c2VyPTczCnRocmVhZDMucmVjdXJzaW9uLnRpbWUuYXZnPTAuOTk3MDYwCnRocmVhZDMucmVj
dXJzaW9uLnRpbWUubWVkaWFuPTAuMDQ3ODA4MQp0aHJlYWQ0Lm51bS5xdWVyaWVzPTIyODM4OTU0
MQp0aHJlYWQ0Lm51bS5jYWNoZWhpdHM9MjE1NzUwMTYwCnRocmVhZDQubnVtLmNhY2hlbWlzcz0x
MjYzOTM4MQp0aHJlYWQ0Lm51bS5wcmVmZXRjaD0yOTMyMDQ5CnRocmVhZDQubnVtLnJlY3Vyc2l2
ZXJlcGxpZXM9MTI2MzkzMDkKdGhyZWFkNC5yZXF1ZXN0bGlzdC5hdmc9OTEuNjE0OAp0aHJlYWQ0
LnJlcXVlc3RsaXN0Lm1heD0xNjE2CnRocmVhZDQucmVxdWVzdGxpc3Qub3ZlcndyaXR0ZW49MAp0
aHJlYWQ0LnJlcXVlc3RsaXN0LmV4Y2VlZGVkPTAKdGhyZWFkNC5yZXF1ZXN0bGlzdC5jdXJyZW50
LmFsbD0xNTkKdGhyZWFkNC5yZXF1ZXN0bGlzdC5jdXJyZW50LnVzZXI9NjUKdGhyZWFkNC5yZWN1
cnNpb24udGltZS5hdmc9MC45NzQ5NzgKdGhyZWFkNC5yZWN1cnNpb24udGltZS5tZWRpYW49MC4w
NDc3NDUKdGhyZWFkNS5udW0ucXVlcmllcz00ODkyODk1ODEKdGhyZWFkNS5udW0uY2FjaGVoaXRz
PTQ2MTY5MTI4MAp0aHJlYWQ1Lm51bS5jYWNoZW1pc3M9Mjc1OTgzMDEKdGhyZWFkNS5udW0ucHJl
ZmV0Y2g9NjM3NjU4OAp0aHJlYWQ1Lm51bS5yZWN1cnNpdmVyZXBsaWVzPTI3NTk4MTQ3CnRocmVh
ZDUucmVxdWVzdGxpc3QuYXZnPTE2Mi4zNjgKdGhyZWFkNS5yZXF1ZXN0bGlzdC5tYXg9MTY2Mwp0
aHJlYWQ1LnJlcXVlc3RsaXN0Lm92ZXJ3cml0dGVuPTAKdGhyZWFkNS5yZXF1ZXN0bGlzdC5leGNl
ZWRlZD0wCnRocmVhZDUucmVxdWVzdGxpc3QuY3VycmVudC5hbGw9MjU1CnRocmVhZDUucmVxdWVz
dGxpc3QuY3VycmVudC51c2VyPTExNAp0aHJlYWQ1LnJlY3Vyc2lvbi50aW1lLmF2Zz0wLjk5ODM5
Nwp0aHJlYWQ1LnJlY3Vyc2lvbi50aW1lLm1lZGlhbj0wLjA0NzU3MDUKdGhyZWFkNi5udW0ucXVl
cmllcz0xMTY2NTA0MzQwCnRocmVhZDYubnVtLmNhY2hlaGl0cz0xMTAxNTM4OTQxCnRocmVhZDYu
bnVtLmNhY2hlbWlzcz02NDk2NTM5OQp0aHJlYWQ2Lm51bS5wcmVmZXRjaD0xNTA3NTUzNwp0aHJl
YWQ2Lm51bS5yZWN1cnNpdmVyZXBsaWVzPTY0OTY1MTUwCnRocmVhZDYucmVxdWVzdGxpc3QuYXZn
PTI5NS40NjUKdGhyZWFkNi5yZXF1ZXN0bGlzdC5tYXg9MjcxMQp0aHJlYWQ2LnJlcXVlc3RsaXN0
Lm92ZXJ3cml0dGVuPTAKdGhyZWFkNi5yZXF1ZXN0bGlzdC5leGNlZWRlZD0wCnRocmVhZDYucmVx
dWVzdGxpc3QuY3VycmVudC5hbGw9MzgyCnRocmVhZDYucmVxdWVzdGxpc3QuY3VycmVudC51c2Vy
PTIwMgp0aHJlYWQ2LnJlY3Vyc2lvbi50aW1lLmF2Zz0xLjAzOTE4Ngp0aHJlYWQ2LnJlY3Vyc2lv
bi50aW1lLm1lZGlhbj0wLjA0NjgzNTUKdGhyZWFkNy5udW0ucXVlcmllcz00MjcxMzM4NTYKdGhy
ZWFkNy5udW0uY2FjaGVoaXRzPTQwNDA1ODA0Mwp0aHJlYWQ3Lm51bS5jYWNoZW1pc3M9MjMwNzU4
MTMKdGhyZWFkNy5udW0ucHJlZmV0Y2g9NTQ3NTEwOAp0aHJlYWQ3Lm51bS5yZWN1cnNpdmVyZXBs
aWVzPTIzMDc1NjM3CnRocmVhZDcucmVxdWVzdGxpc3QuYXZnPTE0OC44MDQKdGhyZWFkNy5yZXF1
ZXN0bGlzdC5tYXg9MTc1MQp0aHJlYWQ3LnJlcXVlc3RsaXN0Lm92ZXJ3cml0dGVuPTAKdGhyZWFk
Ny5yZXF1ZXN0bGlzdC5leGNlZWRlZD0wCnRocmVhZDcucmVxdWVzdGxpc3QuY3VycmVudC5hbGw9
MjUyCnRocmVhZDcucmVxdWVzdGxpc3QuY3VycmVudC51c2VyPTEzMwp0aHJlYWQ3LnJlY3Vyc2lv
bi50aW1lLmF2Zz0wLjk3MjQzNQp0aHJlYWQ3LnJlY3Vyc2lvbi50aW1lLm1lZGlhbj0wLjA0NzM0
ODIKdG90YWwubnVtLnF1ZXJpZXM9MzkzNjU2NTc3Mgp0b3RhbC5udW0uY2FjaGVoaXRzPTM3MTc1
MTc1OTAKdG90YWwubnVtLmNhY2hlbWlzcz0yMTkwNDgxODIKdG90YWwubnVtLnByZWZldGNoPTUw
ODUzOTc5CnRvdGFsLm51bS5yZWN1cnNpdmVyZXBsaWVzPTIxOTA0NzAzOAp0b3RhbC5yZXF1ZXN0
bGlzdC5hdmc9MTk4LjU1Mwp0b3RhbC5yZXF1ZXN0bGlzdC5tYXg9MjcxMQp0b3RhbC5yZXF1ZXN0
bGlzdC5vdmVyd3JpdHRlbj0wCnRvdGFsLnJlcXVlc3RsaXN0LmV4Y2VlZGVkPTAKdG90YWwucmVx
dWVzdGxpc3QuY3VycmVudC5hbGw9MTgwMAp0b3RhbC5yZXF1ZXN0bGlzdC5jdXJyZW50LnVzZXI9
OTAyCnRvdGFsLnJlY3Vyc2lvbi50aW1lLmF2Zz0xLjAxMDQwNAp0b3RhbC5yZWN1cnNpb24udGlt
ZS5tZWRpYW49MC4wNDc0OTY2CnRpbWUubm93PTE0MTc2NDI0MzUuMDIyNDk4CnRpbWUudXA9MjIx
NDE5LjM1OTk1Ngp0aW1lLmVsYXBzZWQ9MjIxNDE5LjM1OTk1NgptZW0udG90YWwuc2Jyaz05MzI2
OTYwNjQKbWVtLmNhY2hlLnJyc2V0PTY5NzkzMjE4MTUKbWVtLmNhY2hlLm1lc3NhZ2U9MzQ4OTY2
MDk0MgptZW0ubW9kLml0ZXJhdG9yPTE2NTMyCm1lbS5tb2QudmFsaWRhdG9yPTU3NjczMjcKaGlz
dG9ncmFtLjAwMDAwMC4wMDAwMDAudG8uMDAwMDAwLjAwMDAwMT01MDAzMTkxNgpoaXN0b2dyYW0u
MDAwMDAwLjAwMDAwMS50by4wMDAwMDAuMDAwMDAyPTAKaGlzdG9ncmFtLjAwMDAwMC4wMDAwMDIu
dG8uMDAwMDAwLjAwMDAwND0wCmhpc3RvZ3JhbS4wMDAwMDAuMDAwMDA0LnRvLjAwMDAwMC4wMDAw
MDg9NQpoaXN0b2dyYW0uMDAwMDAwLjAwMDAwOC50by4wMDAwMDAuMDAwMDE2PTM2MwpoaXN0b2dy
YW0uMDAwMDAwLjAwMDAxNi50by4wMDAwMDAuMDAwMDMyPTY0NgpoaXN0b2dyYW0uMDAwMDAwLjAw
MDAzMi50by4wMDAwMDAuMDAwMDY0PTE0NDUKaGlzdG9ncmFtLjAwMDAwMC4wMDAwNjQudG8uMDAw
MDAwLjAwMDEyOD0yODUwCmhpc3RvZ3JhbS4wMDAwMDAuMDAwMTI4LnRvLjAwMDAwMC4wMDAyNTY9
MTMyOTEKaGlzdG9ncmFtLjAwMDAwMC4wMDAyNTYudG8uMDAwMDAwLjAwMDUxMj0yMTEzODEwCmhp
c3RvZ3JhbS4wMDAwMDAuMDAwNTEyLnRvLjAwMDAwMC4wMDEwMjQ9MzcxNzcwMApoaXN0b2dyYW0u
MDAwMDAwLjAwMTAyNC50by4wMDAwMDAuMDAyMDQ4PTg1NzUxMQpoaXN0b2dyYW0uMDAwMDAwLjAw
MjA0OC50by4wMDAwMDAuMDA0MDk2PTI2NzI1NApoaXN0b2dyYW0uMDAwMDAwLjAwNDA5Ni50by4w
MDAwMDAuMDA4MTkyPTEzOTY1ODYKaGlzdG9ncmFtLjAwMDAwMC4wMDgxOTIudG8uMDAwMDAwLjAx
NjM4ND05MTc2NjUzCmhpc3RvZ3JhbS4wMDAwMDAuMDE2Mzg0LnRvLjAwMDAwMC4wMzI3Njg9MTc4
NDA3MTUKaGlzdG9ncmFtLjAwMDAwMC4wMzI3NjgudG8uMDAwMDAwLjA2NTUzNj01NDI5ODAwMApo
aXN0b2dyYW0uMDAwMDAwLjA2NTUzNi50by4wMDAwMDAuMTMxMDcyPTIzNzI2OTk3Cmhpc3RvZ3Jh
bS4wMDAwMDAuMTMxMDcyLnRvLjAwMDAwMC4yNjIxNDQ9Mjg2NDYwODgKaGlzdG9ncmFtLjAwMDAw
MC4yNjIxNDQudG8uMDAwMDAwLjUyNDI4OD05NjcxMjk5Cmhpc3RvZ3JhbS4wMDAwMDAuNTI0Mjg4
LnRvLjAwMDAwMS4wMDAwMDA9MjM1NTM3NgpoaXN0b2dyYW0uMDAwMDAxLjAwMDAwMC50by4wMDAw
MDIuMDAwMDAwPTI2NTk3ODgKaGlzdG9ncmFtLjAwMDAwMi4wMDAwMDAudG8uMDAwMDA0LjAwMDAw
MD00ODI2MzQ5Cmhpc3RvZ3JhbS4wMDAwMDQuMDAwMDAwLnRvLjAwMDAwOC4wMDAwMDA9MTg4NjY4
MgpoaXN0b2dyYW0uMDAwMDA4LjAwMDAwMC50by4wMDAwMTYuMDAwMDAwPTIyNzcxMDYKaGlzdG9n
cmFtLjAwMDAxNi4wMDAwMDAudG8uMDAwMDMyLjAwMDAwMD0xNzcyNDEyCmhpc3RvZ3JhbS4wMDAw
MzIuMDAwMDAwLnRvLjAwMDA2NC4wMDAwMDA9ODU4Mzc5Cmhpc3RvZ3JhbS4wMDAwNjQuMDAwMDAw
LnRvLjAwMDEyOC4wMDAwMDA9NDg3MzkwCmhpc3RvZ3JhbS4wMDAxMjguMDAwMDAwLnRvLjAwMDI1
Ni4wMDAwMDA9MTQxODY1Cmhpc3RvZ3JhbS4wMDAyNTYuMDAwMDAwLnRvLjAwMDUxMi4wMDAwMDA9
MTc2NDEKaGlzdG9ncmFtLjAwMDUxMi4wMDAwMDAudG8uMDAxMDI0LjAwMDAwMD04ODQKaGlzdG9n
cmFtLjAwMTAyNC4wMDAwMDAudG8uMDAyMDQ4LjAwMDAwMD0zNwpoaXN0b2dyYW0uMDAyMDQ4LjAw
MDAwMC50by4wMDQwOTYuMDAwMDAwPTAKaGlzdG9ncmFtLjAwNDA5Ni4wMDAwMDAudG8uMDA4MTky
LjAwMDAwMD0wCmhpc3RvZ3JhbS4wMDgxOTIuMDAwMDAwLnRvLjAxNjM4NC4wMDAwMDA9MApoaXN0
b2dyYW0uMDE2Mzg0LjAwMDAwMC50by4wMzI3NjguMDAwMDAwPTAKaGlzdG9ncmFtLjAzMjc2OC4w
MDAwMDAudG8uMDY1NTM2LjAwMDAwMD0wCmhpc3RvZ3JhbS4wNjU1MzYuMDAwMDAwLnRvLjEzMTA3
Mi4wMDAwMDA9MApoaXN0b2dyYW0uMTMxMDcyLjAwMDAwMC50by4yNjIxNDQuMDAwMDAwPTAKaGlz
dG9ncmFtLjI2MjE0NC4wMDAwMDAudG8uNTI0Mjg4LjAwMDAwMD0wCm51bS5xdWVyeS50eXBlLlRZ
UEUwPTg5ODk0OQpudW0ucXVlcnkudHlwZS5BPTM2MTkxNTA3MjkKbnVtLnF1ZXJ5LnR5cGUuTlM9
MTQzMjAwMQpudW0ucXVlcnkudHlwZS5DTkFNRT0xMTA2NTUKbnVtLnF1ZXJ5LnR5cGUuU09BPTI3
NzQyNTQyCm51bS5xdWVyeS50eXBlLk5VTEw9OTEKbnVtLnF1ZXJ5LnR5cGUuV0tTPTQ1NApudW0u
cXVlcnkudHlwZS5QVFI9NDg2NjIxMzQKbnVtLnF1ZXJ5LnR5cGUuSElORk89MzkwCm51bS5xdWVy
eS50eXBlLk1YPTE4OTQ3MjkKbnVtLnF1ZXJ5LnR5cGUuVFhUPTE0OTYwNjUzCm51bS5xdWVyeS50
eXBlLlJQPTM3NQpudW0ucXVlcnkudHlwZS5BRlNEQj0zOTQKbnVtLnF1ZXJ5LnR5cGUuWDI1PTQx
OQpudW0ucXVlcnkudHlwZS5JU0ROPTM3NwpudW0ucXVlcnkudHlwZS5OU0FQPTM4NApudW0ucXVl
cnkudHlwZS5BQUFBPTE4MzUwMjA1MApudW0ucXVlcnkudHlwZS5MT0M9Mzg5Cm51bS5xdWVyeS50
eXBlLlNSVj0yNzY1MTgyOApudW0ucXVlcnkudHlwZS5OQVBUUj05NTc5MApudW0ucXVlcnkudHlw
ZS5DRVJUPTQwMApudW0ucXVlcnkudHlwZS5BNj0yMDAxOTcKbnVtLnF1ZXJ5LnR5cGUuRFM9MTM4
MDU5Cm51bS5xdWVyeS50eXBlLlNTSEZQPTMzCm51bS5xdWVyeS50eXBlLklQU0VDS0VZPTM4Nwpu
dW0ucXVlcnkudHlwZS5SUlNJRz0zODIKbnVtLnF1ZXJ5LnR5cGUuTlNFQz0zOTEKbnVtLnF1ZXJ5
LnR5cGUuRE5TS0VZPTExNTg3OApudW0ucXVlcnkudHlwZS5OU0VDMz0zODQKbnVtLnF1ZXJ5LnR5
cGUuTlNFQzNQQVJBTT0zODUKbnVtLnF1ZXJ5LnR5cGUuVExTQT05Cm51bS5xdWVyeS50eXBlLlNQ
Rj0xODQ3NApudW0ucXVlcnkudHlwZS5BWEZSPTUKbnVtLnF1ZXJ5LnR5cGUuQU5ZPTc4NDczNTEK
bnVtLnF1ZXJ5LnR5cGUub3RoZXI9MTc0NzA2MgpudW0ucXVlcnkuY2xhc3MuQ0xBU1MwPTE5Cm51
bS5xdWVyeS5jbGFzcy5JTj0zOTMzNDc2MTI5Cm51bS5xdWVyeS5jbGFzcy5DSD05NDAKbnVtLnF1
ZXJ5LmNsYXNzLkNMQVNTNj00MTM4MTYKbnVtLnF1ZXJ5LmNsYXNzLkFOWT01NTc2NApudW0ucXVl
cnkuY2xhc3Mub3RoZXI9MjIyODA1NwpudW0ucXVlcnkub3Bjb2RlLlFVRVJZPTM5MzYxNzQ3MjUK
bnVtLnF1ZXJ5LnRjcD01NTkzNTIKbnVtLnF1ZXJ5LmlwdjY9Mzc2NjcxOApudW0ucXVlcnkuZmxh
Z3MuUVI9MApudW0ucXVlcnkuZmxhZ3MuQUE9MTIyODI4Cm51bS5xdWVyeS5mbGFncy5UQz0wCm51
bS5xdWVyeS5mbGFncy5SRD0zOTM2MTUyNzM1Cm51bS5xdWVyeS5mbGFncy5SQT01OTI1Nzc4Cm51
bS5xdWVyeS5mbGFncy5aPTAKbnVtLnF1ZXJ5LmZsYWdzLkFEPTE0NTEKbnVtLnF1ZXJ5LmZsYWdz
LkNEPTIwNzk4NTYwCm51bS5xdWVyeS5lZG5zLnByZXNlbnQ9Mzc4NTcyMDAKbnVtLnF1ZXJ5LmVk
bnMuRE89MjQ4MjM0MTgKbnVtLmFuc3dlci5yY29kZS5OT0VSUk9SPTM1ODA2MzczOTkKbnVtLmFu
c3dlci5yY29kZS5GT1JNRVJSPTY5NTYKbnVtLmFuc3dlci5yY29kZS5TRVJWRkFJTD0xMDIyMjA1
NDMKbnVtLmFuc3dlci5yY29kZS5OWERPTUFJTj0yNTA2NTIwMzMKbnVtLmFuc3dlci5yY29kZS5S
RUZVU0VEPTI2NjM2MTEKbnVtLmFuc3dlci5yY29kZS5ub2RhdGE9OTY1NzUwMzUKbnVtLmFuc3dl
ci5zZWN1cmU9MTE1NzkzMjMwCm51bS5hbnN3ZXIuYm9ndXM9MjIyMzQ5Cm51bS5ycnNldC5ib2d1
cz0xMTU3ODQKdW53YW50ZWQucXVlcmllcz0wCnVud2FudGVkLnJlcGxpZXM9MzkxODYxCg==
--047d7bf0c53897e024050956a408--
From wwwrun@oss.sgi.com Wed Dec 3 15:42:06 2014
Return-Path:
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on oss.sgi.com
X-Spam-Level:
X-Spam-Status: No, score=0.0 required=5.0 tests=HTML_MESSAGE,NO_RELAYS
autolearn=ham version=3.3.1
X-Original-To: pcp@oss.sgi.com
Delivered-To: pcp@oss.sgi.com
Received: by oss.sgi.com (Postfix, from userid 30)
id 48CD77F50; Wed, 3 Dec 2014 15:42:06 -0600 (CST)
From: bugzilla-daemon@oss.sgi.com
To: pcp@oss.sgi.com
Subject: [Bug 1091] pmapi extension for regularly scheduled fetches
Date: Wed, 03 Dec 2014 21:42:06 +0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Classification: Unclassified
X-Bugzilla-Product: pcp
X-Bugzilla-Component: pcp
X-Bugzilla-Keywords:
X-Bugzilla-Severity: major
X-Bugzilla-Who: nathans@debian.org
X-Bugzilla-Status: NEW
X-Bugzilla-Priority: P5
X-Bugzilla-Assigned-To: pcp@kenj.com.au
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Changed-Fields: cc
Message-ID:
In-Reply-To:
References:
Content-Type: multipart/alternative; boundary="1417642926.bA46beE2.32624"; charset="us-ascii"
X-Bugzilla-URL: http://oss.sgi.com/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
--1417642926.bA46beE2.32624
Date: Wed, 3 Dec 2014 15:42:06 -0600
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
http://oss.sgi.com/bugzilla/show_bug.cgi?id=1091
Nathan Scott changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |nathans@debian.org
--- Comment #2 from Nathan Scott ---
NAK - I don't support this at all. This introduces server side memory load and
complexity (signficiant per-client server state would be needed), at the cost
of tiny amounts of network traffic & small latency. It goes against the design
of pmcd to be small, lightweight, and stateless. It'd also removes the
implicit feedback loop that is designed into the protocol.
If you're concerned about it, it would be better to understand where that
existing latency is coming from and optimise that - such optimisations will
help all client tools and allows pmcd to stay lean.
--
You are receiving this mail because:
You are on the CC list for the bug.
--1417642926.bA46beE2.32624
Date: Wed, 3 Dec 2014 15:42:06 -0600
MIME-Version: 1.0
Content-Type: text/html; charset="UTF-8"
Nathan Scott
changed
bug 1091
| What |
Removed |
Added |
| CC |
|
nathans@debian.org
|
Comment # 2
on bug 1091
from Nathan Scott
NAK - I don't support this at all. This introduces server side memory load and
complexity (signficiant per-client server state would be needed), at the cost
of tiny amounts of network traffic & small latency. It goes against the design
of pmcd to be small, lightweight, and stateless. It'd also removes the
implicit feedback loop that is designed into the protocol.
If you're concerned about it, it would be better to understand where that
existing latency is coming from and optimise that - such optimisations will
help all client tools and allows pmcd to stay lean.
You are receiving this mail because:
- You are on the CC list for the bug.
--1417642926.bA46beE2.32624--
From michele@acksyn.org Wed Dec 3 15:51:25 2014
Return-Path:
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on oss.sgi.com
X-Spam-Level:
X-Spam-Status: No, score=0.0 required=5.0 tests=T_DKIM_INVALID autolearn=ham
version=3.3.1
X-Original-To: pcp@oss.sgi.com
Delivered-To: pcp@oss.sgi.com
Received: from relay.sgi.com (relay2.corp.sgi.com [137.38.102.29])
by oss.sgi.com (Postfix) with ESMTP id 18CF57F4E
for ; Wed, 3 Dec 2014 15:51:25 -0600 (CST)
Received: from cuda.sgi.com (cuda1.sgi.com [192.48.157.11])
by relay2.corp.sgi.com (Postfix) with ESMTP id D0AA130405F
for ; Wed, 3 Dec 2014 13:51:24 -0800 (PST)
X-ASG-Debug-ID: 1417643478-04bdf0616010eedc0001-S8gJnT
Received: from palahniuk.acksyn.org (palahniuk.acksyn.org [5.9.7.26]) by cuda.sgi.com with ESMTP id gYMffGoOBLJtogf7 for ; Wed, 03 Dec 2014 13:51:19 -0800 (PST)
X-Barracuda-Envelope-From: michele@acksyn.org
X-Barracuda-Apparent-Source-IP: 5.9.7.26
Received: from localhost (localhost [127.0.0.1])
by palahniuk.acksyn.org (Postfix) with ESMTP id 610F729101;
Wed, 3 Dec 2014 16:51:18 -0500 (EST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=acksyn.org; h=
x-mailer:message-id:date:date:subject:subject:from:from:received
:received; s=2010; t=1417643477; bh=CY2tuWxRtqVkUVftwpB/oXx4ERwd
dfDLYrLteD/Owm0=; b=I2tKjkS3bhcA4zomBcxM5QtRBuoiZYqK2rBPSrX0BD14
pgDsiuTuVs17lxG6I7yV7PhOdjvwtSgLt/XijZVUTkby0mho79ARz+aWBViI2C3Y
UeZRe56Zwe7CJAys5yMu88L991MIVr3gimNQG56WZYmHN0MkqagBB5rD4xM0/is=
Received: from palahniuk.acksyn.org ([127.0.0.1])
by localhost (mail.acksyn.org [127.0.0.1]) (amavisd-new, port 10026)
with ESMTP id 2chEKdyEhESU; Wed, 3 Dec 2014 16:51:17 -0500 (EST)
Received: from localhost (host54-190-dynamic.24-79-r.retail.telecomitalia.it [79.24.190.54])
by palahniuk.acksyn.org (Postfix) with ESMTPSA id A802C290F2;
Wed, 3 Dec 2014 16:51:16 -0500 (EST)
From: Michele Baldessari
To: pcp@oss.sgi.com
Cc: Michele Baldessari
Subject: [PATCH] Fix the description of few network metrics and expand some others
Date: Wed, 3 Dec 2014 22:51:04 +0100
X-ASG-Orig-Subj: [PATCH] Fix the description of few network metrics and expand some others
Message-Id: <1417643464-5415-1-git-send-email-michele@acksyn.org>
X-Mailer: git-send-email 2.1.0
X-Barracuda-Connect: palahniuk.acksyn.org[5.9.7.26]
X-Barracuda-Start-Time: 1417643478
X-Barracuda-URL: http://192.48.157.11:80/cgi-mod/mark.cgi
X-Virus-Scanned: by bsmtpd at sgi.com
X-Barracuda-BRTS-Status: 1
X-Barracuda-Spam-Score: 0.00
X-Barracuda-Spam-Status: No, SCORE=0.00 using per-user scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.7 tests=DKIM_SIGNED, DKIM_VERIFIED
X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.3.12399
Rule breakdown below
pts rule name description
---- ---------------------- --------------------------------------------------
-0.00 DKIM_VERIFIED Domain Keys Identified Mail: signature passes
verification
0.00 DKIM_SIGNED Domain Keys Identified Mail: message has a signature
The following three metrics have a wrong description:
network.interface.in.frame network recv read frames ...
network.interface.in.fifo network recv read fifos ...
network.interface.out.fifo network send fifos ...
All three are actually error counters (see net/core/net-procfs.c:
dev_seq_printf_stats()).
Improve the description of all metrics taken from /proc/net/dev
and refer to the actual structure in the kernel for easier
referencing.
---
src/pmdas/linux/help | 34 ++++++++++++++++++++++++++++++----
1 file changed, 30 insertions(+), 4 deletions(-)
diff --git a/src/pmdas/linux/help b/src/pmdas/linux/help
index 464f54fc39b4..4f956432d90f 100644
--- a/src/pmdas/linux/help
+++ b/src/pmdas/linux/help
@@ -709,26 +709,52 @@ Total CPU time spent running virtual guest operating systems.
@ hinv.ninterface number of active (up) network interfaces
@ network.interface.in.bytes network recv read bytes from /proc/net/dev per network interface
+bytes column on the "Receive" side of /proc/net/dev (stats->rx_bytes counter in rtnl_link_stats64)
@ network.interface.in.packets network recv read packets from /proc/net/dev per network interface
+packets column on the "Receive" side of /proc/net/dev (stats->rx_packets counter in rtnl_link_stats64)
@ network.interface.in.errors network recv read errors from /proc/net/dev per network interface
+errors column on the "Receive" side of /proc/net/dev (stats->rx_errors counter in rtnl_link_stats64)
@ network.interface.in.drops network recv read drops from /proc/net/dev per network interface
-@ network.interface.in.mcasts network recv compressed from /proc/net/dev per network interface
-@ network.interface.in.fifo network recv read fifos from /proc/net/dev per network interface
-@ network.interface.in.frame network recv read frames from /proc/net/dev per network interface
+drop column on the "Receive" side of /proc/net/dev (stats->{rx_dropped + rx_missed_errors}
+counters in rtnl_link_stats64. rx_dropped are the dropped packets due to no space in linux buffers
+and rx_missed are due to the receiver NIC missing a packet. Not all NICS use the rx_missed_errors
+counter)
+@ network.interface.in.mcasts network recv multicast packets from /proc/net/dev per network interface
+multicast column on the "Receive" side of /proc/net/dev (stats->multicast counter in rtnl_link_stats64)
+@ network.interface.in.fifo network recv fifo overrun errors from /proc/net/dev per network interface
+fifo column on the "Receive" side of /proc/net/dev (stats->rx_fifo_errors counter in rtnl_link_stats64)
+@ network.interface.in.frame network recv frames errors from /proc/net/dev per network interface
+frame column on the "Receive" side of /proc/net/dev (stats->{rx_length_errors + rx_over_errors +
+rx_crc_errors + rx_frame_errors} counters in rtnl_link_stats64
@ network.interface.in.compressed network recv compressed from /proc/net/dev per network interface
+compressed column on the "Receive" side of /proc/net/dev (stats->rx_compressed counter in
+rtnl_link_stats64). Almost exclusively used for CSLIP or HDLC devices
@ network.interface.out.bytes network send bytes from /proc/net/dev per network interface
+bytes column on the "Transmit" side of /proc/net/dev (stats->tx_bytes counter in rtnl_link_stats64)
@ network.interface.out.packets network send packets from /proc/net/dev per network interface
+packets column on the "Transmit" side of /proc/net/dev (stats->tx_packets counter in rtnl_link_stats64)
@ network.interface.out.errors network send errors from /proc/net/dev per network interface
+errors column on the "Transmit" side of /proc/net/dev (stats->tx_errors counter in rtnl_link_stats64)
@ network.interface.out.drops network send drops from /proc/net/dev per network interface
+drop column on the "Transmit" side of /proc/net/dev (stats->tx_dropped counter in rtnl_link_stats64)
@ network.interface.out.fifo network send fifos from /proc/net/dev per network interface
+fifo column on the "Transmit" side of /proc/net/dev (stats->tx_fifo_errors counter in rtnl_link_stats64)
@ network.interface.collisions network send collisions from /proc/net/dev per network interface
+colls column on the "Transmit" side of /proc/net/dev (stats->collisions counter in rtnl_link_stats64)
+Counter only valid for outgoing packets
@ network.interface.out.carrier network send carrier from /proc/net/dev per network interface
+carrier column on the "Transmit" side of /proc/net/dev (stats->{tx_carrier_errors + tx_aborted_errors +
+tx_window_errors + tx_heartbeat_errors} counters in rtnl_link_stats64).
@ network.interface.out.compressed network send compressed from /proc/net/dev per network interface
+compressed column on the "Transmit" side of /proc/net/dev (stats->tx_compressed counter in
+rtnl_link_stats64). Almost exclusively used for CSLIP or HDLC devices
@ network.interface.total.bytes network total (in+out) bytes from /proc/net/dev per network interface
@ network.interface.total.packets network total (in+out) packets from /proc/net/dev per network interface
@ network.interface.total.errors network total (in+out) errors from /proc/net/dev per network interface
@ network.interface.total.drops network total (in+out) drops from /proc/net/dev per network interface
-@ network.interface.total.mcasts network total (in+out) mcasts from /proc/net/dev per network interface
+@ network.interface.total.mcasts network total (in) mcasts from /proc/net/dev per network interface
+Linux does not account for outgoing mcast packets per device, so this counter is identical to
+the incoming mcast metric
@ network.interface.mtu maximum transmission unit on network interface
@ network.interface.speed interface speed in megabytes per second
The linespeed on the network interface, as reported by the kernel,
--
2.1.0
From michele@acksyn.org Wed Dec 3 15:57:25 2014
Return-Path:
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on oss.sgi.com
X-Spam-Level:
X-Spam-Status: No, score=0.0 required=5.0 tests=T_DKIM_INVALID autolearn=ham
version=3.3.1
X-Original-To: pcp@oss.sgi.com
Delivered-To: pcp@oss.sgi.com
Received: from relay.sgi.com (relay2.corp.sgi.com [137.38.102.29])
by oss.sgi.com (Postfix) with ESMTP id 6352C7F3F
for ; Wed, 3 Dec 2014 15:57:25 -0600 (CST)
Received: from cuda.sgi.com (cuda2.sgi.com [192.48.176.25])
by relay2.corp.sgi.com (Postfix) with ESMTP id 395D3304059
for ; Wed, 3 Dec 2014 13:57:25 -0800 (PST)
X-ASG-Debug-ID: 1417643843-04cbb0106558d10001-S8gJnT
Received: from palahniuk.acksyn.org (palahniuk.acksyn.org [5.9.7.26]) by cuda.sgi.com with ESMTP id 5tYpEtbNHtE6XeTw for ; Wed, 03 Dec 2014 13:57:23 -0800 (PST)
X-Barracuda-Envelope-From: michele@acksyn.org
X-Barracuda-Apparent-Source-IP: 5.9.7.26
Received: from localhost (localhost [127.0.0.1])
by palahniuk.acksyn.org (Postfix) with ESMTP id 3972B29101
for ; Wed, 3 Dec 2014 16:57:23 -0500 (EST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=acksyn.org; h=
user-agent:content-disposition:content-type:content-type
:mime-version:message-id:subject:subject:from:from:date:date
:received:received; s=2010; t=1417643842; bh=IZP3kTA11NTb4TWktfA
5TJuUem2BElQ3HCpnU3mHKAE=; b=GXRLCxTsj4vvXTfQCOfiHq8repmJ3pbqSvk
OG8d3mgqP93YUaVOmpX2I7/rQUaz030aDklEfmmofjUiBwMusrS461nzZXElzaTn
ulGK1Cy839n02yaZGfCyipMJAKriPySxQ5dQZSZLz7SIb7+rvHMVq/IWc+GUcs17
KvppEE1U=
Received: from palahniuk.acksyn.org ([127.0.0.1])
by localhost (mail.acksyn.org [127.0.0.1]) (amavisd-new, port 10026)
with ESMTP id Gt19M7huWD3U for ;
Wed, 3 Dec 2014 16:57:22 -0500 (EST)
Received: from localhost (host54-190-dynamic.24-79-r.retail.telecomitalia.it [79.24.190.54])
by palahniuk.acksyn.org (Postfix) with ESMTPSA id 3EFF1290F2
for ; Wed, 3 Dec 2014 16:57:22 -0500 (EST)
Date: Wed, 3 Dec 2014 22:57:21 +0100
From: Michele Baldessari
To: pcp@oss.sgi.com
Subject: %ifutil
Message-ID: <20141203215721.GA6448@marquez.int.rhx>
X-ASG-Orig-Subj: %ifutil
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.5.21 (2012-12-30)
X-Barracuda-Connect: palahniuk.acksyn.org[5.9.7.26]
X-Barracuda-Start-Time: 1417643843
X-Barracuda-URL: http://192.48.176.25:80/cgi-mod/mark.cgi
X-Virus-Scanned: by bsmtpd at sgi.com
X-Barracuda-BRTS-Status: 1
X-Barracuda-Spam-Score: 0.00
X-Barracuda-Spam-Status: No, SCORE=0.00 using per-user scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.7 tests=DKIM_SIGNED, DKIM_VERIFIED
X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.3.12398
Rule breakdown below
pts rule name description
---- ---------------------- --------------------------------------------------
-0.00 DKIM_VERIFIED Domain Keys Identified Mail: signature passes
verification
0.00 DKIM_SIGNED Domain Keys Identified Mail: message has a signature
Hi folks,
I am slowly working on replacing all our internal scripts to collect network
statistics. One value that sar gives out is %ifutil, which is defined as
follows:
"""
Utilization percentage of the network interface. For half-duplex interfaces,
utilization is calculated using the sum of rxkB/s and txkB/s as a percentage
of the interface speed. For full-duplex, this is the greater of rxkB/S or
txkB/s.
"""
Code:
double compute_ifutil(struct stats_net_dev *st_net_dev, double rx, double tx)
{
unsigned long long speed;
if (st_net_dev->speed) {
speed = st_net_dev->speed * 1000000;
if (st_net_dev->duplex == C_DUPLEX_FULL) {
/* Full duplex */
if (rx > tx) {
return (rx * 800 / speed);
}
else {
return (tx * 800 / speed);
}
}
else {
/* Half duplex */
return ((rx + tx) * 800 / speed);
}
}
return 0;
}
Two questions:
1) Would it be ok to add this to the Linux PMDA or do you feel this is something to be taken care of
by higher-level apps/tools or via some combined metric?
2) In case the answer to 1) is 'it is ok', is the above calculation ok? I'm not entirely convinced.
I'd personally split it in %rx_ifutil and %tx_ifutil. Thoughts?
Cheers,
Michele
--
Michele Baldessari
C2A5 9DA3 9961 4FFB E01B D0BC DDD4 DCCB 7515 5C6D
From michele@acksyn.org Wed Dec 3 16:19:28 2014
Return-Path:
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on oss.sgi.com
X-Spam-Level:
X-Spam-Status: No, score=0.0 required=5.0 tests=T_DKIM_INVALID autolearn=ham
version=3.3.1
X-Original-To: pcp@oss.sgi.com
Delivered-To: pcp@oss.sgi.com
Received: from relay.sgi.com (relay2.corp.sgi.com [137.38.102.29])
by oss.sgi.com (Postfix) with ESMTP id 146D07F4E
for ; Wed, 3 Dec 2014 16:19:28 -0600 (CST)
Received: from cuda.sgi.com (cuda3.sgi.com [192.48.176.15])
by relay2.corp.sgi.com (Postfix) with ESMTP id 03542304053
for ; Wed, 3 Dec 2014 14:19:25 -0800 (PST)
X-ASG-Debug-ID: 1417645163-04cb6c0572ee51d0001-S8gJnT
Received: from palahniuk.acksyn.org (palahniuk.acksyn.org [5.9.7.26]) by cuda.sgi.com with ESMTP id vqByQGExBFnaU9Pw for ; Wed, 03 Dec 2014 14:19:23 -0800 (PST)
X-Barracuda-Envelope-From: michele@acksyn.org
X-Barracuda-Apparent-Source-IP: 5.9.7.26
Received: from localhost (localhost [127.0.0.1])
by palahniuk.acksyn.org (Postfix) with ESMTP id E95C029101
for ; Wed, 3 Dec 2014 17:19:21 -0500 (EST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=acksyn.org; h=
content-transfer-encoding:user-agent:content-disposition
:content-type:content-type:mime-version:message-id:subject
:subject:from:from:date:date:received:received; s=2010; t=
1417645161; bh=YLk3qFjgojAK64rv9YCfjB1afU85dJpJd0EbjPlKu+c=; b=j
360bEF1D3T47E4LM5i9ryjmeZnD6R6WM4sNUVPbD7s6w9tRujnM/Dc6PUSNOzYdU
7+nlQkTrjTxXh2YvjIkJkoeL6Er/OJB09IRwksEDBOWdcskyPlnv4QxTCTJNHhuK
bHghI1pgOQ7SSVbS5mC5UtArstAgzg6jApRyVgi9dE=
Received: from palahniuk.acksyn.org ([127.0.0.1])
by localhost (mail.acksyn.org [127.0.0.1]) (amavisd-new, port 10026)
with ESMTP id XMk22BIPntqp for ;
Wed, 3 Dec 2014 17:19:21 -0500 (EST)
Received: from localhost (host54-190-dynamic.24-79-r.retail.telecomitalia.it [79.24.190.54])
by palahniuk.acksyn.org (Postfix) with ESMTPSA id 0951F290F2
for ; Wed, 3 Dec 2014 17:19:20 -0500 (EST)
Date: Wed, 3 Dec 2014 23:19:20 +0100
From: Michele Baldessari
To: pcp@oss.sgi.com
Subject: Networking Metrics
Message-ID: <20141203221920.GB6448@marquez.int.rhx>
X-ASG-Orig-Subj: Networking Metrics
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
User-Agent: Mutt/1.5.21 (2012-12-30)
Content-Transfer-Encoding: quoted-printable
X-Barracuda-Connect: palahniuk.acksyn.org[5.9.7.26]
X-Barracuda-Start-Time: 1417645163
X-Barracuda-URL: http://192.48.176.15:80/cgi-mod/mark.cgi
X-Virus-Scanned: by bsmtpd at sgi.com
X-Barracuda-BRTS-Status: 1
X-Barracuda-Spam-Score: 0.00
X-Barracuda-Spam-Status: No, SCORE=0.00 using per-user scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.7 tests=DKIM_SIGNED, DKIM_VERIFIED
X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.3.12400
Rule breakdown below
pts rule name description
---- ---------------------- --------------------------------------------------
-0.00 DKIM_VERIFIED Domain Keys Identified Mail: signature passes
verification
0.00 DKIM_SIGNED Domain Keys Identified Mail: message has a signature
Hi all,
so on my quest to replace all our (RH) internal scripts to collect
networking stats with PCP. I thought I'd check with the list before
putting more work into it, as a) someone else might be looking at the
same topics and b) maybe there are some suggestions one way or the other.
I am missing the following things:
1) tc -s class show dev $IFACE / tc -s qdisc show dev $IFACE
These commands spew out stuff like:
$ linux=A0=A0tc -s class show dev em1
class mq :1 root=20
Sent 546103985 bytes 4438169 pkt (dropped 0, overlimits 0 requeues 7)=20
backlog 0b 0p requeues 7=20
class mq :2 root=20
Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)=20
backlog 0b 0p requeues 0=20
class mq :3 root=20
Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)=20
backlog 0b 0p requeues 0=20
class mq :4 root=20
Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)=20
backlog 0b 0p requeues 0=20
class mq :5 root=20
Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)=20
backlog 0b 0p requeues 0=20
$ tc -s qdisc show dev em1
qdisc mq 0: root=20
Sent 546796662 bytes 4447544 pkt (dropped 0, overlimits 0 requeues 7)=20
backlog 0b 0p requeues 7=20
qdisc pfifo_fast 0: parent :1 bands 3 priomap 1 2 2 2 1 2 0 0 1 1 1 1 1 =
1 1 1
Sent 546796662 bytes 4447544 pkt (dropped 0, overlimits 0 requeues 7)=20
backlog 0b 0p requeues 7=20
I was thinking of creating a separate PMDA for this. I still need to thin=
k a bit
how the namespace will look like. I'll probably prefer using NETLINK and =
fetch
the info in the PMDA directly and not fork tc and parse the output. Hopef=
ully
it is not too much work.=20
2) /proc/softirqs
This should be trivial. Would it be ok to fold this into the Linux PMDA?
3) /proc/net/softnet_stat
Should also be fairly simple. Unsure where to squeeze it in though? Maybe
a new PMDA linux-networking which holds 1) 3) and 4) ?
4) ethtool -S
I have a prototype ready in python. It crashes when an interface is remov=
ed
and readded (due to the python-pcp limits with dynamic metrics issue).
Anyhow I will port it to C so we won't be dependant on a too recent pytho=
n-ethtool
version. Here too, I am unsure if I should put it in a linux-networking P=
MDA or
an ethtool PMDA or somewhere else completely
Thanks for any suggestion,
Michele
--=20
Michele Baldessari
C2A5 9DA3 9961 4FFB E01B D0BC DDD4 DCCB 7515 5C6D
From nscott@redhat.com Wed Dec 3 16:24:26 2014
Return-Path:
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on oss.sgi.com
X-Spam-Level:
X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=ham
version=3.3.1
X-Original-To: pcp@oss.sgi.com
Delivered-To: pcp@oss.sgi.com
Received: from relay.sgi.com (relay2.corp.sgi.com [137.38.102.29])
by oss.sgi.com (Postfix) with ESMTP id 2D4517F4E
for ; Wed, 3 Dec 2014 16:24:26 -0600 (CST)
Received: from cuda.sgi.com (cuda1.sgi.com [192.48.157.11])
by relay2.corp.sgi.com (Postfix) with ESMTP id F1FDB30404E
for ; Wed, 3 Dec 2014 14:24:25 -0800 (PST)
X-ASG-Debug-ID: 1417645464-04bdf0616010f21e0001-S8gJnT
Received: from mx5-phx2.redhat.com (mx5-phx2.redhat.com [209.132.183.37]) by cuda.sgi.com with ESMTP id qlyRF46awojHl9W7 (version=TLSv1 cipher=AES256-SHA bits=256 verify=NO) for ; Wed, 03 Dec 2014 14:24:24 -0800 (PST)
X-Barracuda-Envelope-From: nscott@redhat.com
X-Barracuda-Apparent-Source-IP: 209.132.183.37
Received: from zmail20.collab.prod.int.phx2.redhat.com (zmail20.collab.prod.int.phx2.redhat.com [10.5.83.23])
by mx5-phx2.redhat.com (8.14.4/8.14.4) with ESMTP id sB3MOMQT015967;
Wed, 3 Dec 2014 17:24:22 -0500
Date: Wed, 3 Dec 2014 17:24:22 -0500 (EST)
From: Nathan Scott
Reply-To: Nathan Scott
To: Michele Baldessari
Cc: pcp@oss.sgi.com
Message-ID: <494213618.10008039.1417645461995.JavaMail.zimbra@redhat.com>
In-Reply-To: <20141203215721.GA6448@marquez.int.rhx>
References: <20141203215721.GA6448@marquez.int.rhx>
Subject: Re: [pcp] %ifutil
MIME-Version: 1.0
X-ASG-Orig-Subj: Re: [pcp] %ifutil
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
X-Originating-IP: [10.5.82.6]
X-Mailer: Zimbra 8.0.6_GA_5922 (ZimbraWebClient - FF17 (Linux)/8.0.6_GA_5922)
Thread-Topic: %ifutil
Thread-Index: DxfWIjVmoc+tpyhF45fGOzUmxrvISA==
X-Barracuda-Connect: mx5-phx2.redhat.com[209.132.183.37]
X-Barracuda-Start-Time: 1417645464
X-Barracuda-Encrypted: AES256-SHA
X-Barracuda-URL: http://192.48.157.11:80/cgi-mod/mark.cgi
X-Virus-Scanned: by bsmtpd at sgi.com
X-Barracuda-BRTS-Status: 1
X-Barracuda-Spam-Score: 0.02
X-Barracuda-Spam-Status: No, SCORE=0.02 using per-user scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.7 tests=THREAD_INDEX, THREAD_TOPIC
X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.3.12401
Rule breakdown below
pts rule name description
---- ---------------------- --------------------------------------------------
0.01 THREAD_INDEX thread-index: AcO7Y8iR61tzADqsRmmc5wNiFHEOig==
0.01 THREAD_TOPIC Thread-Topic: ...(Japanese Subject)...
----- Original Message -----
> Hi folks,
>
> I am slowly working on replacing all our internal scripts to collect network
> statistics. One value that sar gives out is %ifutil, which is defined as
> follows:
> """
> Utilization percentage of the network interface. For half-duplex interfaces,
> utilization is calculated using the sum of rxkB/s and txkB/s as a
> percentage
> of the interface speed. For full-duplex, this is the greater of rxkB/S or
> txkB/s.
> """
>
> Code:
> double compute_ifutil(struct stats_net_dev *st_net_dev, double rx, double tx)
> {
> unsigned long long speed;
>
> if (st_net_dev->speed) {
>
> speed = st_net_dev->speed * 1000000;
>
> if (st_net_dev->duplex == C_DUPLEX_FULL) {
> /* Full duplex */
> if (rx > tx) {
> return (rx *
> 800 /
> speed);
> }
> else {
> return (tx *
> 800 /
> speed);
> }
> }
> else {
> /* Half duplex */
> return ((rx + tx) * 800 /
> speed);
> }
> }
>
> return 0;
> }
>
> Two questions:
> 1) Would it be ok to add this to the Linux PMDA or do you feel this is
> something to be taken care of
> by higher-level apps/tools or via some combined metric?
I think the tx and rx values being passed into that function would be
rate-converted counters? (throughput) - which requires two samples to
calculate. If so, I guess client side calculations would be the way
to go - these look like candidate metrics that'd be involved...
network.interface.speed
network.interface.baudrate
network.interface.duplex
network.interface.in.bytes
network.interface.out.bytes
> 2) In case the answer to 1) is 'it is ok', is the above calculation ok? I'm
> not entirely convinced.
> I'd personally split it in %rx_ifutil and %tx_ifutil. Thoughts?
Yeah, does seem a little odd, though I'm far from a networking guru.
If it was storage, we'd be summing the in/out rates to calculate the
utilisation, not taking the biggest and ignoring the other. I think
having the separate send/recv values is a good idea anyway.
cheers.
--
Nathan
From wwwrun@oss.sgi.com Wed Dec 3 16:41:14 2014
Return-Path:
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on oss.sgi.com
X-Spam-Level:
X-Spam-Status: No, score=0.0 required=5.0 tests=HTML_MESSAGE,NO_RELAYS
autolearn=ham version=3.3.1
X-Original-To: pcp@oss.sgi.com
Delivered-To: pcp@oss.sgi.com
Received: by oss.sgi.com (Postfix, from userid 30)
id 972C07F54; Wed, 3 Dec 2014 16:41:14 -0600 (CST)
From: bugzilla-daemon@oss.sgi.com
To: pcp@oss.sgi.com
Subject: [Bug 1091] pmapi extension for regularly scheduled fetches
Date: Wed, 03 Dec 2014 22:41:14 +0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Classification: Unclassified
X-Bugzilla-Product: pcp
X-Bugzilla-Component: pcp
X-Bugzilla-Keywords:
X-Bugzilla-Severity: major
X-Bugzilla-Who: fche@redhat.com
X-Bugzilla-Status: NEW
X-Bugzilla-Priority: P5
X-Bugzilla-Assigned-To: pcp@kenj.com.au
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Changed-Fields:
Message-ID:
In-Reply-To:
References:
Content-Type: multipart/alternative; boundary="1417646474.b71fde2.13158"; charset="us-ascii"
X-Bugzilla-URL: http://oss.sgi.com/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
--1417646474.b71fde2.13158
Date: Wed, 3 Dec 2014 16:41:14 -0600
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
http://oss.sgi.com/bugzilla/show_bug.cgi?id=1091
--- Comment #3 from Frank Ch. Eigler ---
(In reply to comment #2)
> This introduces server side memory load and complexity (significant per-client
> server state would be needed),
The amount of per-client state would be approximately equal to one fetch
packet,
namely one kilobyte in this case. The complexity may be more accurately judged
via a straw design.
> at the cost of tiny amounts of network traffic & small latency.
As for network traffic, in this test it was 10% of the total, and
apprx. 100% duplicative of previous traffic. As for latency, that's
not easily answered, since it is a composite of multiple scheduling
delays & context switches, and hops across the network.
> It goes against the design of pmcd to be small, lightweight, and stateless.
Only "stateless" is impacted here, and even that not severely. In the
model roughly proposed, pmcd would remain stateless across individual PMAPI
calls (except, well, for state already stored, like indom profiles). It
would just mean that instead of one response to the fetch pdu, pmcd would
issue multiple responses over time, until the operation is complete. For
example, no nesting of operations is necessary.
If you mean "stateless" to mean the structure of the relatively simple main
message handling loop, then yes, that part would be somewhat complicated.
> It'd also removes the implicit feedback loop that is designed into the
> protocol.
Please elaborate what you mean.
> If you're concerned about it, it would be better to understand where that
> existing latency is coming from and optimise that - such optimisations will
> help all client tools and allows pmcd to stay lean.
Sure, but that is orthogonal to reducing effort and traffic that is, from
the application point of view, pure overhead. We should reduce both.
--
You are receiving this mail because:
You are on the CC list for the bug.
--1417646474.b71fde2.13158
Date: Wed, 3 Dec 2014 16:41:14 -0600
MIME-Version: 1.0
Content-Type: text/html; charset="UTF-8"
Comment # 3
on bug 1091
from Frank Ch. Eigler
(In reply to comment #2)
> This introduces server side memory load and complexity (significant per-client
> server state would be needed),
The amount of per-client state would be approximately equal to one fetch
packet,
namely one kilobyte in this case. The complexity may be more accurately judged
via a straw design.
> at the cost of tiny amounts of network traffic & small latency.
As for network traffic, in this test it was 10% of the total, and
apprx. 100% duplicative of previous traffic. As for latency, that's
not easily answered, since it is a composite of multiple scheduling
delays & context switches, and hops across the network.
> It goes against the design of pmcd to be small, lightweight, and stateless.
Only "stateless" is impacted here, and even that not severely. In the
model roughly proposed, pmcd would remain stateless across individual PMAPI
calls (except, well, for state already stored, like indom profiles). It
would just mean that instead of one response to the fetch pdu, pmcd would
issue multiple responses over time, until the operation is complete. For
example, no nesting of operations is necessary.
If you mean "stateless" to mean the structure of the relatively simple main
message handling loop, then yes, that part would be somewhat complicated.
> It'd also removes the implicit feedback loop that is designed into the
> protocol.
Please elaborate what you mean.
> If you're concerned about it, it would be better to understand where that
> existing latency is coming from and optimise that - such optimisations will
> help all client tools and allows pmcd to stay lean.
Sure, but that is orthogonal to reducing effort and traffic that is, from
the application point of view, pure overhead. We should reduce both.
You are receiving this mail because:
- You are on the CC list for the bug.
--1417646474.b71fde2.13158--
From chandana@desilva.id.au Wed Dec 3 16:55:01 2014
Return-Path:
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on oss.sgi.com
X-Spam-Level:
X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=ham
version=3.3.1
X-Original-To: pcp@oss.sgi.com
Delivered-To: pcp@oss.sgi.com
Received: from relay.sgi.com (relay3.corp.sgi.com [198.149.34.15])
by oss.sgi.com (Postfix) with ESMTP id EE92D7F4E
for ; Wed, 3 Dec 2014 16:55:00 -0600 (CST)
Received: from cuda.sgi.com (cuda3.sgi.com [192.48.176.15])
by relay3.corp.sgi.com (Postfix) with ESMTP id 7D5DAAC002
for ; Wed, 3 Dec 2014 14:54:57 -0800 (PST)
X-ASG-Debug-ID: 1417647295-04cb6c0570ef2380001-S8gJnT
Received: from mho-02-ewr.mailhop.org (mho-02-ewr.mailhop.org [204.13.248.72]) by cuda.sgi.com with ESMTP id LT2kEXsAf7bJA3cx (version=TLSv1 cipher=AES256-SHA bits=256 verify=NO) for ; Wed, 03 Dec 2014 14:54:55 -0800 (PST)
X-Barracuda-Envelope-From: chandana@desilva.id.au
X-Barracuda-Apparent-Source-IP: 204.13.248.72
Received: from ec2-54-252-74-219.ap-southeast-2.compute.amazonaws.com ([54.252.74.219] helo=mail.desilva.id.au)
by mho-02-ewr.mailhop.org with esmtpa (Exim 4.72)
(envelope-from )
id 1XwIow-0006YA-VY; Wed, 03 Dec 2014 22:54:55 +0000
Received: from [192.168.19.83] (unknown [175.45.83.34])
by mail.desilva.id.au (Postfix) with ESMTPSA id B0623214B7;
Wed, 3 Dec 2014 22:54:52 +0000 (UTC)
X-Mail-Handler: Dyn Standard SMTP by Dyn
X-Originating-IP: 54.252.74.219
X-Report-Abuse-To: abuse@dyndns.com (see http://www.dyndns.com/services/sendlabs/outbound_abuse.html for abuse reporting information)
X-MHO-User: U2FsdGVkX18v7/Rj6sokrLjN9yI2/x+gNTX/6LXVatQ=
Message-ID: <1417647290.948.20.camel@tardis>
Subject: Re: pmwebd: Defining the directory for PCP Archives
From: Chandana De Silva
X-ASG-Orig-Subj: Re: pmwebd: Defining the directory for PCP Archives
Reply-To: chandana@desilva.id.au
To: "Frank Ch. Eigler"
Cc: pcp@oss.sgi.com
Date: Thu, 04 Dec 2014 09:54:50 +1100
In-Reply-To: <20141202230914.GQ5088@redhat.com>
References: <1417459116.12396.15.camel@tardis>
<1417499687.17867.23.camel@tardis> <20141202121245.GP5088@redhat.com>
<1417556631.941.12.camel@tardis> <20141202230914.GQ5088@redhat.com>
Content-Type: text/plain; charset="UTF-8"
X-Mailer: Evolution 3.10.4 (3.10.4-4.fc20)
Mime-Version: 1.0
Content-Transfer-Encoding: 7bit
X-Barracuda-Connect: mho-02-ewr.mailhop.org[204.13.248.72]
X-Barracuda-Start-Time: 1417647295
X-Barracuda-Encrypted: AES256-SHA
X-Barracuda-URL: http://192.48.176.15:80/cgi-mod/mark.cgi
X-Virus-Scanned: by bsmtpd at sgi.com
X-Barracuda-BRTS-Status: 1
X-Barracuda-Spam-Score: 0.00
X-Barracuda-Spam-Status: No, SCORE=0.00 using per-user scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.7 tests=BSF_SC0_MISMATCH_TO
X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.3.12401
Rule breakdown below
pts rule name description
---- ---------------------- --------------------------------------------------
0.00 BSF_SC0_MISMATCH_TO Envelope rcpt doesn't match header
Hello Frank
Added verbosity, and tried :
$ tail -f /var/log/pcp/pmwebd/pmwebd.log
Verbosity level 3
Using libmicrohttpd 0.9.22
PMAPI prefix /pmapi
Serving non-pmwebapi URLs under directory /usr/share/pcp/webapps
Remote context creation requests enabled
Archive base directory: /var/logdata/pmlogger/
Graphite API enabled
Graphite API Cairo graphics rendering compiled-in
Periodic client statistics dumped roughly every 300s
Using up to 0 auxiliary threads
[Wed Dec 3 22:49:47] pmwebd(17772): [10.17.1.18:55220] HTTP/1.1 GET /
[Wed Dec 3 22:49:50] pmwebd(17772): [10.17.1.18:55220] HTTP/1.1 GET /graphite/
[Wed Dec 3 22:49:50] pmwebd(17772): [10.17.1.18:55220] HTTP/1.1 GET /graphite/composer/ =
[Wed Dec 3 22:49:50] pmwebd(17772): [10.17.1.18:55220] HTTP/1.1 GET /graphite/composer/index.html =
[Wed Dec 3 22:49:50] pmwebd(17772): [10.17.1.18:55220] pmwebres serving file /usr/share/pcp/webapps/graphite/composer/index.html
[Wed Dec 3 22:49:51] pmwebd(17772): [10.17.1.18:55220] HTTP/1.1 GET /render
[Wed Dec 3 22:49:51] pmwebd(17772): [10.17.1.18:55220] suspicious resource path /usr/share/pcp/webapps/render
[Wed Dec 3 22:49:51] pmwebd(17772): [10.17.1.18:55220] HTTP/1.1 GET /graphite/render/ _salt=1417646991.127 height=308 width=586
[Wed Dec 3 22:49:51] pmwebd(17772): [10.17.1.18:55220] digested 0 metrics, timespan [1417560591-1417646991 by 85], in 0.002ms
[Wed Dec 3 22:49:54] pmwebd(17772): [10.17.1.18:55220] HTTP/1.1 GET /graphite/metrics/find/ _dc=1417646994317 contexts=1 format=treejson node=GraphiteTree path= query=*
[Wed Dec 3 22:49:54] pmwebd(17772): [10.17.1.18:55220] Searching for archives under /var/logdata/pmlogger/
[Wed Dec 3 22:49:57] pmwebd(17772): [10.17.1.18:55220] enumerated 701382 metrics
[Wed Dec 3 22:50:04] pmwebd(17772): [10.17.1.18:55220] HTTP/1.1 GET /graphite/metrics/find/ _dc=1417647004436 contexts=1 format=treejson node=-2F-var-2F-logdata-2F-pmlogger-2F-archdb1-2E-prd-2E-mel-2F-20141118-2E-meta path=-2F-var-2F-logdata-2F-pmlogger-2F-archdb1-2E-prd-2E-mel-2F-20141118-2E-meta query=-2F-var-2F-logdata-2F-pmlogger-2F-archdb1-2E-prd-2E-mel-2F-20141118-2E-meta.*
[Wed Dec 3 22:50:04] pmwebd(17772): [10.17.1.18:55220] Searching for archives under /var/logdata/pmlogger/
[Wed Dec 3 22:50:04] pmwebd(17772): [10.17.1.18:55220] enumerated 1370 metrics
[Wed Dec 3 22:50:06] pmwebd(17772): [10.17.1.18:55220] HTTP/1.1 GET /graphite/metrics/find/ _dc=1417647006094 contexts=1 format=treejson node=-2F-var-2F-logdata-2F-pmlogger-2F-archdb1-2E-prd-2E-mel-2F-20141118-2E-meta.disk path=-2F-var-2F-logdata-2F-pmlogger-2F-archdb1-2E-prd-2E-mel-2F-20141118-2E-meta.disk query=-2F-var-2F-logdata-2F-pmlogger-2F-archdb1-2E-prd-2E-mel-2F-20141118-2E-meta.disk.*
[Wed Dec 3 22:50:06] pmwebd(17772): [10.17.1.18:55220] Searching for archives under /var/logdata/pmlogger/
[Wed Dec 3 22:50:06] pmwebd(17772): [10.17.1.18:55220] enumerated 123 metrics
[Wed Dec 3 22:50:08] pmwebd(17772): [10.17.1.18:55220] HTTP/1.1 GET /graphite/metrics/find/ _dc=1417647008097 contexts=1 format=treejson node=-2F-var-2F-logdata-2F-pmlogger-2F-archdb1-2E-prd-2E-mel-2F-20141118-2E-meta.disk.all path=-2F-var-2F-logdata-2F-pmlogger-2F-archdb1-2E-prd-2E-mel-2F-20141118-2E-meta.disk.all query=-2F-var-2F-logdata-2F-pmlogger-2F-archdb1-2E-prd-2E-mel-2F-20141118-2E-meta.disk.all.*
[Wed Dec 3 22:50:08] pmwebd(17772): [10.17.1.18:55220] Searching for archives under /var/logdata/pmlogger/
[Wed Dec 3 22:50:08] pmwebd(17772): [10.17.1.18:55220] enumerated 15 metrics
[Wed Dec 3 22:50:09] pmwebd(17772): [10.17.1.18:55220] HTTP/1.1 GET /graphite/render/ _salt=1417647009.812 height=308 target=-2F-var-2F-logdata-2F-pmlogger-2F-archdb1-2E-prd-2E-mel-2F-20141118-2E-meta.disk.all.avactive width=586
[Wed Dec 3 22:50:09] pmwebd(17772): [10.17.1.18:55220] Searching for archives under /var/logdata/pmlogger/
[Wed Dec 3 22:50:09] pmwebd(17772): [10.17.1.18:55220] enumerated 1 metrics
[Wed Dec 3 22:50:09] pmwebd(17772): [10.17.1.18:55220] digested 1 metrics, timespan [1417560609-1417647009 by 85], in 15.574ms
[Wed Dec 3 22:50:16] pmwebd(17772): [10.17.1.18:55220] HTTP/1.1 GET /graphite/render/ _salt=1417647016.797 height=308 width=586
[Wed Dec 3 22:50:16] pmwebd(17772): [10.17.1.18:55220] digested 0 metrics, timespan [1417560616-1417647016 by 85], in 0.002ms
On Tue, 2014-12-02 at 18:09 -0500, Frank Ch. Eigler wrote:
> > $ cat /var/log/pcp/pmwebd/pmwebd.log
> > [Tue Dec 2 21:31:42] pmwebd(32481): pmwebd
> > Archive base directory: /var/logdata/pmlogger/
> > Graphite API enabled
> > Graphite API Cairo graphics rendering compiled-in
> > [...]
>
> That looks good. Try adding a few more -v (verbose) flags to
> pmwebd.options to get more data in the .log file.
>
>
> - FChE
From nscott@redhat.com Wed Dec 3 17:11:29 2014
Return-Path:
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on oss.sgi.com
X-Spam-Level:
X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=ham
version=3.3.1
X-Original-To: pcp@oss.sgi.com
Delivered-To: pcp@oss.sgi.com
Received: from relay.sgi.com (relay3.corp.sgi.com [198.149.34.15])
by oss.sgi.com (Postfix) with ESMTP id 5EA177F4E
for ; Wed, 3 Dec 2014 17:11:29 -0600 (CST)
Received: from cuda.sgi.com (cuda2.sgi.com [192.48.176.25])
by relay3.corp.sgi.com (Postfix) with ESMTP id D33AEAC002
for ; Wed, 3 Dec 2014 15:11:25 -0800 (PST)
X-ASG-Debug-ID: 1417648283-04cbb0106970c10001-S8gJnT
Received: from mx3-phx2.redhat.com (mx3-phx2.redhat.com [209.132.183.24]) by cuda.sgi.com with ESMTP id mrk4IylRUtPjoEke (version=TLSv1 cipher=AES256-SHA bits=256 verify=NO) for ; Wed, 03 Dec 2014 15:11:24 -0800 (PST)
X-Barracuda-Envelope-From: nscott@redhat.com
X-Barracuda-Apparent-Source-IP: 209.132.183.24
Received: from zmail20.collab.prod.int.phx2.redhat.com (zmail20.collab.prod.int.phx2.redhat.com [10.5.83.23])
by mx3-phx2.redhat.com (8.13.8/8.13.8) with ESMTP id sB3NBLCw010930;
Wed, 3 Dec 2014 18:11:21 -0500
Date: Wed, 3 Dec 2014 18:11:20 -0500 (EST)
From: Nathan Scott
Reply-To: Nathan Scott
To: Michele Baldessari
Cc: pcp@oss.sgi.com
Message-ID: <41519473.10019484.1417648280946.JavaMail.zimbra@redhat.com>
In-Reply-To: <20141203221920.GB6448@marquez.int.rhx>
References: <20141203221920.GB6448@marquez.int.rhx>
Subject: Re: [pcp] Networking Metrics
MIME-Version: 1.0
X-ASG-Orig-Subj: Re: [pcp] Networking Metrics
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
X-Originating-IP: [10.5.82.6]
X-Mailer: Zimbra 8.0.6_GA_5922 (ZimbraWebClient - FF17 (Linux)/8.0.6_GA_5922)
Thread-Topic: Networking Metrics
Thread-Index: 4CZQ5y2o+kRPE4dpvXdOC6AgirllNw==
X-Barracuda-Connect: mx3-phx2.redhat.com[209.132.183.24]
X-Barracuda-Start-Time: 1417648283
X-Barracuda-Encrypted: AES256-SHA
X-Barracuda-URL: http://192.48.176.25:80/cgi-mod/mark.cgi
X-Virus-Scanned: by bsmtpd at sgi.com
X-Barracuda-BRTS-Status: 1
X-Barracuda-Spam-Score: 0.02
X-Barracuda-Spam-Status: No, SCORE=0.02 using per-user scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.7 tests=THREAD_INDEX, THREAD_TOPIC
X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.3.12402
Rule breakdown below
pts rule name description
---- ---------------------- --------------------------------------------------
0.01 THREAD_INDEX thread-index: AcO7Y8iR61tzADqsRmmc5wNiFHEOig==
0.01 THREAD_TOPIC Thread-Topic: ...(Japanese Subject)...
----- Original Message -----
> Hi all,
>
> so on my quest to replace all our (RH) internal scripts to collect
> networking stats with PCP.
Awesome :)
> I was thinking of creating a separate PMDA for this. I still need to think a
> bit
> how the namespace will look like. I'll probably prefer using NETLINK and
> fetch
> the info in the PMDA directly and not fork tc and parse the output. Hopefully
> it is not too much work.
Sounds good & yeah, shouldn't be a huge amount of work I'd hope.
> 2) /proc/softirqs
> This should be trivial. Would it be ok to fold this into the Linux PMDA?
Yep (though complicated by need for dynamic metrics a bit). See the
existing kernel.percpu.interrupts metrics (from /proc/interrupts), I
guess these new ones would become kernel.percpu.soft_interrupts.*
> 3) /proc/net/softnet_stat
> Should also be fairly simple. Unsure where to squeeze it in though? Maybe
> a new PMDA linux-networking which holds 1) 3) and 4) ?
Sounds good to me. We have linux_proc, linux_xfs - so linux_net would
be good - the metrics names could match the access methods, like netlink.*
ethtool.* and so on? (/me has a luvly bikeshed now)
> 4) ethtool -S
> I have a prototype ready in python. It crashes when an interface is removed
> and readded (due to the python-pcp limits with dynamic metrics issue).
> Anyhow I will port it to C so we won't be dependant on a too recent
> python-ethtool
> version. Here too, I am unsure if I should put it in a linux-networking PMDA
> or
> an ethtool PMDA or somewhere else completely
C is good (esp for simply talking ioctls like SIOCETHTOOL) - gives you
the DSO PMDA option too, if elevated privileges aren't required (which I
don't think they are here?).
The python wrapper will only fail if you attempt to add an entirely new
metric after startup - adding/removing instances on-the-fly is fine and
generally a better way to go whenever possible.
cheers.
--
Nathan
From psmith@aconex.com Wed Dec 3 23:36:22 2014
Return-Path:
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on oss.sgi.com
X-Spam-Level:
X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=ham
version=3.3.1
X-Original-To: pcp@oss.sgi.com
Delivered-To: pcp@oss.sgi.com
Received: from relay.sgi.com (relay2.corp.sgi.com [137.38.102.29])
by oss.sgi.com (Postfix) with ESMTP id 41A6B7F3F
for ; Wed, 3 Dec 2014 23:36:22 -0600 (CST)
Received: from cuda.sgi.com (cuda3.sgi.com [192.48.176.15])
by relay2.corp.sgi.com (Postfix) with ESMTP id 20B11304032
for ; Wed, 3 Dec 2014 21:36:18 -0800 (PST)
X-ASG-Debug-ID: 1417671372-04cb6c0573f4ec20001-S8gJnT
Received: from postoffice2.aconex.com (mail.aconex.com [175.45.105.35]) by cuda.sgi.com with ESMTP id qX0qqvUGifc3x2yO for ; Wed, 03 Dec 2014 21:36:13 -0800 (PST)
X-Barracuda-Envelope-From: psmith@aconex.com
X-Barracuda-Apparent-Source-IP: 175.45.105.35
Received: from postoffice.aconex.com (postoffice.yarra.acx [192.168.35.100]) by postoffice2.aconex.com with ESMTP id jR5vX8CnCZ1eN8jm for ; Thu, 04 Dec 2014 16:36:10 +1100 (EST)
Received: from gatekeeper.aconex.com (gatekeeper.yarra.acx [192.168.35.102])
by postoffice.aconex.com (Postfix) with ESMTP id 5E5023CE00BD
for ; Thu, 4 Dec 2014 16:36:10 +1100 (EST)
Received: from localhost (localhost.localdomain [127.0.0.1])
by gatekeeper.aconex.com (Postfix) with ESMTP id 5398A243A5A6
for ; Thu, 4 Dec 2014 16:36:10 +1100 (EST)
Received: from gatekeeper.aconex.com ([127.0.0.1])
by localhost (gatekeeper.aconex.com [127.0.0.1]) (amavisd-new, port 10032)
with ESMTP id IGvVE8i9bfw3 for ;
Thu, 4 Dec 2014 16:36:09 +1100 (EST)
Received: from localhost (localhost.localdomain [127.0.0.1])
by gatekeeper.aconex.com (Postfix) with ESMTP id C9B91243A5B8
for ; Thu, 4 Dec 2014 16:36:09 +1100 (EST)
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 10026)
with ESMTP id ur69dNxoxLo7 for ;
Thu, 4 Dec 2014 16:36:09 +1100 (EST)
Received: from paul.engr.acx (paul.engr.acx [192.168.7.130])
by gatekeeper.aconex.com (Postfix) with ESMTPSA id 7BF17243A5A6
for ; Thu, 4 Dec 2014 16:36:09 +1100 (EST)
From: Paul Smith
Content-Type: multipart/mixed; boundary="Apple-Mail=_82C828E1-8F87-4FAC-9121-3F1B37DD3307"
Subject: Failing PMDA Perl example with disappearing instance domain values
Message-Id: <30806F1D-98FB-4C8A-B626-0981F486F8FB@aconex.com>
X-ASG-Orig-Subj: Failing PMDA Perl example with disappearing instance domain values
Date: Thu, 4 Dec 2014 16:36:09 +1100
To: pcp@oss.sgi.com
Mime-Version: 1.0 (Mac OS X Mail 8.1 \(1993\))
X-Mailer: Apple Mail (2.1993)
X-Virus-Scanned: by bsmtpd at aconex.com
X-Barracuda-Connect: mail.aconex.com[175.45.105.35]
X-Barracuda-Start-Time: 1417671372
X-Barracuda-URL: http://192.48.176.15:80/cgi-mod/mark.cgi
X-Virus-Scanned: by bsmtpd at sgi.com
X-Barracuda-BRTS-Status: 1
X-Barracuda-Spam-Score: 0.00
X-Barracuda-Spam-Status: No, SCORE=0.00 using per-user scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.7 tests=
X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.3.12415
Rule breakdown below
pts rule name description
---- ---------------------- --------------------------------------------------
--Apple-Mail=_82C828E1-8F87-4FAC-9121-3F1B37DD3307
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
charset=us-ascii
Hi Nathan (& everyone), as discussed on IRC, here's the example PMDA we =
created copied, cleaned, scaled, and gutted from our activemq which =
shows what we're seeing the issue where the PMDA crashes when the =
refresh decides to inform PMCD that all of the instances in the indom =
have disappeared (I always think of the canonical case of instance =
domains of 'disks' where one has ejected all the disks leaving nothing, =
which should be ok.. as you say, not usual, but should work).
Here's also the attached output from running 'pcp' after the PMDA has =
died.
Performance Co-Pilot configuration on atrigg-T1700:
platform: Linux atrigg-T1700 3.13.0-40-generic #69-Ubuntu SMP Thu Nov 13 =
17:53:56 UTC 2014 x86_64
hardware: 8 cpus, 2 disks, 1 node, 32119MB RAM
timezone: AEDT-11
pmcd: Version 3.8.12-1, 7 agents, 4 clients
pmda: pmcd proc xfs linux mmv jbd2 activemq failingpmda[720904]
pmlogger: atrigg-T1700: =
/var/log/pcp/pmmgr/atrigg-T1700/archive-20141203.220600
primary logger: atrigg-T1700/20141204.00.10
pmie: atrigg-T1700: /var/log/pcp/pmie/atrigg-T1700/pmie.log
atrigg-T1700: /var/log/pcp/pmmgr/atrigg-T1700/pmie.log
--Apple-Mail=_82C828E1-8F87-4FAC-9121-3F1B37DD3307
Content-Disposition: attachment;
filename=failingpmda.tar.gz
Content-Type: application/x-gzip;
name="failingpmda.tar.gz"
Content-Transfer-Encoding: base64
H4sIAPDxf1QAA+1ae3PaSBLPv8yn6LVdMVxhgTCPC15nQ2ycUMWrAF8qdVyphDQYVfTgNJId7irf
/bpHEggMdjZHkr1bJg4wo+5fP2a656WpbtmWezd3TL3wrnvr6J/41LL5i32WYrFYrZYBv9VapZj+
lqVUUquglsrntVq1qiJhUa2WSqUXUNyrFjtKKALdR1X0wLfu7nbTPfc8sgWW3/8j5Zgdw5U3X6Bx
swCyRg5KRbUMDcNz+Wd8hn+jmSVg7nt3vu4A/pz6nIPwpsGD7vMLWHghGLoLPjctgU6ahAEHKwDd
NQueD45nWtMFNiBS6Jrch2DGIeC+I8CbygqOO3jHXe7rNvTDiW0Z0LYM7goOOkqmFjHjJkwWRI44
N6TBMNYAbjzE1QPLcy+AW0jhwz33BdahlIiI8fKAGmX1gJT2EcibE1sOdV2ArQcrTmW76SsLTbBc
iTzz5mjODDHR5gfLtmHCIRR8Gtp5QEpE+dAave/djqDR/QgfGoNBozv6eIG0wcwLA+D3PEKynLlt
ITAa5etusCDdO83B1Xukb7xttVujj6SyDzetUbc5HMJNbwAN6DcGo9bVbbsxgP7toN8bNhWAIefP
uBahprJ70IMmDzANCGk0G/X6160BXIKiFOQfs1zDDk0OJ9noWa4gfKMQtxYmoWWbJp8KxlqNTuYS
pquUwq57nUari403DTSg+67fuW4w+kAYbD3J9q/6GtWHmgQ+ySJGjrFOo6sNm1ejVq+Lmqiy3m+8
aw6xRsARnXKSTRHmJNV1cziCBFk2EK6juxu0rI0PiNL0HN1ylRn4nhcguCvgL4rt3TGGRumhHdTB
mHHjkxYRspQ73t622teD23ZzmKNmzCS2XYeYjWVQye5w1Gi3c3DmQK1SgTOTFIvMz20jaEUgMOCO
d8+fIK6Wy2lHzO0UbWHtwTbO+CEG+TTNl2pmmTdLNnJjbukObW7MYWVlYnfcHNcYS/usnonGEjm3
IAJz7lgmqRWNDq3fHLTJizn2s7Phn6+kgrUQDbr9y8D5sFar7Jz/1VLxfGP+r5yXqof5/0eU41+g
MLHcgpixw1LgsBRYXwoocEKzKM4NBR4YBczwCnfvk+bh+8agKR/a1kTOOegeQ8GRxCzduUwvAxh9
DnkQzuWvKNEw/hn9VDwk/Z9Z0vmfPlJ1XDvsR8Yz+b9SqZXj/F8rlmtVzP+1arl4yP8/ohyS/iHp
ryd91B3ISiO4kL9RHRczgohqN5bN6/W3uuCu7vCoDdM/esanBshq2k2r3dS03EUEhTNFvU47DKw7
CzgRnsM1y8WNAe69ilHjm1WjJjcQrsFF/Aj3WgI7RjN03FFcZDLHEFgoB31j6yLAUYfDUcykLRxJ
IKaXsiQPImL9Hh1wCSUJ4GDXCW4I7KnggXM3AeFCwsQIItKXMiFyLs04e+3yh+xpKk+e5kE9L+di
+2xPNzWp4qXUFJtFOIFwjkOUayk2De0MQsH+zQALsmZPYsk5ZH2jXSTtJ673sAKjRmsKWdx/WS43
l0yRg/6eVP+Rg5cvI9Yz2EUDv15uOikHkT5UfJywfTfS48tKcsIOl7gzT9NTd3FnHixWnYh6Z3MX
axSYWNafF/NwmjQUTzeogwfvKWp0faqubnK7GFy+JrCP10FevUpxvXpFMMU0MNZk2xp4UZVtpbW2
EolcypTuiX2+Ggi/QjntJipyWJ299vnc1o146GdTsZGH8aYrU6Z9Wf7ittgl86/fInOtc36vRLX0
LSLXevh3i6x+R8/yb4DeNuIe4cfBtDMsL2XgXjCkk8kjnTWmuBKfIYdtT3TjE2aPTDp15OHECrhD
Xyg9SSRx6KYjt5j223FqAGclAMV2cdO1UT6ArIohoH6t0xKmfkdrDgZav9O6ziP0Y5eke3pXhtmp
3kq18++oG98icSvvF9l18XjRTVNzOM2oWdmDdPqFaayYywMyjz72m9rteUlWWt3rXkfr3rbbeZbB
+rBJbcMRrgDy8rhPC10rEMSd/MshZXo2UuR4xEwe8tN85hRT1qlMUU8poz5WJj2spUlfrQ0RP1ZI
Iq3pBlt12xpU25YHaHbmtBXX4kNc4J/nnh+g4GgtkBBvChI82Iij7Pjl7iBDzhRjvFhAjp1z+joD
roL87Clunk9X7X6I8+rPXvtTSe//vpeMZ/Z/cr+U7P9q5yXc/5XV8vkLqHwvhdLlT77/e2r/r+5J
xjP3v+Xzyub5bw2bDvv/H1FOx0eObvgebvlM+YMp4yP6/8SpAD2VH/s6GSCs/ZwNENKeTgcI6onz
gZ1O+JYzAsLZ4ymBVH1f5wQE9vikIDGfKaP3QPvi1AUvqHCE++Uj/OQ+sjpyir7yzvqW7QXIMnwP
3UanycbT842cM56qMD5LL3hhnsKIVi4ime71O+4GIO8vcxL1ujm8GrT6dMO7Axw7SIe0Wp0Y8jqC
bESQY3GmEuxY4DLzYWYZMxatLcRWfaa+56SVVqQ28fVpQ6ojh0kKFqPin6GFK4loYFAnpK0WQTiJ
VxMUKKHNpepGYN1zCiBg+j2S6xN8gOyzIJjXCwXbwzXLzBNBYctBg9Lvs+R+eVNcWjEMpVDQGoqI
EgZh+NY8oJija/K6BIs3D2CY0YXA8h4/LZ0pE39JqRRiPMk/8jDq4wvjPPZppJVn294Dif+vZcXX
DMQ+nr59NBgG5FFbD10jTiDjaWvuGCY+yao56WSBsWebIDd1FLP8MzdkYDMTu84I7IWC8b/yEvHE
V/eRwwS4XkBZbh37YRZHM4uGMCoS+wGxMdZ8iWFGw4jO04ZMafXhCM3YbX36t7zDR2FHUGZREsPA
pjbrLvRlNgR6zUsG9lbffI282OpIDCQvAkTo8XghfLJzu/8j479GVOTURBJmdA/2I67deyeFUees
OdD27hJx8asOgE0rr3Hfp6TIhUDYOANsFys7EWVBs/u31qDX7TS7I9Z07y3fcx3S6F73LQpkIbO9
NGCOuwzrMwGSklJ5X04ZJgQezHWcazhOR9a/OJNBQ1rR4IuGpecvgE5jRcQhhzYBIY4CPTe1OYr9
l5eTp0RByuVlXzyIaOBg2neFVE3mGJCbOJE4HGfjpREKsFHUBdLBV73uDWEkz8HRF/H0J20Rc25Q
gOA6QbfRJFeXKY49Hqx5yggmp66eRHMrBdVKzWwlFwXMsNmERnvYY8rbAVDHAsac8ofYbv3hypZ4
3ruM597/KFdrm+9/VNTD+v+HlONfDq9/HG4Cv/PrH7hktjX08GXgh5yZOk7mrqxPdRvlo3SDmxqu
hTEUk0bJBGccjugWsf2hX6/fCu7L9fkRlF4XTH5fcEP0MrOwZ5EXTn6DM5dDkaZEl2W4MfPgaJ0T
JOpqQY2rs9XK6wh56JUUFWfCzVdWknXr4Z2VQzmUQ/l/Kf8B9aS22AA0AAA=
--Apple-Mail=_82C828E1-8F87-4FAC-9121-3F1B37DD3307--
From nscott@redhat.com Thu Dec 4 02:51:27 2014
Return-Path:
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on oss.sgi.com
X-Spam-Level:
X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=ham
version=3.3.1
X-Original-To: pcp@oss.sgi.com
Delivered-To: pcp@oss.sgi.com
Received: from relay.sgi.com (relay2.corp.sgi.com [137.38.102.29])
by oss.sgi.com (Postfix) with ESMTP id 750567F3F
for ; Thu, 4 Dec 2014 02:51:27 -0600 (CST)
Received: from cuda.sgi.com (cuda3.sgi.com [192.48.176.15])
by relay2.corp.sgi.com (Postfix) with ESMTP id 5258F304032
for ; Thu, 4 Dec 2014 00:51:27 -0800 (PST)
X-ASG-Debug-ID: 1417683082-04cb6c0570f9ef20001-S8gJnT
Received: from mx5-phx2.redhat.com (mx5-phx2.redhat.com [209.132.183.37]) by cuda.sgi.com with ESMTP id AsSHvA635wKh4GZt (version=TLSv1 cipher=AES256-SHA bits=256 verify=NO) for ; Thu, 04 Dec 2014 00:51:22 -0800 (PST)
X-Barracuda-Envelope-From: nscott@redhat.com
X-Barracuda-Apparent-Source-IP: 209.132.183.37
Received: from zmail20.collab.prod.int.phx2.redhat.com (zmail20.collab.prod.int.phx2.redhat.com [10.5.83.23])
by mx5-phx2.redhat.com (8.14.4/8.14.4) with ESMTP id sB48pE1n027233;
Thu, 4 Dec 2014 03:51:15 -0500
Date: Thu, 4 Dec 2014 03:51:14 -0500 (EST)
From: Nathan Scott
Reply-To: Nathan Scott
To: Paul Smith
Cc: pcp@oss.sgi.com
Message-ID: <1775600914.10280164.1417683074559.JavaMail.zimbra@redhat.com>
In-Reply-To: <30806F1D-98FB-4C8A-B626-0981F486F8FB@aconex.com>
References: <30806F1D-98FB-4C8A-B626-0981F486F8FB@aconex.com>
Subject: Re: [pcp] Failing PMDA Perl example with disappearing instance
domain values
MIME-Version: 1.0
X-ASG-Orig-Subj: Re: [pcp] Failing PMDA Perl example with disappearing instance
domain values
Content-Type: multipart/mixed;
boundary="----=_Part_10280162_1659374520.1417683074557"
X-Originating-IP: [10.5.82.6]
X-Mailer: Zimbra 8.0.6_GA_5922 (ZimbraWebClient - FF17 (Linux)/8.0.6_GA_5922)
Thread-Topic: Failing PMDA Perl example with disappearing instance domain values
Thread-Index: hxyFZQYzSmFiLwdRaj3GLUgDg4Omsg==
X-Barracuda-Connect: mx5-phx2.redhat.com[209.132.183.37]
X-Barracuda-Start-Time: 1417683082
X-Barracuda-Encrypted: AES256-SHA
X-Barracuda-URL: http://192.48.176.15:80/cgi-mod/mark.cgi
X-Virus-Scanned: by bsmtpd at sgi.com
X-Barracuda-BRTS-Status: 1
X-Barracuda-Spam-Score: 0.02
X-Barracuda-Spam-Status: No, SCORE=0.02 using per-user scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.7 tests=THREAD_INDEX, THREAD_TOPIC
X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.3.12421
Rule breakdown below
pts rule name description
---- ---------------------- --------------------------------------------------
0.01 THREAD_INDEX thread-index: AcO7Y8iR61tzADqsRmmc5wNiFHEOig==
0.01 THREAD_TOPIC Thread-Topic: ...(Japanese Subject)...
------=_Part_10280162_1659374520.1417683074557
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
Hi Paul,
----- Original Message -----
> Hi Nathan (& everyone), as discussed on IRC, here's the example PMDA we
> created copied, cleaned, scaled, and gutted from our activemq which shows
> what we're seeing the issue where the PMDA crashes when the refresh decides
> to inform PMCD that all of the instances in the indom have disappeared (I
> always think of the canonical case of instance domains of 'disks' where one
> has ejected all the disks leaving nothing, which should be ok.. as you say,
> not usual, but should work).
Thanks for the test case. Yes, this is triggering an unhandled edge
condition in the C code that interfaces between libpcp_pmda and perl
scripts. The fix is attached. If it helps at all, its specific to
the use of array-based instances - switching to the hash-based model
will dodge this bullet.
I'll make a pcp/qa test case tomorrow from yours and commit the fix
for pcp-3.10.2 (which is scheduled for early January).
cheers.
--
Nathan
------=_Part_10280162_1659374520.1417683074557
Content-Type: text/x-patch; name=perl.patch
Content-Disposition: attachment; filename=perl.patch
Content-Transfer-Encoding: base64
ZGlmZiAtLWdpdCBhL3NyYy9wZXJsL1BNREEvUE1EQS54cyBiL3NyYy9wZXJsL1BNREEvUE1EQS54
cwppbmRleCBhNmQxNmIyLi43ZWFhZmYxIDEwMDY0NAotLS0gYS9zcmMvcGVybC9QTURBL1BNREEu
eHMKKysrIGIvc3JjL3BlcmwvUE1EQS9QTURBLnhzCkBAIC0xMDAwLDggKzEwMDAsNyBAQCBhZGRf
aW5kb20oc2VsZixpbmRvbSxpbnN0cyxoZWxwLGxvbmdoZWxwKQogCXN0cyA9IHVwZGF0ZV9pbmRv
bShpbnN0cywgcC0+aXRfaW5kb20sICZwLT5pdF9zZXQpOwogCWlmIChzdHMgPCAwKQogCSAgICBY
U1JFVFVSTl9VTkRFRjsKLQlpZiAocC0+aXRfc2V0KQotCSAgICBwLT5pdF9udW1pbnN0ID0gc3Rz
OworCXAtPml0X251bWluc3QgPSBzdHM7CiAJUkVUVkFMID0gaXRhYl9zaXplKys7CS8qIHVzZWQg
aW4gY2FsbHMgdG8gcmVwbGFjZV9pbmRvbSgpICovCiAKIAloYXNoID0gcG1JbkRvbVN0cihpbmRv
bSk7CkBAIC0xMDI5LDEzICsxMDI4LDE0IEBAIHJlcGxhY2VfaW5kb20oc2VsZixpbmRleCxpbnN0
cykKIAllbHNlIHsKIAkgICAgcCA9IGluZG9tdGFiICsgaW5kZXg7CiAJICAgIC8qIHdhcyB0aGlz
IGluZG9tIHByZXZpb3VzbHkgc2V0dXAgdmlhIGFuIGFycmF5PyAqLwotCSAgICBpZiAocC0+aXRf
c2V0KQorCSAgICBpZiAocC0+aXRfc2V0KSB7CiAJCXJlbGVhc2VfbGlzdF9pbmRvbShwLT5pdF9z
ZXQsIHAtPml0X251bWluc3QpOworCQlwLT5pdF9udW1pbnN0ID0gMDsKKwkgICAgfQogCSAgICBz
dHMgPSB1cGRhdGVfaW5kb20oaW5zdHMsIHAtPml0X2luZG9tLCAmcC0+aXRfc2V0KTsKIAkgICAg
aWYgKHN0cyA8IDApCiAJCVhTUkVUVVJOX1VOREVGOwotCSAgICBpZiAocC0+aXRfc2V0KQotCQlw
LT5pdF9udW1pbnN0ID0gc3RzOworCSAgICBwLT5pdF9udW1pbnN0ID0gc3RzOwogCSAgICBSRVRW
QUwgPSBzdHM7CiAJfQogICAgIE9VVFBVVDoK
------=_Part_10280162_1659374520.1417683074557--
From nscott@redhat.com Thu Dec 4 02:53:39 2014
Return-Path:
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on oss.sgi.com
X-Spam-Level:
X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=ham
version=3.3.1
X-Original-To: pcp@oss.sgi.com
Delivered-To: pcp@oss.sgi.com
Received: from relay.sgi.com (relay2.corp.sgi.com [137.38.102.29])
by oss.sgi.com (Postfix) with ESMTP id 5CB177F3F
for ; Thu, 4 Dec 2014 02:53:39 -0600 (CST)
Received: from cuda.sgi.com (cuda2.sgi.com [192.48.176.25])
by relay2.corp.sgi.com (Postfix) with ESMTP id 4AD4F304053
for ; Thu, 4 Dec 2014 00:53:39 -0800 (PST)
X-ASG-Debug-ID: 1417683214-04cbb0106b1163d0001-S8gJnT
Received: from mx3-phx2.redhat.com (mx3-phx2.redhat.com [209.132.183.24]) by cuda.sgi.com with ESMTP id mDkYbUHp88w5NhuC (version=TLSv1 cipher=AES256-SHA bits=256 verify=NO) for ; Thu, 04 Dec 2014 00:53:34 -0800 (PST)
X-Barracuda-Envelope-From: nscott@redhat.com
X-Barracuda-Apparent-Source-IP: 209.132.183.24
Received: from zmail20.collab.prod.int.phx2.redhat.com (zmail20.collab.prod.int.phx2.redhat.com [10.5.83.23])
by mx3-phx2.redhat.com (8.13.8/8.13.8) with ESMTP id sB48rYFS031741;
Thu, 4 Dec 2014 03:53:34 -0500
Date: Thu, 4 Dec 2014 03:53:33 -0500 (EST)
From: Nathan Scott
Reply-To: Nathan Scott
To: Jan-Frode Myklebust
Cc: pcp@oss.sgi.com
Message-ID: <1619286946.10280686.1417683213968.JavaMail.zimbra@redhat.com>
In-Reply-To:
References: <20141127104047.GA7900@mushkin.tanso.net> <1815926768.8469113.1417501591651.JavaMail.zimbra@redhat.com>
Subject: Re: [pcp] [PATCH] Add PMDA for the Unbound DNS resolver.
MIME-Version: 1.0
X-ASG-Orig-Subj: Re: [pcp] [PATCH] Add PMDA for the Unbound DNS resolver.
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Originating-IP: [10.5.82.6]
X-Mailer: Zimbra 8.0.6_GA_5922 (ZimbraWebClient - FF17 (Linux)/8.0.6_GA_5922)
Thread-Topic: Add PMDA for the Unbound DNS resolver.
Thread-Index: 0YvmXOihjrNBCd1CGFHmgK0QI03g6A==
X-Barracuda-Connect: mx3-phx2.redhat.com[209.132.183.24]
X-Barracuda-Start-Time: 1417683214
X-Barracuda-Encrypted: AES256-SHA
X-Barracuda-URL: http://192.48.176.25:80/cgi-mod/mark.cgi
X-Virus-Scanned: by bsmtpd at sgi.com
X-Barracuda-BRTS-Status: 1
X-Barracuda-Spam-Score: 0.02
X-Barracuda-Spam-Status: No, SCORE=0.02 using per-user scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.7 tests=THREAD_INDEX, THREAD_TOPIC
X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.3.12421
Rule breakdown below
pts rule name description
---- ---------------------- --------------------------------------------------
0.01 THREAD_INDEX thread-index: AcO7Y8iR61tzADqsRmmc5wNiFHEOig==
0.01 THREAD_TOPIC Thread-Topic: ...(Japanese Subject)...
----- Original Message -----
> Attached output from "unbound-control stats_noreset". Will fix the
> man-page, copyright annotation & GPL header before sending updated patch.
> =E2=80=8B
Thanks for that Jan-Frode - I'll build some test cases in parallel with
your efforts, then hopefully we can make it all come together at once.
cheers.
--
Nathan
From nscott@redhat.com Thu Dec 4 02:55:10 2014
Return-Path:
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on oss.sgi.com
X-Spam-Level:
X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=ham
version=3.3.1
X-Original-To: pcp@oss.sgi.com
Delivered-To: pcp@oss.sgi.com
Received: from relay.sgi.com (relay1.corp.sgi.com [137.38.102.111])
by oss.sgi.com (Postfix) with ESMTP id 8D4927F3F
for ; Thu, 4 Dec 2014 02:55:10 -0600 (CST)
Received: from cuda.sgi.com (cuda1.sgi.com [192.48.157.11])
by relay1.corp.sgi.com (Postfix) with ESMTP id 5DEB78F8037
for ; Thu, 4 Dec 2014 00:55:07 -0800 (PST)
X-ASG-Debug-ID: 1417683305-04bdf0616111989a0001-S8gJnT
Received: from mx3-phx2.redhat.com (mx3-phx2.redhat.com [209.132.183.24]) by cuda.sgi.com with ESMTP id zXHPDPpZHDIvao1e (version=TLSv1 cipher=AES256-SHA bits=256 verify=NO) for ; Thu, 04 Dec 2014 00:55:05 -0800 (PST)
X-Barracuda-Envelope-From: nscott@redhat.com
X-Barracuda-Apparent-Source-IP: 209.132.183.24
Received: from zmail20.collab.prod.int.phx2.redhat.com (zmail20.collab.prod.int.phx2.redhat.com [10.5.83.23])
by mx3-phx2.redhat.com (8.13.8/8.13.8) with ESMTP id sB48t5qI031821
for ; Thu, 4 Dec 2014 03:55:05 -0500
Date: Thu, 4 Dec 2014 03:55:05 -0500 (EST)
From: Nathan Scott
Reply-To: Nathan Scott
To: pcp
Message-ID: <851892672.10281003.1417683305323.JavaMail.zimbra@redhat.com>
In-Reply-To: <684080645.10280906.1417683288682.JavaMail.zimbra@redhat.com>
Subject: pcp updates: linux pmda
MIME-Version: 1.0
X-ASG-Orig-Subj: pcp updates: linux pmda
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
X-Originating-IP: [10.5.82.6]
X-Mailer: Zimbra 8.0.6_GA_5922 (ZimbraWebClient - FF17 (Linux)/8.0.6_GA_5922)
Thread-Topic: pcp updates: linux pmda
Thread-Index: fzvH3JuY6HyKLJcutxtsAVFCPKYKQw==
X-Barracuda-Connect: mx3-phx2.redhat.com[209.132.183.24]
X-Barracuda-Start-Time: 1417683305
X-Barracuda-Encrypted: AES256-SHA
X-Barracuda-URL: http://192.48.157.11:80/cgi-mod/mark.cgi
X-Virus-Scanned: by bsmtpd at sgi.com
X-Barracuda-BRTS-Status: 1
X-Barracuda-Spam-Score: 0.02
X-Barracuda-Spam-Status: No, SCORE=0.02 using per-user scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.7 tests=THREAD_INDEX, THREAD_TOPIC
X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.3.12421
Rule breakdown below
pts rule name description
---- ---------------------- --------------------------------------------------
0.01 THREAD_INDEX thread-index: AcO7Y8iR61tzADqsRmmc5wNiFHEOig==
0.01 THREAD_TOPIC Thread-Topic: ...(Japanese Subject)...
Changes committed to git://git.pcp.io/pcp.git dev
Michele Baldessari (1):
pmdalinux: improve help text for network metrics
Nathan Scott (1):
pmdalinux: resolve another case of valgrind/957 vs ioctl
src/pmdas/linux/help | 34 ++++++++++++++++++++++++++++++----
src/pmdas/linux/proc_net_dev.c | 8 ++++----
2 files changed, 34 insertions(+), 8 deletions(-)
From dsmith@redhat.com Thu Dec 4 15:49:34 2014
Return-Path:
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on oss.sgi.com
X-Spam-Level:
X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=ham
version=3.3.1
X-Original-To: pcp@oss.sgi.com
Delivered-To: pcp@oss.sgi.com
Received: from relay.sgi.com (relay2.corp.sgi.com [137.38.102.29])
by oss.sgi.com (Postfix) with ESMTP id 6BDF97F3F
for ; Thu, 4 Dec 2014 15:49:34 -0600 (CST)
Received: from cuda.sgi.com (cuda2.sgi.com [192.48.176.25])
by relay2.corp.sgi.com (Postfix) with ESMTP id 5BD4830405F
for ; Thu, 4 Dec 2014 13:49:31 -0800 (PST)
X-ASG-Debug-ID: 1417729766-04cbb01064199260001-S8gJnT
Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by cuda.sgi.com with ESMTP id GJ60yQXNsqtRqvok (version=TLSv1 cipher=AES256-SHA bits=256 verify=NO) for ; Thu, 04 Dec 2014 13:49:27 -0800 (PST)
X-Barracuda-Envelope-From: dsmith@redhat.com
X-Barracuda-Apparent-Source-IP: 209.132.183.28
X-ASG-Whitelist: Client
Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23])
by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id sB4LnQi5019876
(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL)
for ; Thu, 4 Dec 2014 16:49:26 -0500
Received: from t540p.usersys.redhat.com (dhcp-10-15-1-13.hsv.redhat.com [10.15.1.13])
by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id sB4LnP1E004014
(version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO);
Thu, 4 Dec 2014 16:49:25 -0500
Message-ID: <5480D6E5.30802@redhat.com>
Date: Thu, 04 Dec 2014 15:49:25 -0600
From: David Smith
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0
MIME-Version: 1.0
To: Nathan Scott
CC: pcp
Subject: Re: [pcp] [RFC] pcp python patch
References: <54512E80.9090302@redhat.com> <54667179.1060605@redhat.com> <370186244.15487866.1416205739744.JavaMail.zimbra@redhat.com> <546A44F0.1070001@redhat.com> <207038253.507858.1416264783839.JavaMail.zimbra@redhat.com> <546A7EDD.9000009@redhat.com> <134603578.1719924.1416389380267.JavaMail.zimbra@redhat.com> <546FB61C.2090103@redhat.com> <1332365833.3983034.1416785912055.JavaMail.zimbra@redhat.com> <5473B52D.2030004@redhat.com> <5474E795.7010302@redhat.com>
X-ASG-Orig-Subj: Re: [pcp] [RFC] pcp python patch
In-Reply-To: <5474E795.7010302@redhat.com>
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
X-Scanned-By: MIMEDefang 2.68 on 10.5.11.23
X-Barracuda-Connect: mx1.redhat.com[209.132.183.28]
X-Barracuda-Start-Time: 1417729767
X-Barracuda-Encrypted: AES256-SHA
X-Barracuda-URL: http://192.48.176.25:80/cgi-mod/mark.cgi
X-Virus-Scanned: by bsmtpd at sgi.com
X-Barracuda-BRTS-Status: 1
On 11/25/2014 02:33 PM, David Smith wrote:
> On 11/24/2014 04:46 PM, David Smith wrote:
>> On 11/23/2014 05:38 PM, Nathan Scott wrote:
>>> Hi David,
... stuff deleted ...
>>> Odd. Only thing I can think of is a python version difference - I'm
>>> using RHEL6 on my primary test machine, which has a relatively old
>>> python version. I'll have another go and look more deeply into the
>>> failures.
>>
>> Hmm, I'll try running this code on RHEL6 (instead of F20) and see what I
>> get.
>
> I'm seeing failures on RHEL6 also, digging into it now.
Fixed in commit de90566 in the dsmith/dev branch of pcpfans.git. The
ctypes.Structure class on python 2.6 only supported the older python
buffer interface. The code handles both the older and newer buffer
interfaces now.
--
David Smith
dsmith@redhat.com
Red Hat
http://www.redhat.com
256.217.0141 (direct)
256.837.0057 (fax)
From minnus@buffalo.edu Thu Dec 4 16:03:03 2014
Return-Path:
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on oss.sgi.com
X-Spam-Level:
X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=ham
version=3.3.1
X-Original-To: pcp@oss.sgi.com
Delivered-To: pcp@oss.sgi.com
Received: from relay.sgi.com (relay1.corp.sgi.com [137.38.102.111])
by oss.sgi.com (Postfix) with ESMTP id 0B9DE7F3F
for ; Thu, 4 Dec 2014 16:03:03 -0600 (CST)
Received: from cuda.sgi.com (cuda2.sgi.com [192.48.176.25])
by relay1.corp.sgi.com (Postfix) with ESMTP id EF8E88F8049
for ; Thu, 4 Dec 2014 14:02:59 -0800 (PST)
X-ASG-Debug-ID: 1417730578-04cbb0106b1a06b0001-S8gJnT
Received: from mtareserve1.acsu.buffalo.edu (mtareserve7.acsu.buffalo.edu [128.205.6.7]) by cuda.sgi.com with ESMTP id gS5lQFCgskffwEEf for ; Thu, 04 Dec 2014 14:02:59 -0800 (PST)
X-Barracuda-Envelope-From: minnus@buffalo.edu
X-Barracuda-Apparent-Source-IP: 128.205.6.7
Received: from localmailB.acsu.buffalo.edu (localmailb.acsu.buffalo.edu [128.205.5.200])
by mtareserve1.acsu.buffalo.edu (Postfix) with ESMTP id B135B7574
for ; Thu, 4 Dec 2014 17:02:58 -0500 (EST)
Received: from localmailB.acsu.buffalo.edu (localhost [127.0.0.1])
by localhost (Postfix) with SMTP id AC046B12F
for ; Thu, 4 Dec 2014 17:02:58 -0500 (EST)
Received: from localmailB.acsu.buffalo.edu (localhost [127.0.0.1])
by localmailB.acsu.buffalo.edu (Postfix) with ESMTP id 18435B12C
for ; Thu, 4 Dec 2014 17:02:58 -0500 (EST)
Received: from smtp.buffalo.edu (smtp4.acsu.buffalo.edu [128.205.5.229])
by localmailB.acsu.buffalo.edu (Prefixe) with ESMTP id 0FFBDB12B
for ; Thu, 4 Dec 2014 17:02:58 -0500 (EST)
Received: from prince.ccr.buffalo.edu (prince.ccr.buffalo.edu [128.205.40.45])
(Authenticated sender: minnus@buffalo.edu)
by smtp.buffalo.edu (Postfix) with ESMTPSA id 049062191
for ; Thu, 4 Dec 2014 17:02:58 -0500 (EST)
Message-ID: <5480DA11.80307@buffalo.edu>
Date: Thu, 04 Dec 2014 17:02:57 -0500
From: Martins Innus
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:31.0) Gecko/20100101 Thunderbird/31.2.0
MIME-Version: 1.0
To: pcp
Subject: Access check change for linux_proc
Content-Type: text/plain; charset=utf-8; format=flowed
X-ASG-Orig-Subj: Access check change for linux_proc
Content-Transfer-Encoding: 7bit
X-PM-EL-Spam-Prob: : 8%
X-Barracuda-Connect: mtareserve7.acsu.buffalo.edu[128.205.6.7]
X-Barracuda-Start-Time: 1417730579
X-Barracuda-URL: http://192.48.176.25:80/cgi-mod/mark.cgi
X-Virus-Scanned: by bsmtpd at sgi.com
X-Barracuda-BRTS-Status: 1
X-Barracuda-Spam-Score: 0.00
X-Barracuda-Spam-Status: No, SCORE=0.00 using per-user scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.7 tests=
X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.3.12449
Rule breakdown below
pts rule name description
---- ---------------------- --------------------------------------------------
Hi,
I'm prepping to push out the current version of hotproc for more review
probably tomorrow, but first we have a couple patches that are self
contained that i'd like to get in first if they look ok. From my:
https://github.com/ubccr/pcp/tree/martins_working
The first one (courtesy of Joe):
commit b01f91742e04c85dd5acd708cea07e590fe373aa
Author: Martins Innus
Date: Thu Dec 4 16:18:33 2014 -0500
Flip the order for the all access check in linux_proc
src/pmdas/linux_proc/pmda.c | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
I think this was the original intent. We've been running this for a
while and it seems to be correct.
A couple more things to come.
Thanks
Martins
From fche@redhat.com Thu Dec 4 17:11:15 2014
Return-Path:
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on oss.sgi.com
X-Spam-Level:
X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=ham
version=3.3.1
X-Original-To: pcp@oss.sgi.com
Delivered-To: pcp@oss.sgi.com
Received: from relay.sgi.com (relay2.corp.sgi.com [137.38.102.29])
by oss.sgi.com (Postfix) with ESMTP id 1EFC67F3F
for ; Thu, 4 Dec 2014 17:11:15 -0600 (CST)
Received: from cuda.sgi.com (cuda3.sgi.com [192.48.176.15])
by relay2.corp.sgi.com (Postfix) with ESMTP id 0E3C5304066
for ; Thu, 4 Dec 2014 15:11:11 -0800 (PST)
X-ASG-Debug-ID: 1417734667-04cb6c05701037fa0001-S8gJnT
Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by cuda.sgi.com with ESMTP id EvGdmlQF7UFNh0FS (version=TLSv1 cipher=AES256-SHA bits=256 verify=NO) for ; Thu, 04 Dec 2014 15:11:08 -0800 (PST)
X-Barracuda-Envelope-From: fche@redhat.com
X-Barracuda-Apparent-Source-IP: 209.132.183.28
X-ASG-Whitelist: Client
Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22])
by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id sB4NB40h017981
(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL);
Thu, 4 Dec 2014 18:11:04 -0500
Received: from fche.csb (vpn-238-111.phx2.redhat.com [10.3.238.111])
by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id sB4NB4k6014465;
Thu, 4 Dec 2014 18:11:04 -0500
Received: by fche.csb (Postfix, from userid 2569)
id 83B0C5850B; Thu, 4 Dec 2014 18:11:03 -0500 (EST)
To: Michele Baldessari
Cc: pcp@oss.sgi.com
Subject: Re: %ifutil
References: <20141203215721.GA6448@marquez.int.rhx>
X-ASG-Orig-Subj: Re: %ifutil
From: fche@redhat.com (Frank Ch. Eigler)
Date: Thu, 04 Dec 2014 18:11:03 -0500
In-Reply-To: <20141203215721.GA6448@marquez.int.rhx> (Michele Baldessari's message of "Wed, 3 Dec 2014 22:57:21 +0100")
Message-ID:
User-Agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.4 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Scanned-By: MIMEDefang 2.68 on 10.5.11.22
X-Barracuda-Connect: mx1.redhat.com[209.132.183.28]
X-Barracuda-Start-Time: 1417734667
X-Barracuda-Encrypted: AES256-SHA
X-Barracuda-URL: http://192.48.176.15:80/cgi-mod/mark.cgi
X-Virus-Scanned: by bsmtpd at sgi.com
X-Barracuda-BRTS-Status: 1
michele wrote:
> I am slowly working on replacing all our internal scripts to collect network
> statistics. One value that sar gives out is %ifutil, which is defined as
> follows:
> """
> Utilization percentage of the network interface. For half-duplex interfaces,
> utilization is calculated using the sum of rxkB/s and txkB/s as a percentage
> of the interface speed. For full-duplex, this is the greater of rxkB/S or
> txkB/s.
> """
See also the derived-metrics rate() function added in commit
#13bb3654550. It may be possible to express as a derived-metric that
uses an arithmetic function of network.interface.duplex (1 or 2) as a
multplier to plop together the network.interface.*.bytes values.
- FChE
From fche@redhat.com Thu Dec 4 21:47:58 2014
Return-Path:
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on oss.sgi.com
X-Spam-Level:
X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=ham
version=3.3.1
X-Original-To: pcp@oss.sgi.com
Delivered-To: pcp@oss.sgi.com
Received: from relay.sgi.com (relay1.corp.sgi.com [137.38.102.111])
by oss.sgi.com (Postfix) with ESMTP id 865BD7F3F
for ; Thu, 4 Dec 2014 21:47:58 -0600 (CST)
Received: from cuda.sgi.com (cuda1.sgi.com [192.48.157.11])
by relay1.corp.sgi.com (Postfix) with ESMTP id 640808F8050
for ; Thu, 4 Dec 2014 19:47:58 -0800 (PST)
X-ASG-Debug-ID: 1417751276-04bdf0615e1263240001-S8gJnT
Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by cuda.sgi.com with ESMTP id OFTfGbJw0zofqVCD (version=TLSv1 cipher=AES256-SHA bits=256 verify=NO) for ; Thu, 04 Dec 2014 19:47:57 -0800 (PST)
X-Barracuda-Envelope-From: fche@redhat.com
X-Barracuda-Apparent-Source-IP: 209.132.183.28
X-ASG-Whitelist: Client
Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22])
by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id sB53luoB024831
(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL)
for ; Thu, 4 Dec 2014 22:47:56 -0500
Received: from fche.csb (vpn-238-111.phx2.redhat.com [10.3.238.111])
by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id sB53ltFw019695
for ; Thu, 4 Dec 2014 22:47:56 -0500
Received: by fche.csb (Postfix, from userid 2569)
id 6720E5850B; Thu, 4 Dec 2014 22:47:55 -0500 (EST)
Date: Thu, 4 Dec 2014 22:47:55 -0500
From: "Frank Ch. Eigler"
To: pcp developers
Subject: pcp update: rhel5 pmwebd build fixes
Message-ID: <20141205034755.GY5088@redhat.com>
X-ASG-Orig-Subj: pcp update: rhel5 pmwebd build fixes
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.4.2.2i
X-Scanned-By: MIMEDefang 2.68 on 10.5.11.22
X-Barracuda-Connect: mx1.redhat.com[209.132.183.28]
X-Barracuda-Start-Time: 1417751277
X-Barracuda-Encrypted: AES256-SHA
X-Barracuda-URL: http://192.48.157.11:80/cgi-mod/mark.cgi
X-Virus-Scanned: by bsmtpd at sgi.com
X-Barracuda-BRTS-Status: 1
Hi -
Get your fresh steaming fixes for RHBZ1169226.
commit 8d59188ce9ab95dbb18adf1276e0cb589716e8c3 (pcpfans.git, fche/dev)
Author: Frank Ch. Eigler
Date: Thu Dec 4 21:44:48 2014 -0500
pmwebd build fixes for RHEL5
Needed some casting/declaration tweaks for compatibility with both
older and newer gcc/g++ (checked on 4.1.2 and 4.8.3), and with older
glibc. Also, need to propagate cairo cflags from pkg-config, because
some intra-cairo include's require -I/usr/include/cairo. Full
pmwebd/graphite/etc. goodness seen on RHEL5 32-bit VM.
From nscott@redhat.com Thu Dec 4 23:33:55 2014
Return-Path:
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on oss.sgi.com
X-Spam-Level:
X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=ham
version=3.3.1
X-Original-To: pcp@oss.sgi.com
Delivered-To: pcp@oss.sgi.com
Received: from relay.sgi.com (relay3.corp.sgi.com [198.149.34.15])
by oss.sgi.com (Postfix) with ESMTP id 0CABD7F3F
for ; Thu, 4 Dec 2014 23:33:55 -0600 (CST)
Received: from cuda.sgi.com (cuda3.sgi.com [192.48.176.15])
by relay3.corp.sgi.com (Postfix) with ESMTP id 9056BAC008
for ; Thu, 4 Dec 2014 21:33:51 -0800 (PST)
X-ASG-Debug-ID: 1417757626-04cb6c057010a4260001-S8gJnT
Received: from mx4-phx2.redhat.com (mx4-phx2.redhat.com [209.132.183.25]) by cuda.sgi.com with ESMTP id zFxX6BL6CPM1yi8e (version=TLSv1 cipher=AES256-SHA bits=256 verify=NO) for ; Thu, 04 Dec 2014 21:33:46 -0800 (PST)
X-Barracuda-Envelope-From: nscott@redhat.com
X-Barracuda-Apparent-Source-IP: 209.132.183.25
Received: from zmail20.collab.prod.int.phx2.redhat.com (zmail20.collab.prod.int.phx2.redhat.com [10.5.83.23])
by mx4-phx2.redhat.com (8.13.8/8.13.8) with ESMTP id sB55XjYA004037;
Fri, 5 Dec 2014 00:33:45 -0500
Date: Fri, 5 Dec 2014 00:33:45 -0500 (EST)
From: Nathan Scott
Reply-To: Nathan Scott
To: David Smith
Cc: pcp
Message-ID: <1202056502.11133381.1417757625812.JavaMail.zimbra@redhat.com>
In-Reply-To: <5480D6E5.30802@redhat.com>
References: <54512E80.9090302@redhat.com> <546A7EDD.9000009@redhat.com> <134603578.1719924.1416389380267.JavaMail.zimbra@redhat.com> <546FB61C.2090103@redhat.com> <1332365833.3983034.1416785912055.JavaMail.zimbra@redhat.com> <5473B52D.2030004@redhat.com> <5474E795.7010302@redhat.com> <5480D6E5.30802@redhat.com>
Subject: Re: [pcp] [RFC] pcp python patch
MIME-Version: 1.0
X-ASG-Orig-Subj: Re: [pcp] [RFC] pcp python patch
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
X-Originating-IP: [10.5.82.11]
X-Mailer: Zimbra 8.0.6_GA_5922 (ZimbraWebClient - FF17 (Linux)/8.0.6_GA_5922)
Thread-Topic: pcp python patch
Thread-Index: XxiZsCsEzAZDG7r0aF29ovkn2zz4VQ==
X-Barracuda-Connect: mx4-phx2.redhat.com[209.132.183.25]
X-Barracuda-Start-Time: 1417757626
X-Barracuda-Encrypted: AES256-SHA
X-Barracuda-URL: http://192.48.176.15:80/cgi-mod/mark.cgi
X-Virus-Scanned: by bsmtpd at sgi.com
X-Barracuda-BRTS-Status: 1
X-Barracuda-Spam-Score: 0.03
X-Barracuda-Spam-Status: No, SCORE=0.03 using per-user scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.7 tests=BSF_SC0_SA_TO_FROM_DOMAIN_MATCH, THREAD_INDEX, THREAD_TOPIC
X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.3.12462
Rule breakdown below
pts rule name description
---- ---------------------- --------------------------------------------------
0.01 THREAD_INDEX thread-index: AcO7Y8iR61tzADqsRmmc5wNiFHEOig==
0.01 THREAD_TOPIC Thread-Topic: ...(Japanese Subject)...
0.01 BSF_SC0_SA_TO_FROM_DOMAIN_MATCH Sender Domain Matches Recipient
Domain
Hi David,
----- Original Message -----
> On 11/25/2014 02:33 PM, David Smith wrote:
> > On 11/24/2014 04:46 PM, David Smith wrote:
> >> On 11/23/2014 05:38 PM, Nathan Scott wrote:
> >>> Hi David,
>
> ... stuff deleted ...
>
> >>> Odd. Only thing I can think of is a python version difference - I'm
> >>> using RHEL6 on my primary test machine, which has a relatively old
> >>> python version. I'll have another go and look more deeply into the
> >>> failures.
> >>
> >> Hmm, I'll try running this code on RHEL6 (instead of F20) and see what I
> >> get.
> >
> > I'm seeing failures on RHEL6 also, digging into it now.
>
> Fixed in commit de90566 in the dsmith/dev branch of pcpfans.git. The
> ctypes.Structure class on python 2.6 only supported the older python
> buffer interface. The code handles both the older and newer buffer
> interfaces now.
Good stuff! Could you make a clean branch (maybe even a rebase and
just one/two logical commits) to pull from? I had a quick look and
got some conflicts on src/pmns/stdpmns.pcp - I think there's all of
your other WIP code (json) in dsmith/dev too still, isn't there?
I'd be happy pulling this initial PMDA wrapper work in now, with the
assumption that there'll be a PMDA & tests following that exercises
that new API. And we're early in the release cycle, so it's a good
time to merge this now.
cheers.
--
Nathan
From nscott@redhat.com Fri Dec 5 00:44:41 2014
Return-Path:
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on oss.sgi.com
X-Spam-Level:
X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=ham
version=3.3.1
X-Original-To: pcp@oss.sgi.com
Delivered-To: pcp@oss.sgi.com
Received: from relay.sgi.com (relay1.corp.sgi.com [137.38.102.111])
by oss.sgi.com (Postfix) with ESMTP id C03BC7F3F
for ; Fri, 5 Dec 2014 00:44:41 -0600 (CST)
Received: from cuda.sgi.com (cuda1.sgi.com [192.48.157.11])
by relay1.corp.sgi.com (Postfix) with ESMTP id A0B878F8052
for ; Thu, 4 Dec 2014 22:44:38 -0800 (PST)
X-ASG-Debug-ID: 1417761874-04bdf0615f130d500001-S8gJnT
Received: from mx5-phx2.redhat.com (mx5-phx2.redhat.com [209.132.183.37]) by cuda.sgi.com with ESMTP id WPaCOr2n4hEmMUe7 (version=TLSv1 cipher=AES256-SHA bits=256 verify=NO) for ; Thu, 04 Dec 2014 22:44:35 -0800 (PST)
X-Barracuda-Envelope-From: nscott@redhat.com
X-Barracuda-Apparent-Source-IP: 209.132.183.37
Received: from zmail20.collab.prod.int.phx2.redhat.com (zmail20.collab.prod.int.phx2.redhat.com [10.5.83.23])
by mx5-phx2.redhat.com (8.14.4/8.14.4) with ESMTP id sB56iYod021461
for ; Fri, 5 Dec 2014 01:44:34 -0500
Date: Fri, 5 Dec 2014 01:44:34 -0500 (EST)
From: Nathan Scott
Reply-To: Nathan Scott
To: pcp
Message-ID: <1607919892.11142888.1417761874510.JavaMail.zimbra@redhat.com>
Subject: pcp updates: merges, fixes, qa
MIME-Version: 1.0
X-ASG-Orig-Subj: pcp updates: merges, fixes, qa
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
X-Originating-IP: [10.5.82.11]
X-Mailer: Zimbra 8.0.6_GA_5922 (ZimbraWebClient - FF17 (Linux)/8.0.6_GA_5922)
Thread-Topic: pcp updates: merges, fixes, qa
Thread-Index: bP/TDndQoK1Xk/p1PAYtNQdc4/nX3A==
X-Barracuda-Connect: mx5-phx2.redhat.com[209.132.183.37]
X-Barracuda-Start-Time: 1417761875
X-Barracuda-Encrypted: AES256-SHA
X-Barracuda-URL: http://192.48.157.11:80/cgi-mod/mark.cgi
X-Virus-Scanned: by bsmtpd at sgi.com
X-Barracuda-BRTS-Status: 1
X-Barracuda-Spam-Score: 0.02
X-Barracuda-Spam-Status: No, SCORE=0.02 using per-user scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.7 tests=THREAD_INDEX, THREAD_TOPIC
X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.3.12465
Rule breakdown below
pts rule name description
---- ---------------------- --------------------------------------------------
0.01 THREAD_INDEX thread-index: AcO7Y8iR61tzADqsRmmc5wNiFHEOig==
0.01 THREAD_TOPIC Thread-Topic: ...(Japanese Subject)...
Changes committed to git://git.pcp.io/pcp.git dev
Frank Ch. Eigler (1):
pmwebd build fixes for RHEL5
Martins Innus (1):
Flip the order for the all access check in linux_proc
Nathan Scott (1):
perl pmdas: fix inst-handling edge case and pmda_inst_name
qa/758 | 46 +++++++++++++
qa/758.out | 72 +++++++++++++++++++++
qa/group | 1
qa/pmdas/GNUmakefile | 6 -
qa/pmdas/slow_python/GNUmakefile | 5 -
qa/pmdas/test_perl/.gitignore | 2
qa/pmdas/test_perl/GNUmakefile | 33 +++++++++
qa/pmdas/test_perl/GNUmakefile.install | 5 +
qa/pmdas/test_perl/Install | 27 ++++++++
qa/pmdas/test_perl/Remove | 24 +++++++
qa/pmdas/test_perl/pmdatest_perl.pl | 111 +++++++++++++++++++++++++++++++++
src/include/builddefs.in | 1
src/perl/PMDA/PMDA.xs | 40 ++++++-----
src/pmdas/linux_proc/pmda.c | 12 +--
src/pmwebapi/GNUmakefile | 2
src/pmwebapi/pmgraphite.cxx | 6 -
src/pmwebapi/pmresapi.cxx | 4 -
src/pmwebapi/pmwebapi.h | 2
18 files changed, 361 insertions(+), 38 deletions(-)
From mgoodwin@redhat.com Fri Dec 5 02:35:34 2014
Return-Path:
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on oss.sgi.com
X-Spam-Level:
X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=ham
version=3.3.1
X-Original-To: pcp@oss.sgi.com
Delivered-To: pcp@oss.sgi.com
Received: from relay.sgi.com (relay2.corp.sgi.com [137.38.102.29])
by oss.sgi.com (Postfix) with ESMTP id C2B0F7F3F
for ; Fri, 5 Dec 2014 02:35:34 -0600 (CST)
Received: from cuda.sgi.com (cuda3.sgi.com [192.48.176.15])
by relay2.corp.sgi.com (Postfix) with ESMTP id B00D1304066
for ; Fri, 5 Dec 2014 00:35:31 -0800 (PST)
X-ASG-Debug-ID: 1417768526-04cb6c057110bfe20001-S8gJnT
Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by cuda.sgi.com with ESMTP id rigwwETr8MeBsi0W (version=TLSv1 cipher=AES256-SHA bits=256 verify=NO) for ; Fri, 05 Dec 2014 00:35:27 -0800 (PST)
X-Barracuda-Envelope-From: mgoodwin@redhat.com
X-Barracuda-Apparent-Source-IP: 209.132.183.28
X-ASG-Whitelist: Client
Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24])
by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id sB58ZQ4H011720
(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL)
for ; Fri, 5 Dec 2014 03:35:26 -0500
Received: from [10.64.49.230] (vpn1-49-230.bne.redhat.com [10.64.49.230])
by int-mx11.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id sB58ZPk3010062
for ; Fri, 5 Dec 2014 03:35:25 -0500
Message-ID: <54816E4C.1000203@redhat.com>
Date: Fri, 05 Dec 2014 19:35:24 +1100
From: Mark Goodwin
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0
MIME-Version: 1.0
To: pcp@oss.sgi.com
Subject: pcp updates: fix hinv.map.scsi buffer overrun and indom persistence
issues
Content-Type: text/plain; charset=windows-1252; format=flowed
X-ASG-Orig-Subj: pcp updates: fix hinv.map.scsi buffer overrun and indom persistence
issues
Content-Transfer-Encoding: 7bit
X-Scanned-By: MIMEDefang 2.68 on 10.5.11.24
X-Barracuda-Connect: mx1.redhat.com[209.132.183.28]
X-Barracuda-Start-Time: 1417768527
X-Barracuda-Encrypted: AES256-SHA
X-Barracuda-URL: http://192.48.176.15:80/cgi-mod/mark.cgi
X-Virus-Scanned: by bsmtpd at sgi.com
X-Barracuda-BRTS-Status: 1
Sorry haven't had time to write QA for this yet - I'll do that when
I get back (10 days away). I've manually tested it with scsi_debug
with more than 2000 scsi devices, and assorted random hotplug/unplugging,
but only on RHEL7 so far.
Changes committed to git://git.performancecopilot.org/markgw/pcp/pcp.git dev
commit 738a3948c6439c2f76b1eca01e82fa7770216a03
Author: Mark Goodwin
Date: Fri Dec 5 19:26:32 2014 +1100
Remove support for devfs device names - replaced by udev.
modified: src/pmdas/linux/proc_partitions.c
modified: src/pmdas/linux/proc_scsi.c
commit 4f3e4f2c37960e88a80185cb12af0fd1e1f3fd37
Author: Mark Goodwin
Date: Fri Dec 5 19:27:48 2014 +1100
Rework hinv.map.scsi for longer scsi device names and indom persistence.
The scsi device map instance domain for hinv.map.scsi was originally written
before scsi hotplug/unplug was widely supported, and (worse) didn't handle
sd device names beyond sdz, causing buffer overruns. This update converts it
to use the pmdaCache API for persistence and with arbitrary dynamic instance
domain updates (both hotplug and unplug), and with any number of scsi devices.
modified: src/pmdas/linux/pmda.c
modified: src/pmdas/linux/proc_scsi.c
modified: src/pmdas/linux/proc_scsi.h
From wwwrun@oss.sgi.com Fri Dec 5 08:47:50 2014
Return-Path:
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on oss.sgi.com
X-Spam-Level:
X-Spam-Status: No, score=0.0 required=5.0 tests=HTML_MESSAGE,NO_RELAYS
autolearn=ham version=3.3.1
X-Original-To: pcp@oss.sgi.com
Delivered-To: pcp@oss.sgi.com
Received: by oss.sgi.com (Postfix, from userid 30)
id CC18B7F4E; Fri, 5 Dec 2014 08:47:50 -0600 (CST)
From: bugzilla-daemon@oss.sgi.com
To: pcp@oss.sgi.com
Subject: [Bug 1095] New: pkgconfig .pc file for pcp-libs
Date: Fri, 05 Dec 2014 14:47:50 +0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Classification: Unclassified
X-Bugzilla-Product: pcp
X-Bugzilla-Component: pcp
X-Bugzilla-Keywords:
X-Bugzilla-Severity: major
X-Bugzilla-Who: fche@redhat.com
X-Bugzilla-Status: NEW
X-Bugzilla-Priority: P5
X-Bugzilla-Assigned-To: pcp@kenj.com.au
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform
op_sys bug_status bug_severity priority component assigned_to reporter cc
classification
Message-ID:
Content-Type: multipart/alternative; boundary="1417790870.D7fd2b1.796"; charset="us-ascii"
X-Bugzilla-URL: http://oss.sgi.com/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
--1417790870.D7fd2b1.796
Date: Fri, 5 Dec 2014 08:47:50 -0600
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
http://oss.sgi.com/bugzilla/show_bug.cgi?id=1095
Bug ID: 1095
Summary: pkgconfig .pc file for pcp-libs
Product: pcp
Version: unspecified
Hardware: All
OS: Linux
Status: NEW
Severity: major
Priority: P5
Component: pcp
Assignee: pcp@kenj.com.au
Reporter: fche@redhat.com
CC: pcp@oss.sgi.com
Classification: Unclassified
To ease conditional pcp clients' autoconf duties, we should
include a pkg-config .pc file in pcp-libs-devel.
http://people.freedesktop.org/~dbn/pkg-config-guide.html
--
You are receiving this mail because:
You are on the CC list for the bug.
--1417790870.D7fd2b1.796
Date: Fri, 5 Dec 2014 08:47:50 -0600
MIME-Version: 1.0
Content-Type: text/html; charset="UTF-8"
| Bug ID |
1095
|
| Summary |
pkgconfig .pc file for pcp-libs
|
| Product |
pcp
|
| Version |
unspecified
|
| Hardware |
All
|
| OS |
Linux
|
| Status |
NEW
|
| Severity |
major
|
| Priority |
P5
|
| Component |
pcp
|
| Assignee |
pcp@kenj.com.au
|
| Reporter |
fche@redhat.com
|
| CC |
pcp@oss.sgi.com
|
| Classification |
Unclassified
|
You are receiving this mail because:
- You are on the CC list for the bug.
--1417790870.D7fd2b1.796--
From fche@redhat.com Fri Dec 5 09:14:48 2014
Return-Path:
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on oss.sgi.com
X-Spam-Level:
X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=ham
version=3.3.1
X-Original-To: pcp@oss.sgi.com
Delivered-To: pcp@oss.sgi.com
Received: from relay.sgi.com (relay1.corp.sgi.com [137.38.102.111])
by oss.sgi.com (Postfix) with ESMTP id D55B17F3F
for ; Fri, 5 Dec 2014 09:14:48 -0600 (CST)
Received: from cuda.sgi.com (cuda2.sgi.com [192.48.176.25])
by relay1.corp.sgi.com (Postfix) with ESMTP id C4EAA8F804B
for ; Fri, 5 Dec 2014 07:14:45 -0800 (PST)
X-ASG-Debug-ID: 1417792481-04cbb0106b291360001-S8gJnT
Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by cuda.sgi.com with ESMTP id WT92dlYkulGJuE0J (version=TLSv1 cipher=AES256-SHA bits=256 verify=NO) for ; Fri, 05 Dec 2014 07:14:41 -0800 (PST)
X-Barracuda-Envelope-From: fche@redhat.com
X-Barracuda-Apparent-Source-IP: 209.132.183.28
X-ASG-Whitelist: Client
Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23])
by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id sB5FEdIW011683
(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL);
Fri, 5 Dec 2014 10:14:39 -0500
Received: from fche.csb (vpn-238-111.phx2.redhat.com [10.3.238.111])
by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id sB5FEcWK012209;
Fri, 5 Dec 2014 10:14:39 -0500
Received: by fche.csb (Postfix, from userid 2569)
id 2B7CA5850B; Fri, 5 Dec 2014 10:14:37 -0500 (EST)
Date: Fri, 5 Dec 2014 10:14:37 -0500
From: "Frank Ch. Eigler"
To: Chandana De Silva
Cc: pcp@oss.sgi.com
Subject: Re: pmwebd: Defining the directory for PCP Archives
Message-ID: <20141205151437.GD5088@redhat.com>
X-ASG-Orig-Subj: Re: pmwebd: Defining the directory for PCP Archives
References: <1417459116.12396.15.camel@tardis> <1417499687.17867.23.camel@tardis> <20141202121245.GP5088@redhat.com> <1417556631.941.12.camel@tardis> <20141202230914.GQ5088@redhat.com> <1417647290.948.20.camel@tardis>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <1417647290.948.20.camel@tardis>
User-Agent: Mutt/1.4.2.2i
X-Scanned-By: MIMEDefang 2.68 on 10.5.11.23
X-Barracuda-Connect: mx1.redhat.com[209.132.183.28]
X-Barracuda-Start-Time: 1417792481
X-Barracuda-Encrypted: AES256-SHA
X-Barracuda-URL: http://192.48.176.25:80/cgi-mod/mark.cgi
X-Virus-Scanned: by bsmtpd at sgi.com
X-Barracuda-BRTS-Status: 1
Hi, Chandana -
On Thu, Dec 04, 2014 at 09:54:50AM +1100, Chandana De Silva wrote:
> [...]
> Added verbosity, and tried :
> [Wed Dec 3 22:50:09] pmwebd(17772): [10.17.1.18:55220] HTTP/1.1 GET /graphite/render/ _salt=1417647009.812 height=308 target=-2F-var-2F-logdata-2F-pmlogger-2F-archdb1-2E-prd-2E-mel-2F-20141118-2E-meta.disk.all.avactive width=586
> [Wed Dec 3 22:50:09] pmwebd(17772): [10.17.1.18:55220] Searching for archives under /var/logdata/pmlogger/
> [Wed Dec 3 22:50:09] pmwebd(17772): [10.17.1.18:55220] enumerated 1 metrics
> [Wed Dec 3 22:50:09] pmwebd(17772): [10.17.1.18:55220] digested 1 metrics, timespan [1417560609-1417647009 by 85], in 15.574ms
> [Wed Dec 3 22:50:16] pmwebd(17772): [10.17.1.18:55220] HTTP/1.1 GET /graphite/render/ _salt=1417647016.797 height=308 width=586
> [Wed Dec 3 22:50:16] pmwebd(17772): [10.17.1.18:55220] digested 0 metrics, timespan [1417560616-1417647016 by 85], in 0.002ms
It looks like two separate render requests came into pmwebd within a
few seconds, with the latter requesting no targets (metrics). Maybe
you clicked twice on the graphite metric-tree browser, toggling the
metric on then back off?
- FChE
From wwwrun@oss.sgi.com Fri Dec 5 09:52:59 2014
Return-Path:
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on oss.sgi.com
X-Spam-Level:
X-Spam-Status: No, score=0.0 required=5.0 tests=HTML_MESSAGE,NO_RELAYS
autolearn=ham version=3.3.1
X-Original-To: pcp@oss.sgi.com
Delivered-To: pcp@oss.sgi.com
Received: by oss.sgi.com (Postfix, from userid 30)
id 286ED7F4E; Fri, 5 Dec 2014 09:52:59 -0600 (CST)
From: bugzilla-daemon@oss.sgi.com
To: pcp@oss.sgi.com
Subject: [Bug 1096] New: richer systemd support
Date: Fri, 05 Dec 2014 15:52:58 +0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Classification: Unclassified
X-Bugzilla-Product: pcp
X-Bugzilla-Component: pcp
X-Bugzilla-Keywords:
X-Bugzilla-Severity: major
X-Bugzilla-Who: fche@redhat.com
X-Bugzilla-Status: NEW
X-Bugzilla-Priority: P5
X-Bugzilla-Assigned-To: pcp@kenj.com.au
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform
op_sys bug_status bug_severity priority component assigned_to reporter cc
classification
Message-ID:
Content-Type: multipart/alternative; boundary="1417794779.A0a88E1.8478"; charset="us-ascii"
X-Bugzilla-URL: http://oss.sgi.com/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
--1417794779.A0a88E1.8478
Date: Fri, 5 Dec 2014 09:52:59 -0600
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
http://oss.sgi.com/bugzilla/show_bug.cgi?id=1096
Bug ID: 1096
Summary: richer systemd support
Product: pcp
Version: unspecified
Hardware: All
OS: Linux
Status: NEW
Severity: major
Priority: P5
Component: pcp
Assignee: pcp@kenj.com.au
Reporter: fche@redhat.com
CC: pcp@oss.sgi.com
Classification: Unclassified
Building on the basic oneshot/ExecStart level of systemd support,
we could go a little farther. For example:
- have the daemons use stderr/syslog to record trace output into the journal
- invoke the daemons directly rather than through the sysvinit scripts
- use systemd timer units instead of cron jobs
- use unit templates for hard-configured multi-instance daemons (pmlogger,
pmie)
- socket activation for pmcd, pmproxy, pmwebd
- add extras like Restart=restart-always for key daemons
--
You are receiving this mail because:
You are on the CC list for the bug.
--1417794779.A0a88E1.8478
Date: Fri, 5 Dec 2014 09:52:59 -0600
MIME-Version: 1.0
Content-Type: text/html; charset="UTF-8"
| Bug ID |
1096
|
| Summary |
richer systemd support
|
| Product |
pcp
|
| Version |
unspecified
|
| Hardware |
All
|
| OS |
Linux
|
| Status |
NEW
|
| Severity |
major
|
| Priority |
P5
|
| Component |
pcp
|
| Assignee |
pcp@kenj.com.au
|
| Reporter |
fche@redhat.com
|
| CC |
pcp@oss.sgi.com
|
| Classification |
Unclassified
|
Building on the basic oneshot/ExecStart level of systemd support,
we could go a little farther. For example:
- have the daemons use stderr/syslog to record trace output into the journal
- invoke the daemons directly rather than through the sysvinit scripts
- use systemd timer units instead of cron jobs
- use unit templates for hard-configured multi-instance daemons (pmlogger,
pmie)
- socket activation for pmcd, pmproxy, pmwebd
- add extras like Restart=restart-always for key daemons
You are receiving this mail because:
- You are on the CC list for the bug.
--1417794779.A0a88E1.8478--
From minnus@buffalo.edu Fri Dec 5 11:01:22 2014
Return-Path:
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on oss.sgi.com
X-Spam-Level:
X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=ham
version=3.3.1
X-Original-To: pcp@oss.sgi.com
Delivered-To: pcp@oss.sgi.com
Received: from relay.sgi.com (relay3.corp.sgi.com [198.149.34.15])
by oss.sgi.com (Postfix) with ESMTP id DC4C67F3F
for ; Fri, 5 Dec 2014 11:01:21 -0600 (CST)
Received: from cuda.sgi.com (cuda3.sgi.com [192.48.176.15])
by relay3.corp.sgi.com (Postfix) with ESMTP id 595C8AC006
for ; Fri, 5 Dec 2014 09:01:18 -0800 (PST)
X-ASG-Debug-ID: 1417798873-04cb6c05701160ae0001-S8gJnT
Received: from mtareserve1.acsu.buffalo.edu (mtareserve7.acsu.buffalo.edu [128.205.6.7]) by cuda.sgi.com with ESMTP id wBDBIDTmXUZWRWWv for ; Fri, 05 Dec 2014 09:01:13 -0800 (PST)
X-Barracuda-Envelope-From: minnus@buffalo.edu
X-Barracuda-Apparent-Source-IP: 128.205.6.7
Received: from localmailC.acsu.buffalo.edu (localmailc.acsu.buffalo.edu [128.205.5.204])
by mtareserve1.acsu.buffalo.edu (Postfix) with ESMTP id 55D8D17A
for ; Fri, 5 Dec 2014 12:01:13 -0500 (EST)
Received: from localmailC.acsu.buffalo.edu (localhost [127.0.0.1])
by localhost (Postfix) with SMTP id 519065D3F
for ; Fri, 5 Dec 2014 12:01:13 -0500 (EST)
Received: from localmailC.acsu.buffalo.edu (localhost [127.0.0.1])
by localmailC.acsu.buffalo.edu (Postfix) with ESMTP id 568125D34
for ; Fri, 5 Dec 2014 12:01:12 -0500 (EST)
Received: from smtp.buffalo.edu (smtp2.acsu.buffalo.edu [128.205.5.254])
by localmailC.acsu.buffalo.edu (Prefixe) with ESMTP id 3FE9F5D20
for ; Fri, 5 Dec 2014 12:01:12 -0500 (EST)
Received: from prince.ccr.buffalo.edu (prince.ccr.buffalo.edu [128.205.40.45])
(Authenticated sender: minnus@buffalo.edu)
by smtp.buffalo.edu (Postfix) with ESMTPSA id 2A0A92DD5
for ; Fri, 5 Dec 2014 12:01:12 -0500 (EST)
Message-ID: <5481E4D7.8050700@buffalo.edu>
Date: Fri, 05 Dec 2014 12:01:11 -0500
From: Martins Innus
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:31.0) Gecko/20100101 Thunderbird/31.2.0
MIME-Version: 1.0
To: pcp@oss.sgi.com
Subject: Dynamic metric rework
Content-Type: text/plain; charset=utf-8; format=flowed
X-ASG-Orig-Subj: Dynamic metric rework
Content-Transfer-Encoding: 7bit
X-PM-EL-Spam-Prob: : 8%
X-Barracuda-Connect: mtareserve7.acsu.buffalo.edu[128.205.6.7]
X-Barracuda-Start-Time: 1417798873
X-Barracuda-URL: http://192.48.176.15:80/cgi-mod/mark.cgi
X-Virus-Scanned: by bsmtpd at sgi.com
X-Barracuda-BRTS-Status: 1
X-Barracuda-Spam-Score: 0.00
X-Barracuda-Spam-Status: No, SCORE=0.00 using per-user scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.7 tests=
X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.3.12482
Rule breakdown below
pts rule name description
---- ---------------------- --------------------------------------------------
Hello,
Here is a proposed rework of the way dynamic.c delegates
responsibility for handling a dynamic tree. From:
https://github.com/ubccr/pcp/tree/martins_working
commit 50ac6b858e94759123523017330da270c1517122
Author: Martins Innus
Date: Fri Dec 5 11:21:54 2014 -0500
Rework dynamic metric support
Force the check that determines if a metric should be handled by a
certain dynamic tree to traverse the pmns instead of just checking the
cluster
This allows 2 things:
-clusters to be shared between dynamic trees
-does not require related trees to have a common prefix
This requires that the dynamic hash be valid at initailization time
All pmdas that use dynamic metrics must now call pmdaTreeRebuildHash
This was previously required only of daemen pmdas. For dso pmdas,
some sort of auto rebuild was occurring
Now this is also required for dso pmdas
Added fixes for the linux interrupts and gfs2 pmdas, although I
have no way to test the gfs2 pmda
src/include/pcp/pmda.h | 2 +
src/libpcp_pmda/src/dynamic.c | 108
++++++++++++++++++++++++++--------------
src/libpcp_pmda/src/tree.c | 2 +-
src/pmdas/gfs2/sbstats.c | 1 +
src/pmdas/gfs2/worst_glock.c | 1 +
src/pmdas/linux/interrupts.c | 1 +
6 files changed, 76 insertions(+), 39 deletions(-)
Previously, the delegation had 2 requirements: The metric must (1) fall
in the tree prefix and (2) be in the cluster list provided to
pmdaDynamicPMNS. This prevented the same logic from handling related
trees that differed in prefix (the hotproc.foo / proc.foo case ). Also,
if a cluster spanned more than one sub-tree, only the first would be called.
In this reworked case, every check for handling a metric is checked
against the generated pmns tree. I believe this should be safe,
because as far as I can tell, the pmns must be setup before the metrics
are created.
This allows the call to pmdaDynamicPMNS to be simplified. No check
against a prefix or cluster is required. I didn't change the function
call so as not to break existing code. After this change, the prefix is
only used to lookup the cluster mask if it is provided. I think the old
cgroup pmda was the only user of the mask. Is this something that is
still work keeping? If not, both the prefix and cluster parameters
could be removed.
To do this, I had to expose an internal function in tree.c. Not sure if
this is appropriate.
Also, it wasn't clear to me if, overall, this would cause any
performance problems.
This change also exposed an inconsistancy I had previously noticed. DSO
pmdas were not required to call pmdaTreeRebuildHash while daemon pmdas
were. Now this call is required for both cases. I assume that whatever
fixup was occurring for the dso case is now not occurring early enough.
I looked through existing pmdas and added the call to linux and gfs2,
though I have no way to test gfs2.
./check -g pmda.linux
./check -g pmda.proc
both Pass. I looked at the sample pmda and I think that it uses a
different dynamic method that should not be affected. I have not fully
understood the new cgroups code yet, but I think that it should not be
affected if I read it properly. Let me know if there would be any issue
there.
Let me know if there are any problems with this approach.
Thanks!
Martins
From minnus@buffalo.edu Fri Dec 5 13:51:27 2014
Return-Path:
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on oss.sgi.com
X-Spam-Level:
X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=ham
version=3.3.1
X-Original-To: pcp@oss.sgi.com
Delivered-To: pcp@oss.sgi.com
Received: from relay.sgi.com (relay2.corp.sgi.com [137.38.102.29])
by oss.sgi.com (Postfix) with ESMTP id F1CBC7F3F
for ; Fri, 5 Dec 2014 13:51:27 -0600 (CST)
Received: from cuda.sgi.com (cuda3.sgi.com [192.48.176.15])
by relay2.corp.sgi.com (Postfix) with ESMTP id D2EAE304071
for ; Fri, 5 Dec 2014 11:51:27 -0800 (PST)
X-ASG-Debug-ID: 1417809083-04cb6c05731187c50001-S8gJnT
Received: from mtareserve1.acsu.buffalo.edu (mtareserve7.acsu.buffalo.edu [128.205.6.7]) by cuda.sgi.com with ESMTP id SBhkwAxDqS0FdlXE for ; Fri, 05 Dec 2014 11:51:23 -0800 (PST)
X-Barracuda-Envelope-From: minnus@buffalo.edu
X-Barracuda-Apparent-Source-IP: 128.205.6.7
Received: from localmailC.acsu.buffalo.edu (localmailc.acsu.buffalo.edu [128.205.5.204])
by mtareserve1.acsu.buffalo.edu (Postfix) with ESMTP id AE18DF5B
for ; Fri, 5 Dec 2014 14:51:23 -0500 (EST)
Received: from localmailC.acsu.buffalo.edu (localhost [127.0.0.1])
by localhost (Postfix) with SMTP id A918FD128
for ; Fri, 5 Dec 2014 14:51:23 -0500 (EST)
Received: from localmailC.acsu.buffalo.edu (localhost [127.0.0.1])
by localmailC.acsu.buffalo.edu (Postfix) with ESMTP id 27519D121
for ; Fri, 5 Dec 2014 14:51:23 -0500 (EST)
Received: from smtp.buffalo.edu (smtp3.acsu.buffalo.edu [128.205.5.226])
by localmailC.acsu.buffalo.edu (Prefixe) with ESMTP id 13F21D120
for ; Fri, 5 Dec 2014 14:51:23 -0500 (EST)
Received: from prince.ccr.buffalo.edu (prince.ccr.buffalo.edu [128.205.40.45])
(Authenticated sender: minnus@buffalo.edu)
by smtp.buffalo.edu (Postfix) with ESMTPSA id 07D262C34
for ; Fri, 5 Dec 2014 14:51:23 -0500 (EST)
Message-ID: <54820CBA.2050706@buffalo.edu>
Date: Fri, 05 Dec 2014 14:51:22 -0500
From: Martins Innus
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:31.0) Gecko/20100101 Thunderbird/31.2.0
MIME-Version: 1.0
To: pcp@oss.sgi.com
Subject: Remove no-op code from linux_proc
Content-Type: text/plain; charset=utf-8; format=flowed
X-ASG-Orig-Subj: Remove no-op code from linux_proc
Content-Transfer-Encoding: 7bit
X-PM-EL-Spam-Prob: : 8%
X-Barracuda-Connect: mtareserve7.acsu.buffalo.edu[128.205.6.7]
X-Barracuda-Start-Time: 1417809083
X-Barracuda-URL: http://192.48.176.15:80/cgi-mod/mark.cgi
X-Virus-Scanned: by bsmtpd at sgi.com
X-Barracuda-BRTS-Status: 1
X-Barracuda-Spam-Score: 0.00
X-Barracuda-Spam-Status: No, SCORE=0.00 using per-user scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.7 tests=
X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.3.12489
Rule breakdown below
pts rule name description
---- ---------------------- --------------------------------------------------
Hi,
In my initial dynamic procs submission, I had a copy and paste
error that didn't do anything. cgroups must have returned a value if the
metrics makeup changed. Proc only returns non-zero when /proc can't be
opened. From:
https://github.com/ubccr/pcp/tree/martins_working
commit 11c66bcde0ea263db7002d6731498f105dfb35bb
Author: Martins Innus
Date: Fri Dec 5 14:43:42 2014 -0500
Remove noop code
In my initial dynamic proc refractor, I copied an unneccessary call
that was in the cgroups code.
For the procs case, it is not needed and never gets called.
src/pmdas/linux_proc/pmda.c | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
Thanks
Martins
From janfrode@tanso.net Sat Dec 6 05:07:31 2014
Return-Path:
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on oss.sgi.com
X-Spam-Level:
X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=ham
version=3.3.1
X-Original-To: pcp@oss.sgi.com
Delivered-To: pcp@oss.sgi.com
Received: from relay.sgi.com (relay2.corp.sgi.com [137.38.102.29])
by oss.sgi.com (Postfix) with ESMTP id 5772C7F3F
for ; Sat, 6 Dec 2014 05:07:31 -0600 (CST)
Received: from cuda.sgi.com (cuda2.sgi.com [192.48.176.25])
by relay2.corp.sgi.com (Postfix) with ESMTP id 356F0304048
for ; Sat, 6 Dec 2014 03:07:30 -0800 (PST)
X-ASG-Debug-ID: 1417864039-04cbb010693635d0001-S8gJnT
Received: from mail-la0-f47.google.com (mail-la0-f47.google.com [209.85.215.47]) by cuda.sgi.com with ESMTP id 5WQ6sY9cqbCZGEJT (version=TLSv1 cipher=RC4-SHA bits=128 verify=NO) for ; Sat, 06 Dec 2014 03:07:20 -0800 (PST)
X-Barracuda-Envelope-From: janfrode@tanso.net
X-Barracuda-Apparent-Source-IP: 209.85.215.47
Received: by mail-la0-f47.google.com with SMTP id hz20so1861737lab.20
for ; Sat, 06 Dec 2014 03:07:19 -0800 (PST)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20130820;
h=x-gm-message-state:date:from:to:cc:subject:message-id:references
:mime-version:content-type:content-disposition:in-reply-to
:user-agent;
bh=MbYzcNgBTpPWdKryDN/mA7LojcofBKDPe3DLHP/Ibgg=;
b=HtQKwfU4NBjANNKkxb2pvvNpB2ivArNoUXeX7IkJoXBTm6vi/1gUcxfJVuI/SuND6U
zlq1Uuzw1lnpOceKHfFb9w/Z15fcdxJ+st2Bh74O9EXvx+b8kpRKinQ9JiIxj3YklXd0
hAVc2aceQDmm7Ryo+7vnBsqGJXyqZd4mhQxEeb/Pn8CHtqZifhEsnIF7tcnfj9FJ3WEa
YkuXo6ndeyjs9559MJdiqVXTnIUIh71lUKF6MpjXzUfygYh6C09XCxto6yvZE0rp372g
7hwdx2nYWE+DzS6Rkp8OZcZ8rL/OHKggCHNoTrQXEWsczZcVOphfV8sXHMKaQ5ic979r
Ee2A==
X-Gm-Message-State: ALoCoQm5b1VwOWV7cB65NaxO2qE3J0xa1lzMxMgRPaBRwayUAzmtBJeHqoEWGwuw+OglLO2oyqHz
X-Received: by 10.112.129.228 with SMTP id nz4mr7153527lbb.8.1417864039117;
Sat, 06 Dec 2014 03:07:19 -0800 (PST)
Received: from localhost (120.81-167-109.customer.lyse.net. [81.167.109.120])
by mx.google.com with ESMTPSA id xe10sm9109163lbb.37.2014.12.06.03.07.17
for
(version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
Sat, 06 Dec 2014 03:07:18 -0800 (PST)
Date: Sat, 6 Dec 2014 12:07:17 +0100
From: Jan-Frode Myklebust
To: pcp@oss.sgi.com
Cc: nathans@redhat.com
Subject: [PATCH] Add PMDA for the Unbound DNS resolver.
Message-ID: <20141206110717.GA13661@mushkin.tanso.net>
X-ASG-Orig-Subj: [PATCH] Add PMDA for the Unbound DNS resolver.
References: <20141127104047.GA7900@mushkin.tanso.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
In-Reply-To: <20141127104047.GA7900@mushkin.tanso.net>
User-Agent: Mutt/1.5.21 (2010-09-15)
X-Barracuda-Connect: mail-la0-f47.google.com[209.85.215.47]
X-Barracuda-Start-Time: 1417864040
X-Barracuda-Encrypted: RC4-SHA
X-Barracuda-URL: http://192.48.176.25:80/cgi-mod/mark.cgi
X-Virus-Scanned: by bsmtpd at sgi.com
X-Barracuda-BRTS-Status: 1
X-Barracuda-Spam-Score: 0.00
X-Barracuda-Spam-Status: No, SCORE=0.00 using per-user scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.7 tests=
X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.3.12517
Rule breakdown below
pts rule name description
---- ---------------------- --------------------------------------------------
This adds a PMDA for the Unbound DNS resolver. Currently exposing 140
metrics gathered from Unbounds "unbound-control stats" command. It's
missing the per thread metrics, but I plan on adding these at a later
point.
This patch has updated copyright assignment, gpl header and man-page, as
requested by Nathan Scott.
Signed-off-by: Jan-Frode Myklebust
---
src/pmdas/unbound/Install | 28 ++
src/pmdas/unbound/Remove | 25 ++
src/pmdas/unbound/pmdaunbound.1 | 65 ++++
src/pmdas/unbound/pmdaunbound.python | 1357 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
4 files changed, 1475 insertions(+)
create mode 100755 src/pmdas/unbound/Install
create mode 100755 src/pmdas/unbound/Remove
create mode 100644 src/pmdas/unbound/pmdaunbound.1
create mode 100644 src/pmdas/unbound/pmdaunbound.python
diff --git a/src/pmdas/unbound/Install b/src/pmdas/unbound/Install
new file mode 100755
index 0000000..4bdfb41
--- /dev/null
+++ b/src/pmdas/unbound/Install
@@ -0,0 +1,28 @@
+#! /bin/sh
+#
+# Copyright (c) 2014 Jan-Frode Myklebust
+#
+# 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 Unbound PMDA
+#
+
+. $PCP_DIR/etc/pcp.env
+. $PCP_SHARE_DIR/lib/pmdaproc.sh
+
+iam=unbound
+python_opt=true
+daemon_opt=false
+forced_restart=true
+
+pmdaSetup
+pmdaInstall
+exit 0
diff --git a/src/pmdas/unbound/Remove b/src/pmdas/unbound/Remove
new file mode 100755
index 0000000..4cc0fdf
--- /dev/null
+++ b/src/pmdas/unbound/Remove
@@ -0,0 +1,25 @@
+#! /bin/sh
+#
+# Copyright (c) 2014 Jan-Frode Myklebust
+#
+# 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 Linux Unbound PMDA
+#
+
+. $PCP_DIR/etc/pcp.env
+. $PCP_SHARE_DIR/lib/pmdaproc.sh
+
+iam=unbound
+
+pmdaSetup
+pmdaRemove
+exit 0
diff --git a/src/pmdas/unbound/pmdaunbound.1 b/src/pmdas/unbound/pmdaunbound.1
new file mode 100644
index 0000000..59392cd
--- /dev/null
+++ b/src/pmdas/unbound/pmdaunbound.1
@@ -0,0 +1,65 @@
+'\"macro stdmacro
+.\"
+.\" Copyright (c) 2014 Jan-Frode Myklebust .
+.\"
+.\" 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.
+.\"
+.\"
+.TH PMDAUNBOUND 1 "PCP" "Performance Co-Pilot"
+.SH NAME
+\f3pmdaunbound\f1 \- Unbound resolver PMDA
+.SH DESCRIPTION
+\f3pmdaunbound\f1 is a Performance Metrics Domain Agent (PMDA) which exports
+metric values about the Unbound DNS resolver using the
+.BR unbound-control (8)
+.BR stats_noreset
+command.
+.PP
+This gives lots of insight into query types, response time, cache hits/misses,
+etc. Please see the
+.BR unbound-control (8)
+man page for explanation about each statistics counter.
+.PP
+Further details on the Unbound DNS resolver can be found at https://unbound.net/
+.SH INSTALLATION
+Install the Unbound PMDA by using the Install script as root:
+.PP
+ # cd $PCP_PMDAS_DIR/unbound
+.br
+ # ./Install
+.PP
+To uninstall, do the following as root:
+.PP
+ # cd $PCP_PMDAS_DIR/unbound
+.br
+ # ./Remove
+.PP
+\fBpmdaunbound\fR is launched by \fIpmcd\fR(1) and should never be executed
+directly. The Install and Remove scripts notify \fIpmcd\fR(1) when the
+agent is installed or removed.
+.SH FILES
+.IP "\fB$PCP_PMDAS_DIR/unbound/Install\fR" 4
+installation script for the \fBpmdaunbound\fR agent
+.IP "\fB$PCP_PMDAS_DIR/unbound/Remove\fR" 4
+undo installation script for the \fBpmdaunbound\fR agent
+.IP "\fB$PCP_LOG_DIR/pmcd/unbound.log\fR" 4
+default log file for error messages from \fBpmdaunbound\fR
+.SH PCP ENVIRONMENT
+Environment variables with the prefix \fBPCP_\fR are used to parameterize
+the file and directory names used by \fBPCP\fR. On each installation, the
+file \fB/etc/pcp.conf\fR contains the local values for these variables.
+The \fB$PCP_CONF\fR variable may be used to specify an alternative
+configuration file, as described in \fIpcp.conf\fR(5).
+.SH SEE ALSO
+.BR pmcd (1),
+.BR unbound-control (8),
+and
+.BR unbound (8)
diff --git a/src/pmdas/unbound/pmdaunbound.python b/src/pmdas/unbound/pmdaunbound.python
new file mode 100644
index 0000000..ddfc49a
--- /dev/null
+++ b/src/pmdas/unbound/pmdaunbound.python
@@ -0,0 +1,1357 @@
+'''
+Performance Metrics Domain Agent exporting Unbound statistics.
+'''
+#
+# Copyright (c) 2014 Jan-Frode Myklebust .
+#
+# 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.
+#
+
+import cpmapi as c_api
+from pcp.pmapi import pmUnits
+from pcp.pmda import PMDA, pmdaMetric, pmdaIndom
+from subprocess import Popen, PIPE
+import string
+
+class UnboundPMDA(PMDA):
+ '''
+ Performance Metrics Domain Agent exporting Unbound metrics.
+ Install it and make basic use of it if you use Unbound, as follows:
+
+ # $PCP_PMDAS_DIR/unbound/Install
+ $ pminfo -fmdtT unbound
+ '''
+
+ def unbound_fetch(self):
+ '''
+ Called once per PCP "fetch" PDU from pmcd(1)
+ Iterates over the unbound statistics,
+ '''
+ p = Popen(['/usr/sbin/unbound-control', 'stats_noreset'], stdin=PIPE, stdout=PIPE, stderr=PIPE)
+ p.wait()
+ stdout, stderr = p.communicate()
+ stdoutlines = string.split(stdout.strip(), '\n')
+ for line in stdoutlines:
+ keyval = string.split(line, '=')
+ if keyval[0].startswith( 'histogram' ):
+ # Replace "." with "_" to avoid splitting metric name in multiple sub sections
+ keyval[0] = "histogram." + "_".join(str(v) for v in keyval[0].split(".")[1:])
+ # only try to populate known metrics:
+ if keyval[0] in self.values:
+ if (
+ keyval[0] == "time.now" or
+ keyval[0] == "time.up" or
+ keyval[0] == "time.elapsed" or
+ keyval[0] == "total.requestlist.avg" or
+ keyval[0] == "total.recursion.time.avg" or
+ keyval[0] == "total.recursion.time.median"
+ ):
+ self.values[keyval[0]] = float(keyval[1])
+ else:
+ self.values[keyval[0]] = long(keyval[1])
+
+ def unbound_fetch_callback(self, cluster, item, inst):
+ '''
+ Main fetch callback - looks up value associated with requested PMID
+ (from unbound_fetch), converts units if needed, then returns a list of
+ value,status (single pair) for the requested pmid
+ '''
+ # self.log("fetch callback for %d.%d[%d]" % (cluster, item, inst))
+ if inst != c_api.PM_IN_NULL:
+ return [c_api.PM_ERR_INST, 0]
+ elif cluster != 0:
+ return [c_api.PM_ERR_PMID, 0]
+ if item >= 0 and item < self.nmetrics and self.patherrors == 1:
+ return [c_api.PM_ERR_AGAIN, 0]
+
+ if item == 0:
+ return [self.values['total.num.queries'], 1]
+ elif item == 1:
+ return [self.values['total.num.cachehits'], 1]
+ elif item == 2:
+ return [self.values['total.num.cachemiss'], 1]
+ elif item == 3:
+ return [self.values['total.num.prefetch'], 1]
+ elif item == 4:
+ return [self.values['total.num.recursivereplies'], 1]
+ elif item == 5:
+ return [self.values['total.requestlist.avg'], 1]
+ elif item == 6:
+ return [self.values['total.requestlist.max'], 1]
+ elif item == 7:
+ return [self.values['total.requestlist.overwritten'], 1]
+ elif item == 8:
+ return [self.values['total.requestlist.exceeded'], 1]
+ elif item == 9:
+ return [self.values['total.requestlist.current.all'], 1]
+ elif item == 10:
+ return [self.values['total.requestlist.current.user'], 1]
+ elif item == 11:
+ return [self.values['total.recursion.time.avg'], 1]
+ elif item == 12:
+ return [self.values['total.recursion.time.median'], 1]
+ elif item == 13:
+ return [self.values['unwanted.queries'], 1]
+ elif item == 14:
+ return [self.values['unwanted.replies'], 1]
+ elif item == 15:
+ return [self.values['num.answer.rcode.NOERROR'], 1]
+ elif item == 16:
+ return [self.values['num.answer.rcode.FORMERR'], 1]
+ elif item == 17:
+ return [self.values['num.answer.rcode.SERVFAIL'], 1]
+ elif item == 18:
+ return [self.values['num.answer.rcode.NXDOMAIN'], 1]
+ elif item == 19:
+ return [self.values['num.answer.rcode.REFUSED'], 1]
+ elif item == 20:
+ return [self.values['num.answer.rcode.nodata'], 1]
+ elif item == 21:
+ return [self.values['num.answer.secure'], 1]
+ elif item == 22:
+ return [self.values['num.answer.bogus'], 1]
+ elif item == 23:
+ return [self.values['num.rrset.bogus'], 1]
+ elif item == 24:
+ return [self.values['num.query.type.TYPE0'], 1]
+ elif item == 25:
+ return [self.values['num.query.type.A'], 1]
+ elif item == 26:
+ return [self.values['num.query.type.NS'], 1]
+ elif item == 27:
+ return [self.values['num.query.type.MD'], 1]
+ elif item == 28:
+ return [self.values['num.query.type.MF'], 1]
+ elif item == 29:
+ return [self.values['num.query.type.CNAME'], 1]
+ elif item == 30:
+ return [self.values['num.query.type.SOA'], 1]
+ elif item == 31:
+ return [self.values['num.query.type.MB'], 1]
+ elif item == 32:
+ return [self.values['num.query.type.MG'], 1]
+ elif item == 33:
+ return [self.values['num.query.type.MR'], 1]
+ elif item == 34:
+ return [self.values['num.query.type.NULL'], 1]
+ elif item == 35:
+ return [self.values['num.query.type.WKS'], 1]
+ elif item == 36:
+ return [self.values['num.query.type.PTR'], 1]
+ elif item == 37:
+ return [self.values['num.query.type.HINFO'], 1]
+ elif item == 38:
+ return [self.values['num.query.type.MINFO'], 1]
+ elif item == 39:
+ return [self.values['num.query.type.MX'], 1]
+ elif item == 40:
+ return [self.values['num.query.type.TXT'], 1]
+ elif item == 41:
+ return [self.values['num.query.type.RP'], 1]
+ elif item == 42:
+ return [self.values['num.query.type.AFSDB'], 1]
+ elif item == 43:
+ return [self.values['num.query.type.X25'], 1]
+ elif item == 44:
+ return [self.values['num.query.type.ISDN'], 1]
+ elif item == 45:
+ return [self.values['num.query.type.RT'], 1]
+ elif item == 46:
+ return [self.values['num.query.type.AAAA'], 1]
+ elif item == 47:
+ return [self.values['num.query.type.SRV'], 1]
+ elif item == 48:
+ return [self.values['num.query.type.ATMA'], 1]
+ elif item == 49:
+ return [self.values['num.query.type.NAPTR'], 1]
+ elif item == 50:
+ return [self.values['num.query.type.A6'], 1]
+ elif item == 51:
+ return [self.values['num.query.type.DS'], 1]
+ elif item == 52:
+ return [self.values['num.query.type.SSHFP'], 1]
+ elif item == 53:
+ return [self.values['num.query.type.RRSIG'], 1]
+ elif item == 54:
+ return [self.values['num.query.type.NSEC'], 1]
+ elif item == 55:
+ return [self.values['num.query.type.DNSKEY'], 1]
+ elif item == 56:
+ return [self.values['num.query.type.TLSA'], 1]
+ elif item == 57:
+ return [self.values['num.query.type.TYPE65'], 1]
+ elif item == 58:
+ return [self.values['num.query.type.TYPE67'], 1]
+ elif item == 59:
+ return [self.values['num.query.type.TYPE76'], 1]
+ elif item == 60:
+ return [self.values['num.query.type.TYPE97'], 1]
+ elif item == 61:
+ return [self.values['num.query.type.SPF'], 1]
+ elif item == 62:
+ return [self.values['num.query.type.TYPE103'], 1]
+ elif item == 63:
+ return [self.values['num.query.type.EUI64'], 1]
+ elif item == 64:
+ return [self.values['num.query.type.TYPE110'], 1]
+ elif item == 65:
+ return [self.values['num.query.type.TYPE117'], 1]
+ elif item == 66:
+ return [self.values['num.query.type.TYPE119'], 1]
+ elif item == 67:
+ return [self.values['num.query.type.TYPE123'], 1]
+ elif item == 68:
+ return [self.values['num.query.type.TKEY'], 1]
+ elif item == 69:
+ return [self.values['num.query.type.IXFR'], 1]
+ elif item == 70:
+ return [self.values['num.query.type.AXFR'], 1]
+ elif item == 71:
+ return [self.values['num.query.type.ANY'], 1]
+ elif item == 72:
+ return [self.values['num.query.type.other'], 1]
+ elif item == 73:
+ return [self.values['num.query.class.CLASS0'], 1]
+ elif item == 74:
+ return [self.values['num.query.class.IN'], 1]
+ elif item == 75:
+ return [self.values['num.query.class.CH'], 1]
+ elif item == 76:
+ return [self.values['num.query.class.CLASS6'], 1]
+ elif item == 77:
+ return [self.values['num.query.class.CLASS65'], 1]
+ elif item == 78:
+ return [self.values['num.query.class.CLASS115'], 1]
+ elif item == 79:
+ return [self.values['num.query.class.CLASS240'], 1]
+ elif item == 80:
+ return [self.values['num.query.class.ANY'], 1]
+ elif item == 81:
+ return [self.values['num.query.class.other'], 1]
+ elif item == 82:
+ return [self.values['num.query.opcode.QUERY'], 1]
+ elif item == 83:
+ return [self.values['num.query.tcp'], 1]
+ elif item == 84:
+ return [self.values['num.query.ipv6'], 1]
+ elif item == 85:
+ return [self.values['num.query.flags.QR'], 1]
+ elif item == 86:
+ return [self.values['num.query.flags.AA'], 1]
+ elif item == 87:
+ return [self.values['num.query.flags.TC'], 1]
+ elif item == 88:
+ return [self.values['num.query.flags.RD'], 1]
+ elif item == 89:
+ return [self.values['num.query.flags.RA'], 1]
+ elif item == 90:
+ return [self.values['num.query.flags.Z'], 1]
+ elif item == 91:
+ return [self.values['num.query.flags.AD'], 1]
+ elif item == 92:
+ return [self.values['num.query.flags.CD'], 1]
+ elif item == 93:
+ return [self.values['num.query.edns.present'], 1]
+ elif item == 94:
+ return [self.values['num.query.edns.DO'], 1]
+ elif item == 95:
+ return [self.values['mem.total.sbrk'], 1]
+ elif item == 96:
+ return [self.values['mem.cache.rrset'], 1]
+ elif item == 97:
+ return [self.values['mem.cache.message'], 1]
+ elif item == 98:
+ return [self.values['mem.mod.iterator'], 1]
+ elif item == 99:
+ return [self.values['mem.mod.validator'], 1]
+ elif item == 100:
+ return [self.values['histogram.000000_000000_to_000000_000001'], 1]
+ elif item == 101:
+ return [self.values['histogram.000000_000001_to_000000_000002'], 1]
+ elif item == 102:
+ return [self.values['histogram.000000_000002_to_000000_000004'], 1]
+ elif item == 103:
+ return [self.values['histogram.000000_000004_to_000000_000008'], 1]
+ elif item == 104:
+ return [self.values['histogram.000000_000008_to_000000_000016'], 1]
+ elif item == 105:
+ return [self.values['histogram.000000_000016_to_000000_000032'], 1]
+ elif item == 106:
+ return [self.values['histogram.000000_000032_to_000000_000064'], 1]
+ elif item == 107:
+ return [self.values['histogram.000000_000064_to_000000_000128'], 1]
+ elif item == 108:
+ return [self.values['histogram.000000_000128_to_000000_000256'], 1]
+ elif item == 109:
+ return [self.values['histogram.000000_000256_to_000000_000512'], 1]
+ elif item == 110:
+ return [self.values['histogram.000000_000512_to_000000_001024'], 1]
+ elif item == 111:
+ return [self.values['histogram.000000_001024_to_000000_002048'], 1]
+ elif item == 112:
+ return [self.values['histogram.000000_002048_to_000000_004096'], 1]
+ elif item == 113:
+ return [self.values['histogram.000000_004096_to_000000_008192'], 1]
+ elif item == 114:
+ return [self.values['histogram.000000_008192_to_000000_016384'], 1]
+ elif item == 115:
+ return [self.values['histogram.000000_016384_to_000000_032768'], 1]
+ elif item == 116:
+ return [self.values['histogram.000000_032768_to_000000_065536'], 1]
+ elif item == 117:
+ return [self.values['histogram.000000_065536_to_000000_131072'], 1]
+ elif item == 118:
+ return [self.values['histogram.000000_131072_to_000000_262144'], 1]
+ elif item == 119:
+ return [self.values['histogram.000000_262144_to_000000_524288'], 1]
+ elif item == 120:
+ return [self.values['histogram.000000_524288_to_000001_000000'], 1]
+ elif item == 121:
+ return [self.values['histogram.000001_000000_to_000002_000000'], 1]
+ elif item == 122:
+ return [self.values['histogram.000002_000000_to_000004_000000'], 1]
+ elif item == 123:
+ return [self.values['histogram.000004_000000_to_000008_000000'], 1]
+ elif item == 124:
+ return [self.values['histogram.000008_000000_to_000016_000000'], 1]
+ elif item == 125:
+ return [self.values['histogram.000016_000000_to_000032_000000'], 1]
+ elif item == 126:
+ return [self.values['histogram.000032_000000_to_000064_000000'], 1]
+ elif item == 127:
+ return [self.values['histogram.000064_000000_to_000128_000000'], 1]
+ elif item == 128:
+ return [self.values['histogram.000128_000000_to_000256_000000'], 1]
+ elif item == 129:
+ return [self.values['histogram.000256_000000_to_000512_000000'], 1]
+ elif item == 130:
+ return [self.values['histogram.000512_000000_to_001024_000000'], 1]
+ elif item == 131:
+ return [self.values['histogram.001024_000000_to_002048_000000'], 1]
+ elif item == 132:
+ return [self.values['histogram.002048_000000_to_004096_000000'], 1]
+ elif item == 133:
+ return [self.values['histogram.004096_000000_to_008192_000000'], 1]
+ elif item == 134:
+ return [self.values['histogram.008192_000000_to_016384_000000'], 1]
+ elif item == 135:
+ return [self.values['histogram.016384_000000_to_032768_000000'], 1]
+ elif item == 136:
+ return [self.values['histogram.032768_000000_to_065536_000000'], 1]
+ elif item == 137:
+ return [self.values['histogram.065536_000000_to_131072_000000'], 1]
+ elif item == 138:
+ return [self.values['histogram.131072_000000_to_262144_000000'], 1]
+ elif item == 139:
+ return [self.values['histogram.262144_000000_to_524288_000000'], 1]
+ return [c_api.PM_ERR_PMID, 0]
+
+ def setup_unbound_metrics(self, name):
+ '''
+ Setup the metric table - ensure a values hash entry is setup for
+ each metric; that way we don't need to worry about KeyErrors in
+ the fetch callback routine (e.g. if the kernel interface changes).
+ '''
+ self.values['total.num.queries'] = 0
+ self.add_metric(name + '.total.num.queries', pmdaMetric(
+ self.pmid(0, 0),
+ c_api.PM_TYPE_U64, c_api.PM_INDOM_NULL, c_api.PM_SEM_COUNTER,
+ pmUnits(0, 0, 1, 0, 0, c_api.PM_COUNT_ONE)),
+ 'Total number of queries received from all threads.')
+
+ self.values['total.num.cachehits'] = 0
+ self.add_metric(name + '.total.num.cachehits', pmdaMetric(
+ self.pmid(0, 1),
+ c_api.PM_TYPE_U64, c_api.PM_INDOM_NULL, c_api.PM_SEM_COUNTER,
+ pmUnits(0, 0, 1, 0, 0, c_api.PM_COUNT_ONE)),
+ 'Total number of queries that were successfully answered using a cache lookup.')
+
+ self.values['total.num.cachemiss'] = 0
+ self.add_metric(name + '.total.num.cachemiss', pmdaMetric(
+ self.pmid(0, 2),
+ c_api.PM_TYPE_U64, c_api.PM_INDOM_NULL, c_api.PM_SEM_COUNTER,
+ pmUnits(0, 0, 1, 0, 0, c_api.PM_COUNT_ONE)),
+ 'Total number of queries that needed recursive processing.')
+
+ self.values['total.num.prefetch'] = 0
+ self.add_metric(name + '.total.num.prefetch', pmdaMetric(
+ self.pmid(0, 3),
+ c_api.PM_TYPE_U64, c_api.PM_INDOM_NULL, c_api.PM_SEM_COUNTER,
+ pmUnits(0, 0, 1, 0, 0, c_api.PM_COUNT_ONE)),
+ 'Total number cache prefetches performed.')
+
+ self.values['total.num.recursivereplies'] = 0
+ self.add_metric(name + '.total.num.recursivereplies', pmdaMetric(
+ self.pmid(0, 4),
+ c_api.PM_TYPE_U64, c_api.PM_INDOM_NULL, c_api.PM_SEM_COUNTER,
+ pmUnits(0, 0, 1, 0, 0, c_api.PM_COUNT_ONE)),
+ 'Total number of replies sent to queries that needed recursive processing.')
+
+ self.values['total.requestlist.avg'] = 0
+ self.add_metric(name + '.total.requestlist.avg', pmdaMetric(
+ self.pmid(0, 5),
+ c_api.PM_TYPE_FLOAT, c_api.PM_INDOM_NULL, c_api.PM_SEM_INSTANT,
+ pmUnits(0, 0, 1, 0, 0, c_api.PM_COUNT_ONE)),
+ 'Average number of requests in the internal recursive processing request list on insert of a new incoming recursive processing query.')
+
+ self.values['total.requestlist.max'] = 0
+ self.add_metric(name + '.total.requestlist.max', pmdaMetric(
+ self.pmid(0, 6),
+ c_api.PM_TYPE_U64, c_api.PM_INDOM_NULL, c_api.PM_SEM_INSTANT,
+ pmUnits(0, 0, 1, 0, 0, c_api.PM_COUNT_ONE)),
+ 'Maximum size attained by the internal recursive processing request list.')
+
+ self.values['total.requestlist.overwritten'] = 0
+ self.add_metric(name + '.total.requestlist.overwritten', pmdaMetric(
+ self.pmid(0, 7),
+ c_api.PM_TYPE_U64, c_api.PM_INDOM_NULL, c_api.PM_SEM_COUNTER,
+ pmUnits(0, 0, 1, 0, 0, c_api.PM_COUNT_ONE)),
+ 'Number of requests in the request list that were overwritten by newer entries.')
+
+ self.values['total.requestlist.exceeded'] = 0
+ self.add_metric(name + '.total.requestlist.exceeded', pmdaMetric(
+ self.pmid(0, 8),
+ c_api.PM_TYPE_U64, c_api.PM_INDOM_NULL, c_api.PM_SEM_COUNTER,
+ pmUnits(0, 0, 1, 0, 0, c_api.PM_COUNT_ONE)),
+ 'Queries that were dropped because the request list was full.')
+
+ self.values['total.requestlist.current.all'] = 0
+ self.add_metric(name + '.total.requestlist.current.all', pmdaMetric(
+ self.pmid(0, 9),
+ c_api.PM_TYPE_U64, c_api.PM_INDOM_NULL, c_api.PM_SEM_INSTANT,
+ pmUnits(0, 0, 1, 0, 0, c_api.PM_COUNT_ONE)),
+ 'Current size of the request list, includes internally generated queries.')
+
+ self.values['total.requestlist.current.user'] = 0
+ self.add_metric(name + '.total.requestlist.current.user', pmdaMetric(
+ self.pmid(0, 10),
+ c_api.PM_TYPE_U64, c_api.PM_INDOM_NULL, c_api.PM_SEM_INSTANT,
+ pmUnits(0, 0, 1, 0, 0, c_api.PM_COUNT_ONE)),
+ 'Current size of the request list, only the requests from client queries.')
+
+ self.values['total.recursion.time.avg'] = 0
+ self.add_metric(name + '.total.recursion.time.avg', pmdaMetric(
+ self.pmid(0, 11),
+ c_api.PM_TYPE_FLOAT, c_api.PM_INDOM_NULL, c_api.PM_SEM_INSTANT,
+ pmUnits(0, 1, 0, 0, c_api.PM_TIME_SEC, 0)),
+ 'Average time it took to answer queries that needed recursive processing.')
+
+ self.values['total.recursion.time.median'] = 0
+ self.add_metric(name + '.total.recursion.time.median', pmdaMetric(
+ self.pmid(0, 12),
+ c_api.PM_TYPE_FLOAT, c_api.PM_INDOM_NULL, c_api.PM_SEM_INSTANT,
+ pmUnits(0, 1, 0, 0, c_api.PM_TIME_SEC, 0)),
+ 'Median time it took to answer queries that needed recursive processing.')
+
+ self.values['unwanted.queries'] = 0
+ self.add_metric(name + '.unwanted.queries', pmdaMetric(
+ self.pmid(0, 13),
+ c_api.PM_TYPE_U64, c_api.PM_INDOM_NULL, c_api.PM_SEM_COUNTER,
+ pmUnits(0, 0, 1, 0, 0, c_api.PM_COUNT_ONE)),
+ 'Number of queries that were refused or dropped because they failed the access control settings.')
+
+ self.values['unwanted.replies'] = 0
+ self.add_metric(name + '.unwanted.replies', pmdaMetric(
+ self.pmid(0, 14),
+ c_api.PM_TYPE_U64, c_api.PM_INDOM_NULL, c_api.PM_SEM_COUNTER,
+ pmUnits(0, 0, 1, 0, 0, c_api.PM_COUNT_ONE)),
+ 'Replies that were unwanted or unsolicited.')
+
+ self.values['num.answer.rcode.NOERROR'] = 0
+ self.add_metric(name + '.num.answer.rcode.NOERROR', pmdaMetric(
+ self.pmid(0, 15),
+ c_api.PM_TYPE_U64, c_api.PM_INDOM_NULL, c_api.PM_SEM_COUNTER,
+ pmUnits(0, 0, 1, 0, 0, c_api.PM_COUNT_ONE)),
+ 'Number of answers that were without faults.')
+
+ self.values['num.answer.rcode.FORMERR'] = 0
+ self.add_metric(name + '.num.answer.rcode.FORMERR', pmdaMetric(
+ self.pmid(0, 16),
+ c_api.PM_TYPE_U64, c_api.PM_INDOM_NULL, c_api.PM_SEM_COUNTER,
+ pmUnits(0, 0, 1, 0, 0, c_api.PM_COUNT_ONE)),
+ 'Number of answers with format error.')
+
+ self.values['num.answer.rcode.SERVFAIL'] = 0
+ self.add_metric(name + '.num.answer.rcode.SERVFAIL', pmdaMetric(
+ self.pmid(0, 17),
+ c_api.PM_TYPE_U64, c_api.PM_INDOM_NULL, c_api.PM_SEM_COUNTER,
+ pmUnits(0, 0, 1, 0, 0, c_api.PM_COUNT_ONE)),
+ 'Number of answers with SERVFAIL.')
+
+ self.values['num.answer.rcode.NXDOMAIN'] = 0
+ self.add_metric(name + '.num.answer.rcode.NXDOMAIN', pmdaMetric(
+ self.pmid(0, 18),
+ c_api.PM_TYPE_U64, c_api.PM_INDOM_NULL, c_api.PM_SEM_COUNTER,
+ pmUnits(0, 0, 1, 0, 0, c_api.PM_COUNT_ONE)),
+ 'Number of answers with NXDOMAIN.')
+
+ self.values['num.answer.rcode.REFUSED'] = 0
+ self.add_metric(name + '.num.answer.rcode.REFUSED', pmdaMetric(
+ self.pmid(0, 19),
+ c_api.PM_TYPE_U64, c_api.PM_INDOM_NULL, c_api.PM_SEM_COUNTER,
+ pmUnits(0, 0, 1, 0, 0, c_api.PM_COUNT_ONE)),
+ 'Number of answers status REFUSED.')
+
+ self.values['num.answer.rcode.nodata'] = 0
+ self.add_metric(name + '.num.answer.rcode.nodata', pmdaMetric(
+ self.pmid(0, 20),
+ c_api.PM_TYPE_U64, c_api.PM_INDOM_NULL, c_api.PM_SEM_COUNTER,
+ pmUnits(0, 0, 1, 0, 0, c_api.PM_COUNT_ONE)),
+ 'The number of answers to queries that had the pseudo return code nodata.')
+
+ self.values['num.answer.secure'] = 0
+ self.add_metric(name + '.num.answer.secure', pmdaMetric(
+ self.pmid(0, 21),
+ c_api.PM_TYPE_U64, c_api.PM_INDOM_NULL, c_api.PM_SEM_COUNTER,
+ pmUnits(0, 0, 1, 0, 0, c_api.PM_COUNT_ONE)),
+ 'Number of answers that were secure. The answer validated correctly.')
+
+ self.values['num.answer.bogus'] = 0
+ self.add_metric(name + '.num.answer.bogus', pmdaMetric(
+ self.pmid(0, 22),
+ c_api.PM_TYPE_U64, c_api.PM_INDOM_NULL, c_api.PM_SEM_COUNTER,
+ pmUnits(0, 0, 1, 0, 0, c_api.PM_COUNT_ONE)),
+ 'Number of answers that were bogus. Answer failed validation.')
+
+ self.values['num.rrset.bogus'] = 0
+ self.add_metric(name + '.num.rrset.bogus', pmdaMetric(
+ self.pmid(0, 23),
+ c_api.PM_TYPE_U64, c_api.PM_INDOM_NULL, c_api.PM_SEM_COUNTER,
+ pmUnits(0, 0, 1, 0, 0, c_api.PM_COUNT_ONE)),
+ 'The number of rrsets marked bogus by the validator.')
+
+ self.values['num.query.type.TYPE0'] = 0
+ self.add_metric(name + '.num.query.type.TYPE0', pmdaMetric(
+ self.pmid(0, 24),
+ c_api.PM_TYPE_U64, c_api.PM_INDOM_NULL, c_api.PM_SEM_COUNTER,
+ pmUnits(0, 0, 1, 0, 0, c_api.PM_COUNT_ONE)),
+ 'num.query.type.TYPE0')
+
+ self.values['num.query.type.A'] = 0
+ self.add_metric(name + '.num.query.type.A', pmdaMetric(
+ self.pmid(0, 25),
+ c_api.PM_TYPE_U64, c_api.PM_INDOM_NULL, c_api.PM_SEM_COUNTER,
+ pmUnits(0, 0, 1, 0, 0, c_api.PM_COUNT_ONE)),
+ 'num.query.type.A')
+
+ self.values['num.query.type.NS'] = 0
+ self.add_metric(name + '.num.query.type.NS', pmdaMetric(
+ self.pmid(0, 26),
+ c_api.PM_TYPE_U64, c_api.PM_INDOM_NULL, c_api.PM_SEM_COUNTER,
+ pmUnits(0, 0, 1, 0, 0, c_api.PM_COUNT_ONE)),
+ 'num.query.type.NS')
+
+ self.values['num.query.type.MD'] = 0
+ self.add_metric(name + '.num.query.type.MD', pmdaMetric(
+ self.pmid(0, 27),
+ c_api.PM_TYPE_U64, c_api.PM_INDOM_NULL, c_api.PM_SEM_COUNTER,
+ pmUnits(0, 0, 1, 0, 0, c_api.PM_COUNT_ONE)),
+ 'num.query.type.MD')
+
+ self.values['num.query.type.MF'] = 0
+ self.add_metric(name + '.num.query.type.MF', pmdaMetric(
+ self.pmid(0, 28),
+ c_api.PM_TYPE_U64, c_api.PM_INDOM_NULL, c_api.PM_SEM_COUNTER,
+ pmUnits(0, 0, 1, 0, 0, c_api.PM_COUNT_ONE)),
+ 'num.query.type.MF')
+
+ self.values['num.query.type.CNAME'] = 0
+ self.add_metric(name + '.num.query.type.CNAME', pmdaMetric(
+ self.pmid(0, 29),
+ c_api.PM_TYPE_U64, c_api.PM_INDOM_NULL, c_api.PM_SEM_COUNTER,
+ pmUnits(0, 0, 1, 0, 0, c_api.PM_COUNT_ONE)),
+ 'num.query.type.CNAME')
+
+ self.values['num.query.type.SOA'] = 0
+ self.add_metric(name + '.num.query.type.SOA', pmdaMetric(
+ self.pmid(0, 30),
+ c_api.PM_TYPE_U64, c_api.PM_INDOM_NULL, c_api.PM_SEM_COUNTER,
+ pmUnits(0, 0, 1, 0, 0, c_api.PM_COUNT_ONE)),
+ 'num.query.type.SOA')
+
+ self.values['num.query.type.MB'] = 0
+ self.add_metric(name + '.num.query.type.MB', pmdaMetric(
+ self.pmid(0, 31),
+ c_api.PM_TYPE_U64, c_api.PM_INDOM_NULL, c_api.PM_SEM_COUNTER,
+ pmUnits(0, 0, 1, 0, 0, c_api.PM_COUNT_ONE)),
+ 'num.query.type.MB')
+
+ self.values['num.query.type.MG'] = 0
+ self.add_metric(name + '.num.query.type.MG', pmdaMetric(
+ self.pmid(0, 32),
+ c_api.PM_TYPE_U64, c_api.PM_INDOM_NULL, c_api.PM_SEM_COUNTER,
+ pmUnits(0, 0, 1, 0, 0, c_api.PM_COUNT_ONE)),
+ 'num.query.type.MG')
+
+ self.values['num.query.type.MR'] = 0
+ self.add_metric(name + '.num.query.type.MR', pmdaMetric(
+ self.pmid(0, 33),
+ c_api.PM_TYPE_U64, c_api.PM_INDOM_NULL, c_api.PM_SEM_COUNTER,
+ pmUnits(0, 0, 1, 0, 0, c_api.PM_COUNT_ONE)),
+ 'num.query.type.MR')
+
+ self.values['num.query.type.NULL'] = 0
+ self.add_metric(name + '.num.query.type.NULL', pmdaMetric(
+ self.pmid(0, 34),
+ c_api.PM_TYPE_U64, c_api.PM_INDOM_NULL, c_api.PM_SEM_COUNTER,
+ pmUnits(0, 0, 1, 0, 0, c_api.PM_COUNT_ONE)),
+ 'num.query.type.NULL')
+
+ self.values['num.query.type.WKS'] = 0
+ self.add_metric(name + '.num.query.type.WKS', pmdaMetric(
+ self.pmid(0, 35),
+ c_api.PM_TYPE_U64, c_api.PM_INDOM_NULL, c_api.PM_SEM_COUNTER,
+ pmUnits(0, 0, 1, 0, 0, c_api.PM_COUNT_ONE)),
+ 'num.query.type.WKS')
+
+ self.values['num.query.type.PTR'] = 0
+ self.add_metric(name + '.num.query.type.PTR', pmdaMetric(
+ self.pmid(0, 36),
+ c_api.PM_TYPE_U64, c_api.PM_INDOM_NULL, c_api.PM_SEM_COUNTER,
+ pmUnits(0, 0, 1, 0, 0, c_api.PM_COUNT_ONE)),
+ 'num.query.type.PTR')
+
+ self.values['num.query.type.HINFO'] = 0
+ self.add_metric(name + '.num.query.type.HINFO', pmdaMetric(
+ self.pmid(0, 37),
+ c_api.PM_TYPE_U64, c_api.PM_INDOM_NULL, c_api.PM_SEM_COUNTER,
+ pmUnits(0, 0, 1, 0, 0, c_api.PM_COUNT_ONE)),
+ 'num.query.type.HINFO')
+
+ self.values['num.query.type.MINFO'] = 0
+ self.add_metric(name + '.num.query.type.MINFO', pmdaMetric(
+ self.pmid(0, 38),
+ c_api.PM_TYPE_U64, c_api.PM_INDOM_NULL, c_api.PM_SEM_COUNTER,
+ pmUnits(0, 0, 1, 0, 0, c_api.PM_COUNT_ONE)),
+ 'num.query.type.MINFO')
+
+ self.values['num.query.type.MX'] = 0
+ self.add_metric(name + '.num.query.type.MX', pmdaMetric(
+ self.pmid(0, 39),
+ c_api.PM_TYPE_U64, c_api.PM_INDOM_NULL, c_api.PM_SEM_COUNTER,
+ pmUnits(0, 0, 1, 0, 0, c_api.PM_COUNT_ONE)),
+ 'num.query.type.MX')
+
+ self.values['num.query.type.TXT'] = 0
+ self.add_metric(name + '.num.query.type.TXT', pmdaMetric(
+ self.pmid(0, 40),
+ c_api.PM_TYPE_U64, c_api.PM_INDOM_NULL, c_api.PM_SEM_COUNTER,
+ pmUnits(0, 0, 1, 0, 0, c_api.PM_COUNT_ONE)),
+ 'num.query.type.TXT')
+
+ self.values['num.query.type.RP'] = 0
+ self.add_metric(name + '.num.query.type.RP', pmdaMetric(
+ self.pmid(0, 41),
+ c_api.PM_TYPE_U64, c_api.PM_INDOM_NULL, c_api.PM_SEM_COUNTER,
+ pmUnits(0, 0, 1, 0, 0, c_api.PM_COUNT_ONE)),
+ 'num.query.type.RP')
+
+ self.values['num.query.type.AFSDB'] = 0
+ self.add_metric(name + '.num.query.type.AFSDB', pmdaMetric(
+ self.pmid(0, 42),
+ c_api.PM_TYPE_U64, c_api.PM_INDOM_NULL, c_api.PM_SEM_COUNTER,
+ pmUnits(0, 0, 1, 0, 0, c_api.PM_COUNT_ONE)),
+ 'num.query.type.AFSDB')
+
+ self.values['num.query.type.X25'] = 0
+ self.add_metric(name + '.num.query.type.X25', pmdaMetric(
+ self.pmid(0, 43),
+ c_api.PM_TYPE_U64, c_api.PM_INDOM_NULL, c_api.PM_SEM_COUNTER,
+ pmUnits(0, 0, 1, 0, 0, c_api.PM_COUNT_ONE)),
+ 'num.query.type.X25')
+
+ self.values['num.query.type.ISDN'] = 0
+ self.add_metric(name + '.num.query.type.ISDN', pmdaMetric(
+ self.pmid(0, 44),
+ c_api.PM_TYPE_U64, c_api.PM_INDOM_NULL, c_api.PM_SEM_COUNTER,
+ pmUnits(0, 0, 1, 0, 0, c_api.PM_COUNT_ONE)),
+ 'num.query.type.ISDN')
+
+ self.values['num.query.type.RT'] = 0
+ self.add_metric(name + '.num.query.type.RT', pmdaMetric(
+ self.pmid(0, 45),
+ c_api.PM_TYPE_U64, c_api.PM_INDOM_NULL, c_api.PM_SEM_COUNTER,
+ pmUnits(0, 0, 1, 0, 0, c_api.PM_COUNT_ONE)),
+ 'num.query.type.RT')
+
+ self.values['num.query.type.AAAA'] = 0
+ self.add_metric(name + '.num.query.type.AAAA', pmdaMetric(
+ self.pmid(0, 46),
+ c_api.PM_TYPE_U64, c_api.PM_INDOM_NULL, c_api.PM_SEM_COUNTER,
+ pmUnits(0, 0, 1, 0, 0, c_api.PM_COUNT_ONE)),
+ 'num.query.type.AAAA')
+
+ self.values['num.query.type.SRV'] = 0
+ self.add_metric(name + '.num.query.type.SRV', pmdaMetric(
+ self.pmid(0, 47),
+ c_api.PM_TYPE_U64, c_api.PM_INDOM_NULL, c_api.PM_SEM_COUNTER,
+ pmUnits(0, 0, 1, 0, 0, c_api.PM_COUNT_ONE)),
+ 'num.query.type.SRV')
+
+ self.values['num.query.type.ATMA'] = 0
+ self.add_metric(name + '.num.query.type.ATMA', pmdaMetric(
+ self.pmid(0, 48),
+ c_api.PM_TYPE_U64, c_api.PM_INDOM_NULL, c_api.PM_SEM_COUNTER,
+ pmUnits(0, 0, 1, 0, 0, c_api.PM_COUNT_ONE)),
+ 'num.query.type.ATMA')
+
+ self.values['num.query.type.NAPTR'] = 0
+ self.add_metric(name + '.num.query.type.NAPTR', pmdaMetric(
+ self.pmid(0, 49),
+ c_api.PM_TYPE_U64, c_api.PM_INDOM_NULL, c_api.PM_SEM_COUNTER,
+ pmUnits(0, 0, 1, 0, 0, c_api.PM_COUNT_ONE)),
+ 'num.query.type.NAPTR')
+
+ self.values['num.query.type.A6'] = 0
+ self.add_metric(name + '.num.query.type.A6', pmdaMetric(
+ self.pmid(0, 50),
+ c_api.PM_TYPE_U64, c_api.PM_INDOM_NULL, c_api.PM_SEM_COUNTER,
+ pmUnits(0, 0, 1, 0, 0, c_api.PM_COUNT_ONE)),
+ 'num.query.type.A6')
+
+ self.values['num.query.type.DS'] = 0
+ self.add_metric(name + '.num.query.type.DS', pmdaMetric(
+ self.pmid(0, 51),
+ c_api.PM_TYPE_U64, c_api.PM_INDOM_NULL, c_api.PM_SEM_COUNTER,
+ pmUnits(0, 0, 1, 0, 0, c_api.PM_COUNT_ONE)),
+ 'num.query.type.DS')
+
+ self.values['num.query.type.SSHFP'] = 0
+ self.add_metric(name + '.num.query.type.SSHFP', pmdaMetric(
+ self.pmid(0, 52),
+ c_api.PM_TYPE_U64, c_api.PM_INDOM_NULL, c_api.PM_SEM_COUNTER,
+ pmUnits(0, 0, 1, 0, 0, c_api.PM_COUNT_ONE)),
+ 'num.query.type.SSHFP')
+
+ self.values['num.query.type.RRSIG'] = 0
+ self.add_metric(name + '.num.query.type.RRSIG', pmdaMetric(
+ self.pmid(0, 53),
+ c_api.PM_TYPE_U64, c_api.PM_INDOM_NULL, c_api.PM_SEM_COUNTER,
+ pmUnits(0, 0, 1, 0, 0, c_api.PM_COUNT_ONE)),
+ 'num.query.type.RRSIG')
+
+ self.values['num.query.type.NSEC'] = 0
+ self.add_metric(name + '.num.query.type.NSEC', pmdaMetric(
+ self.pmid(0, 54),
+ c_api.PM_TYPE_U64, c_api.PM_INDOM_NULL, c_api.PM_SEM_COUNTER,
+ pmUnits(0, 0, 1, 0, 0, c_api.PM_COUNT_ONE)),
+ 'num.query.type.NSEC')
+
+ self.values['num.query.type.DNSKEY'] = 0
+ self.add_metric(name + '.num.query.type.DNSKEY', pmdaMetric(
+ self.pmid(0, 55),
+ c_api.PM_TYPE_U64, c_api.PM_INDOM_NULL, c_api.PM_SEM_COUNTER,
+ pmUnits(0, 0, 1, 0, 0, c_api.PM_COUNT_ONE)),
+ 'num.query.type.DNSKEY')
+
+ self.values['num.query.type.TLSA'] = 0
+ self.add_metric(name + '.num.query.type.TLSA', pmdaMetric(
+ self.pmid(0, 56),
+ c_api.PM_TYPE_U64, c_api.PM_INDOM_NULL, c_api.PM_SEM_COUNTER,
+ pmUnits(0, 0, 1, 0, 0, c_api.PM_COUNT_ONE)),
+ 'num.query.type.TLSA')
+
+ self.values['num.query.type.TYPE65'] = 0
+ self.add_metric(name + '.num.query.type.TYPE65', pmdaMetric(
+ self.pmid(0, 57),
+ c_api.PM_TYPE_U64, c_api.PM_INDOM_NULL, c_api.PM_SEM_COUNTER,
+ pmUnits(0, 0, 1, 0, 0, c_api.PM_COUNT_ONE)),
+ 'num.query.type.TYPE65')
+
+ self.values['num.query.type.TYPE67'] = 0
+ self.add_metric(name + '.num.query.type.TYPE67', pmdaMetric(
+ self.pmid(0, 58),
+ c_api.PM_TYPE_U64, c_api.PM_INDOM_NULL, c_api.PM_SEM_COUNTER,
+ pmUnits(0, 0, 1, 0, 0, c_api.PM_COUNT_ONE)),
+ 'num.query.type.TYPE67')
+
+ self.values['num.query.type.TYPE76'] = 0
+ self.add_metric(name + '.num.query.type.TYPE76', pmdaMetric(
+ self.pmid(0, 59),
+ c_api.PM_TYPE_U64, c_api.PM_INDOM_NULL, c_api.PM_SEM_COUNTER,
+ pmUnits(0, 0, 1, 0, 0, c_api.PM_COUNT_ONE)),
+ 'num.query.type.TYPE76')
+
+ self.values['num.query.type.TYPE97'] = 0
+ self.add_metric(name + '.num.query.type.TYPE97', pmdaMetric(
+ self.pmid(0, 60),
+ c_api.PM_TYPE_U64, c_api.PM_INDOM_NULL, c_api.PM_SEM_COUNTER,
+ pmUnits(0, 0, 1, 0, 0, c_api.PM_COUNT_ONE)),
+ 'num.query.type.TYPE97')
+
+ self.values['num.query.type.SPF'] = 0
+ self.add_metric(name + '.num.query.type.SPF', pmdaMetric(
+ self.pmid(0, 61),
+ c_api.PM_TYPE_U64, c_api.PM_INDOM_NULL, c_api.PM_SEM_COUNTER,
+ pmUnits(0, 0, 1, 0, 0, c_api.PM_COUNT_ONE)),
+ 'num.query.type.SPF')
+
+ self.values['num.query.type.TYPE103'] = 0
+ self.add_metric(name + '.num.query.type.TYPE103', pmdaMetric(
+ self.pmid(0, 62),
+ c_api.PM_TYPE_U64, c_api.PM_INDOM_NULL, c_api.PM_SEM_COUNTER,
+ pmUnits(0, 0, 1, 0, 0, c_api.PM_COUNT_ONE)),
+ 'num.query.type.TYPE103')
+
+ self.values['num.query.type.EUI64'] = 0
+ self.add_metric(name + '.num.query.type.EUI64', pmdaMetric(
+ self.pmid(0, 63),
+ c_api.PM_TYPE_U64, c_api.PM_INDOM_NULL, c_api.PM_SEM_COUNTER,
+ pmUnits(0, 0, 1, 0, 0, c_api.PM_COUNT_ONE)),
+ 'num.query.type.EUI64')
+
+ self.values['num.query.type.TYPE110'] = 0
+ self.add_metric(name + '.num.query.type.TYPE110', pmdaMetric(
+ self.pmid(0, 64),
+ c_api.PM_TYPE_U64, c_api.PM_INDOM_NULL, c_api.PM_SEM_COUNTER,
+ pmUnits(0, 0, 1, 0, 0, c_api.PM_COUNT_ONE)),
+ 'num.query.type.TYPE110')
+
+ self.values['num.query.type.TYPE117'] = 0
+ self.add_metric(name + '.num.query.type.TYPE117', pmdaMetric(
+ self.pmid(0, 65),
+ c_api.PM_TYPE_U64, c_api.PM_INDOM_NULL, c_api.PM_SEM_COUNTER,
+ pmUnits(0, 0, 1, 0, 0, c_api.PM_COUNT_ONE)),
+ 'num.query.type.TYPE117')
+
+ self.values['num.query.type.TYPE119'] = 0
+ self.add_metric(name + '.num.query.type.TYPE119', pmdaMetric(
+ self.pmid(0, 66),
+ c_api.PM_TYPE_U64, c_api.PM_INDOM_NULL, c_api.PM_SEM_COUNTER,
+ pmUnits(0, 0, 1, 0, 0, c_api.PM_COUNT_ONE)),
+ 'num.query.type.TYPE119')
+
+ self.values['num.query.type.TYPE123'] = 0
+ self.add_metric(name + '.num.query.type.TYPE123', pmdaMetric(
+ self.pmid(0, 67),
+ c_api.PM_TYPE_U64, c_api.PM_INDOM_NULL, c_api.PM_SEM_COUNTER,
+ pmUnits(0, 0, 1, 0, 0, c_api.PM_COUNT_ONE)),
+ 'num.query.type.TYPE123')
+
+ self.values['num.query.type.TKEY'] = 0
+ self.add_metric(name + '.num.query.type.TKEY', pmdaMetric(
+ self.pmid(0, 68),
+ c_api.PM_TYPE_U64, c_api.PM_INDOM_NULL, c_api.PM_SEM_COUNTER,
+ pmUnits(0, 0, 1, 0, 0, c_api.PM_COUNT_ONE)),
+ 'num.query.type.TKEY')
+
+ self.values['num.query.type.IXFR'] = 0
+ self.add_metric(name + '.num.query.type.IXFR', pmdaMetric(
+ self.pmid(0, 69),
+ c_api.PM_TYPE_U64, c_api.PM_INDOM_NULL, c_api.PM_SEM_COUNTER,
+ pmUnits(0, 0, 1, 0, 0, c_api.PM_COUNT_ONE)),
+ 'num.query.type.IXFR')
+
+ self.values['num.query.type.AXFR'] = 0
+ self.add_metric(name + '.num.query.type.AXFR', pmdaMetric(
+ self.pmid(0, 70),
+ c_api.PM_TYPE_U64, c_api.PM_INDOM_NULL, c_api.PM_SEM_COUNTER,
+ pmUnits(0, 0, 1, 0, 0, c_api.PM_COUNT_ONE)),
+ 'num.query.type.AXFR')
+
+ self.values['num.query.type.ANY'] = 0
+ self.add_metric(name + '.num.query.type.ANY', pmdaMetric(
+ self.pmid(0, 71),
+ c_api.PM_TYPE_U64, c_api.PM_INDOM_NULL, c_api.PM_SEM_COUNTER,
+ pmUnits(0, 0, 1, 0, 0, c_api.PM_COUNT_ONE)),
+ 'num.query.type.ANY')
+
+ self.values['num.query.type.other'] = 0
+ self.add_metric(name + '.num.query.type.other', pmdaMetric(
+ self.pmid(0, 72),
+ c_api.PM_TYPE_U64, c_api.PM_INDOM_NULL, c_api.PM_SEM_COUNTER,
+ pmUnits(0, 0, 1, 0, 0, c_api.PM_COUNT_ONE)),
+ 'num.query.type.other')
+
+ self.values['num.query.class.CLASS0'] = 0
+ self.add_metric(name + '.num.query.class.CLASS0', pmdaMetric(
+ self.pmid(0, 73),
+ c_api.PM_TYPE_U64, c_api.PM_INDOM_NULL, c_api.PM_SEM_COUNTER,
+ pmUnits(0, 0, 1, 0, 0, c_api.PM_COUNT_ONE)),
+ 'num.query.class.CLASS0')
+
+ self.values['num.query.class.IN'] = 0
+ self.add_metric(name + '.num.query.class.IN', pmdaMetric(
+ self.pmid(0, 74),
+ c_api.PM_TYPE_U64, c_api.PM_INDOM_NULL, c_api.PM_SEM_COUNTER,
+ pmUnits(0, 0, 1, 0, 0, c_api.PM_COUNT_ONE)),
+ 'num.query.class.IN')
+
+ self.values['num.query.class.CH'] = 0
+ self.add_metric(name + '.num.query.class.CH', pmdaMetric(
+ self.pmid(0, 75),
+ c_api.PM_TYPE_U64, c_api.PM_INDOM_NULL, c_api.PM_SEM_COUNTER,
+ pmUnits(0, 0, 1, 0, 0, c_api.PM_COUNT_ONE)),
+ 'num.query.class.CH')
+
+ self.values['num.query.class.CLASS6'] = 0
+ self.add_metric(name + '.num.query.class.CLASS6', pmdaMetric(
+ self.pmid(0, 76),
+ c_api.PM_TYPE_U64, c_api.PM_INDOM_NULL, c_api.PM_SEM_COUNTER,
+ pmUnits(0, 0, 1, 0, 0, c_api.PM_COUNT_ONE)),
+ 'num.query.class.CLASS6')
+
+ self.values['num.query.class.CLASS65'] = 0
+ self.add_metric(name + '.num.query.class.CLASS65', pmdaMetric(
+ self.pmid(0, 77),
+ c_api.PM_TYPE_U64, c_api.PM_INDOM_NULL, c_api.PM_SEM_COUNTER,
+ pmUnits(0, 0, 1, 0, 0, c_api.PM_COUNT_ONE)),
+ 'num.query.class.CLASS65')
+
+ self.values['num.query.class.CLASS115'] = 0
+ self.add_metric(name + '.num.query.class.CLASS115', pmdaMetric(
+ self.pmid(0, 78),
+ c_api.PM_TYPE_U64, c_api.PM_INDOM_NULL, c_api.PM_SEM_COUNTER,
+ pmUnits(0, 0, 1, 0, 0, c_api.PM_COUNT_ONE)),
+ 'num.query.class.CLASS115')
+
+ self.values['num.query.class.CLASS240'] = 0
+ self.add_metric(name + '.num.query.class.CLASS240', pmdaMetric(
+ self.pmid(0, 79),
+ c_api.PM_TYPE_U64, c_api.PM_INDOM_NULL, c_api.PM_SEM_COUNTER,
+ pmUnits(0, 0, 1, 0, 0, c_api.PM_COUNT_ONE)),
+ 'num.query.class.CLASS240')
+
+ self.values['num.query.class.ANY'] = 0
+ self.add_metric(name + '.num.query.class.ANY', pmdaMetric(
+ self.pmid(0, 80),
+ c_api.PM_TYPE_U64, c_api.PM_INDOM_NULL, c_api.PM_SEM_COUNTER,
+ pmUnits(0, 0, 1, 0, 0, c_api.PM_COUNT_ONE)),
+ 'num.query.class.ANY')
+
+ self.values['num.query.class.other'] = 0
+ self.add_metric(name + '.num.query.class.other', pmdaMetric(
+ self.pmid(0, 81),
+ c_api.PM_TYPE_U64, c_api.PM_INDOM_NULL, c_api.PM_SEM_COUNTER,
+ pmUnits(0, 0, 1, 0, 0, c_api.PM_COUNT_ONE)),
+ 'num.query.class.other')
+
+ self.values['num.query.opcode.QUERY'] = 0
+ self.add_metric(name + '.num.query.opcode.QUERY', pmdaMetric(
+ self.pmid(0, 82),
+ c_api.PM_TYPE_U64, c_api.PM_INDOM_NULL, c_api.PM_SEM_COUNTER,
+ pmUnits(0, 0, 1, 0, 0, c_api.PM_COUNT_ONE)),
+ 'num.query.opcode.QUERY')
+
+ self.values['num.query.tcp'] = 0
+ self.add_metric(name + '.num.query.tcp', pmdaMetric(
+ self.pmid(0, 83),
+ c_api.PM_TYPE_U64, c_api.PM_INDOM_NULL, c_api.PM_SEM_COUNTER,
+ pmUnits(0, 0, 1, 0, 0, c_api.PM_COUNT_ONE)),
+ 'num.query.tcp')
+
+ self.values['num.query.ipv6'] = 0
+ self.add_metric(name + '.num.query.ipv6', pmdaMetric(
+ self.pmid(0, 84),
+ c_api.PM_TYPE_U64, c_api.PM_INDOM_NULL, c_api.PM_SEM_COUNTER,
+ pmUnits(0, 0, 1, 0, 0, c_api.PM_COUNT_ONE)),
+ 'num.query.ipv6')
+
+ self.values['num.query.flags.QR'] = 0
+ self.add_metric(name + '.num.query.flags.QR', pmdaMetric(
+ self.pmid(0, 85),
+ c_api.PM_TYPE_U64, c_api.PM_INDOM_NULL, c_api.PM_SEM_COUNTER,
+ pmUnits(0, 0, 1, 0, 0, c_api.PM_COUNT_ONE)),
+ 'num.query.flags.QR')
+
+ self.values['num.query.flags.AA'] = 0
+ self.add_metric(name + '.num.query.flags.AA', pmdaMetric(
+ self.pmid(0, 86),
+ c_api.PM_TYPE_U64, c_api.PM_INDOM_NULL, c_api.PM_SEM_COUNTER,
+ pmUnits(0, 0, 1, 0, 0, c_api.PM_COUNT_ONE)),
+ 'num.query.flags.AA')
+
+ self.values['num.query.flags.TC'] = 0
+ self.add_metric(name + '.num.query.flags.TC', pmdaMetric(
+ self.pmid(0, 87),
+ c_api.PM_TYPE_U64, c_api.PM_INDOM_NULL, c_api.PM_SEM_COUNTER,
+ pmUnits(0, 0, 1, 0, 0, c_api.PM_COUNT_ONE)),
+ 'num.query.flags.TC')
+
+ self.values['num.query.flags.RD'] = 0
+ self.add_metric(name + '.num.query.flags.RD', pmdaMetric(
+ self.pmid(0, 88),
+ c_api.PM_TYPE_U64, c_api.PM_INDOM_NULL, c_api.PM_SEM_COUNTER,
+ pmUnits(0, 0, 1, 0, 0, c_api.PM_COUNT_ONE)),
+ 'num.query.flags.RD')
+
+ self.values['num.query.flags.RA'] = 0
+ self.add_metric(name + '.num.query.flags.RA', pmdaMetric(
+ self.pmid(0, 89),
+ c_api.PM_TYPE_U64, c_api.PM_INDOM_NULL, c_api.PM_SEM_COUNTER,
+ pmUnits(0, 0, 1, 0, 0, c_api.PM_COUNT_ONE)),
+ 'num.query.flags.RA')
+
+ self.values['num.query.flags.Z'] = 0
+ self.add_metric(name + '.num.query.flags.Z', pmdaMetric(
+ self.pmid(0, 90),
+ c_api.PM_TYPE_U64, c_api.PM_INDOM_NULL, c_api.PM_SEM_COUNTER,
+ pmUnits(0, 0, 1, 0, 0, c_api.PM_COUNT_ONE)),
+ 'num.query.flags.Z')
+
+ self.values['num.query.flags.AD'] = 0
+ self.add_metric(name + '.num.query.flags.AD', pmdaMetric(
+ self.pmid(0, 91),
+ c_api.PM_TYPE_U64, c_api.PM_INDOM_NULL, c_api.PM_SEM_COUNTER,
+ pmUnits(0, 0, 1, 0, 0, c_api.PM_COUNT_ONE)),
+ 'num.query.flags.AD')
+
+ self.values['num.query.flags.CD'] = 0
+ self.add_metric(name + '.num.query.flags.CD', pmdaMetric(
+ self.pmid(0, 92),
+ c_api.PM_TYPE_U64, c_api.PM_INDOM_NULL, c_api.PM_SEM_COUNTER,
+ pmUnits(0, 0, 1, 0, 0, c_api.PM_COUNT_ONE)),
+ 'num.query.flags.CD')
+
+ self.values['num.query.edns.present'] = 0
+ self.add_metric(name + '.num.query.edns.present', pmdaMetric(
+ self.pmid(0, 93),
+ c_api.PM_TYPE_U64, c_api.PM_INDOM_NULL, c_api.PM_SEM_COUNTER,
+ pmUnits(0, 0, 1, 0, 0, c_api.PM_COUNT_ONE)),
+ 'num.query.edns.present')
+
+ self.values['num.query.edns.DO'] = 0
+ self.add_metric(name + '.num.query.edns.DO', pmdaMetric(
+ self.pmid(0, 94),
+ c_api.PM_TYPE_U64, c_api.PM_INDOM_NULL, c_api.PM_SEM_COUNTER,
+ pmUnits(0, 0, 1, 0, 0, c_api.PM_COUNT_ONE)),
+ 'num.query.edns.DO')
+
+ self.values['mem.total.sbrk'] = 0
+ self.add_metric(name + '.mem.total.sbrk', pmdaMetric(
+ self.pmid(0, 95),
+ c_api.PM_TYPE_U64, c_api.PM_INDOM_NULL, c_api.PM_SEM_INSTANT,
+ pmUnits(1, 0, 0, c_api.PM_SPACE_BYTE, 0, 0)),
+ 'Estimate of the heap size of the program in number of bytes.')
+
+ self.values['mem.cache.rrset'] = 0
+ self.add_metric(name + '.mem.cache.rrset', pmdaMetric(
+ self.pmid(0, 96),
+ c_api.PM_TYPE_U64, c_api.PM_INDOM_NULL, c_api.PM_SEM_INSTANT,
+ pmUnits(1, 0, 0, c_api.PM_SPACE_BYTE, 0, 0)),
+ 'Memory in bytes in use by the RRset cache.')
+
+ self.values['mem.cache.message'] = 0
+ self.add_metric(name + '.mem.cache.message', pmdaMetric(
+ self.pmid(0, 97),
+ c_api.PM_TYPE_U64, c_api.PM_INDOM_NULL, c_api.PM_SEM_INSTANT,
+ pmUnits(1, 0, 0, c_api.PM_SPACE_BYTE, 0, 0)),
+ 'Memory in bytes in use by the message cache.')
+
+ self.values['mem.mod.iterator'] = 0
+ self.add_metric(name + '.mem.mod.iterator', pmdaMetric(
+ self.pmid(0, 98),
+ c_api.PM_TYPE_U64, c_api.PM_INDOM_NULL, c_api.PM_SEM_INSTANT,
+ pmUnits(1, 0, 0, c_api.PM_SPACE_BYTE, 0, 0)),
+ 'Memory in bytes in use by the iterator module.')
+
+ self.values['mem.mod.validator'] = 0
+ self.add_metric(name + '.mem.mod.validator', pmdaMetric(
+ self.pmid(0, 99),
+ c_api.PM_TYPE_U64, c_api.PM_INDOM_NULL, c_api.PM_SEM_INSTANT,
+ pmUnits(1, 0, 0, c_api.PM_SPACE_BYTE, 0, 0)),
+ 'Memory in bytes in use by the validator module.')
+
+ self.values['histogram.000000_000000_to_000000_000001'] = 0
+ self.add_metric(name + '.histogram.000000_000000_to_000000_000001', pmdaMetric(
+ self.pmid(0, 100),
+ c_api.PM_TYPE_U64, c_api.PM_INDOM_NULL, c_api.PM_SEM_COUNTER,
+ pmUnits(0, 0, 1, 0, 0, c_api.PM_COUNT_ONE)),
+ 'Recursive queries whose reply time fit between the lower and upper bound.')
+
+ self.values['histogram.000000_000001_to_000000_000002'] = 0
+ self.add_metric(name + '.histogram.000000_000001_to_000000_000002', pmdaMetric(
+ self.pmid(0, 101),
+ c_api.PM_TYPE_U64, c_api.PM_INDOM_NULL, c_api.PM_SEM_COUNTER,
+ pmUnits(0, 0, 1, 0, 0, c_api.PM_COUNT_ONE)),
+ 'Recursive queries whose reply time fit between the lower and upper bound.')
+
+ self.values['histogram.000000_000002_to_000000_000004'] = 0
+ self.add_metric(name + '.histogram.000000_000002_to_000000_000004', pmdaMetric(
+ self.pmid(0, 102),
+ c_api.PM_TYPE_U64, c_api.PM_INDOM_NULL, c_api.PM_SEM_COUNTER,
+ pmUnits(0, 0, 1, 0, 0, c_api.PM_COUNT_ONE)),
+ 'Recursive queries whose reply time fit between the lower and upper bound.')
+
+ self.values['histogram.000000_000004_to_000000_000008'] = 0
+ self.add_metric(name + '.histogram.000000_000004_to_000000_000008', pmdaMetric(
+ self.pmid(0, 103),
+ c_api.PM_TYPE_U64, c_api.PM_INDOM_NULL, c_api.PM_SEM_COUNTER,
+ pmUnits(0, 0, 1, 0, 0, c_api.PM_COUNT_ONE)),
+ 'Recursive queries whose reply time fit between the lower and upper bound.')
+
+ self.values['histogram.000000_000008_to_000000_000016'] = 0
+ self.add_metric(name + '.histogram.000000_000008_to_000000_000016', pmdaMetric(
+ self.pmid(0, 104),
+ c_api.PM_TYPE_U64, c_api.PM_INDOM_NULL, c_api.PM_SEM_COUNTER,
+ pmUnits(0, 0, 1, 0, 0, c_api.PM_COUNT_ONE)),
+ 'Recursive queries whose reply time fit between the lower and upper bound.')
+
+ self.values['histogram.000000_000016_to_000000_000032'] = 0
+ self.add_metric(name + '.histogram.000000_000016_to_000000_000032', pmdaMetric(
+ self.pmid(0, 105),
+ c_api.PM_TYPE_U64, c_api.PM_INDOM_NULL, c_api.PM_SEM_COUNTER,
+ pmUnits(0, 0, 1, 0, 0, c_api.PM_COUNT_ONE)),
+ 'Recursive queries whose reply time fit between the lower and upper bound.')
+
+ self.values['histogram.000000_000032_to_000000_000064'] = 0
+ self.add_metric(name + '.histogram.000000_000032_to_000000_000064', pmdaMetric(
+ self.pmid(0, 106),
+ c_api.PM_TYPE_U64, c_api.PM_INDOM_NULL, c_api.PM_SEM_COUNTER,
+ pmUnits(0, 0, 1, 0, 0, c_api.PM_COUNT_ONE)),
+ 'Recursive queries whose reply time fit between the lower and upper bound.')
+
+ self.values['histogram.000000_000064_to_000000_000128'] = 0
+ self.add_metric(name + '.histogram.000000_000064_to_000000_000128', pmdaMetric(
+ self.pmid(0, 107),
+ c_api.PM_TYPE_U64, c_api.PM_INDOM_NULL, c_api.PM_SEM_COUNTER,
+ pmUnits(0, 0, 1, 0, 0, c_api.PM_COUNT_ONE)),
+ 'Recursive queries whose reply time fit between the lower and upper bound.')
+
+ self.values['histogram.000000_000128_to_000000_000256'] = 0
+ self.add_metric(name + '.histogram.000000_000128_to_000000_000256', pmdaMetric(
+ self.pmid(0, 108),
+ c_api.PM_TYPE_U64, c_api.PM_INDOM_NULL, c_api.PM_SEM_COUNTER,
+ pmUnits(0, 0, 1, 0, 0, c_api.PM_COUNT_ONE)),
+ 'Recursive queries whose reply time fit between the lower and upper bound.')
+
+ self.values['histogram.000000_000256_to_000000_000512'] = 0
+ self.add_metric(name + '.histogram.000000_000256_to_000000_000512', pmdaMetric(
+ self.pmid(0, 109),
+ c_api.PM_TYPE_U64, c_api.PM_INDOM_NULL, c_api.PM_SEM_COUNTER,
+ pmUnits(0, 0, 1, 0, 0, c_api.PM_COUNT_ONE)),
+ 'Recursive queries whose reply time fit between the lower and upper bound.')
+
+ self.values['histogram.000000_000512_to_000000_001024'] = 0
+ self.add_metric(name + '.histogram.000000_000512_to_000000_001024', pmdaMetric(
+ self.pmid(0, 110),
+ c_api.PM_TYPE_U64, c_api.PM_INDOM_NULL, c_api.PM_SEM_COUNTER,
+ pmUnits(0, 0, 1, 0, 0, c_api.PM_COUNT_ONE)),
+ 'Recursive queries whose reply time fit between the lower and upper bound.')
+
+ self.values['histogram.000000_001024_to_000000_002048'] = 0
+ self.add_metric(name + '.histogram.000000_001024_to_000000_002048', pmdaMetric(
+ self.pmid(0, 111),
+ c_api.PM_TYPE_U64, c_api.PM_INDOM_NULL, c_api.PM_SEM_COUNTER,
+ pmUnits(0, 0, 1, 0, 0, c_api.PM_COUNT_ONE)),
+ 'Recursive queries whose reply time fit between the lower and upper bound.')
+
+ self.values['histogram.000000_002048_to_000000_004096'] = 0
+ self.add_metric(name + '.histogram.000000_002048_to_000000_004096', pmdaMetric(
+ self.pmid(0, 112),
+ c_api.PM_TYPE_U64, c_api.PM_INDOM_NULL, c_api.PM_SEM_COUNTER,
+ pmUnits(0, 0, 1, 0, 0, c_api.PM_COUNT_ONE)),
+ 'Recursive queries whose reply time fit between the lower and upper bound.')
+
+ self.values['histogram.000000_004096_to_000000_008192'] = 0
+ self.add_metric(name + '.histogram.000000_004096_to_000000_008192', pmdaMetric(
+ self.pmid(0, 113),
+ c_api.PM_TYPE_U64, c_api.PM_INDOM_NULL, c_api.PM_SEM_COUNTER,
+ pmUnits(0, 0, 1, 0, 0, c_api.PM_COUNT_ONE)),
+ 'Recursive queries whose reply time fit between the lower and upper bound.')
+
+ self.values['histogram.000000_008192_to_000000_016384'] = 0
+ self.add_metric(name + '.histogram.000000_008192_to_000000_016384', pmdaMetric(
+ self.pmid(0, 114),
+ c_api.PM_TYPE_U64, c_api.PM_INDOM_NULL, c_api.PM_SEM_COUNTER,
+ pmUnits(0, 0, 1, 0, 0, c_api.PM_COUNT_ONE)),
+ 'Recursive queries whose reply time fit between the lower and upper bound.')
+
+ self.values['histogram.000000_016384_to_000000_032768'] = 0
+ self.add_metric(name + '.histogram.000000_016384_to_000000_032768', pmdaMetric(
+ self.pmid(0, 115),
+ c_api.PM_TYPE_U64, c_api.PM_INDOM_NULL, c_api.PM_SEM_COUNTER,
+ pmUnits(0, 0, 1, 0, 0, c_api.PM_COUNT_ONE)),
+ 'Recursive queries whose reply time fit between the lower and upper bound.')
+
+ self.values['histogram.000000_032768_to_000000_065536'] = 0
+ self.add_metric(name + '.histogram.000000_032768_to_000000_065536', pmdaMetric(
+ self.pmid(0, 116),
+ c_api.PM_TYPE_U64, c_api.PM_INDOM_NULL, c_api.PM_SEM_COUNTER,
+ pmUnits(0, 0, 1, 0, 0, c_api.PM_COUNT_ONE)),
+ 'Recursive queries whose reply time fit between the lower and upper bound.')
+
+ self.values['histogram.000000_065536_to_000000_131072'] = 0
+ self.add_metric(name + '.histogram.000000_065536_to_000000_131072', pmdaMetric(
+ self.pmid(0, 117),
+ c_api.PM_TYPE_U64, c_api.PM_INDOM_NULL, c_api.PM_SEM_COUNTER,
+ pmUnits(0, 0, 1, 0, 0, c_api.PM_COUNT_ONE)),
+ 'Recursive queries whose reply time fit between the lower and upper bound.')
+
+ self.values['histogram.000000_131072_to_000000_262144'] = 0
+ self.add_metric(name + '.histogram.000000_131072_to_000000_262144', pmdaMetric(
+ self.pmid(0, 118),
+ c_api.PM_TYPE_U64, c_api.PM_INDOM_NULL, c_api.PM_SEM_COUNTER,
+ pmUnits(0, 0, 1, 0, 0, c_api.PM_COUNT_ONE)),
+ 'Recursive queries whose reply time fit between the lower and upper bound.')
+
+ self.values['histogram.000000_262144_to_000000_524288'] = 0
+ self.add_metric(name + '.histogram.000000_262144_to_000000_524288', pmdaMetric(
+ self.pmid(0, 119),
+ c_api.PM_TYPE_U64, c_api.PM_INDOM_NULL, c_api.PM_SEM_COUNTER,
+ pmUnits(0, 0, 1, 0, 0, c_api.PM_COUNT_ONE)),
+ 'Recursive queries whose reply time fit between the lower and upper bound.')
+
+ self.values['histogram.000000_524288_to_000001_000000'] = 0
+ self.add_metric(name + '.histogram.000000_524288_to_000001_000000', pmdaMetric(
+ self.pmid(0, 120),
+ c_api.PM_TYPE_U64, c_api.PM_INDOM_NULL, c_api.PM_SEM_COUNTER,
+ pmUnits(0, 0, 1, 0, 0, c_api.PM_COUNT_ONE)),
+ 'Recursive queries whose reply time fit between the lower and upper bound.')
+
+ self.values['histogram.000001_000000_to_000002_000000'] = 0
+ self.add_metric(name + '.histogram.000001_000000_to_000002_000000', pmdaMetric(
+ self.pmid(0, 121),
+ c_api.PM_TYPE_U64, c_api.PM_INDOM_NULL, c_api.PM_SEM_COUNTER,
+ pmUnits(0, 0, 1, 0, 0, c_api.PM_COUNT_ONE)),
+ 'Recursive queries whose reply time fit between the lower and upper bound.')
+
+ self.values['histogram.000002_000000_to_000004_000000'] = 0
+ self.add_metric(name + '.histogram.000002_000000_to_000004_000000', pmdaMetric(
+ self.pmid(0, 122),
+ c_api.PM_TYPE_U64, c_api.PM_INDOM_NULL, c_api.PM_SEM_COUNTER,
+ pmUnits(0, 0, 1, 0, 0, c_api.PM_COUNT_ONE)),
+ 'Recursive queries whose reply time fit between the lower and upper bound.')
+
+ self.values['histogram.000004_000000_to_000008_000000'] = 0
+ self.add_metric(name + '.histogram.000004_000000_to_000008_000000', pmdaMetric(
+ self.pmid(0, 123),
+ c_api.PM_TYPE_U64, c_api.PM_INDOM_NULL, c_api.PM_SEM_COUNTER,
+ pmUnits(0, 0, 1, 0, 0, c_api.PM_COUNT_ONE)),
+ 'Recursive queries whose reply time fit between the lower and upper bound.')
+
+ self.values['histogram.000008_000000_to_000016_000000'] = 0
+ self.add_metric(name + '.histogram.000008_000000_to_000016_000000', pmdaMetric(
+ self.pmid(0, 124),
+ c_api.PM_TYPE_U64, c_api.PM_INDOM_NULL, c_api.PM_SEM_COUNTER,
+ pmUnits(0, 0, 1, 0, 0, c_api.PM_COUNT_ONE)),
+ 'Recursive queries whose reply time fit between the lower and upper bound.')
+
+ self.values['histogram.000016_000000_to_000032_000000'] = 0
+ self.add_metric(name + '.histogram.000016_000000_to_000032_000000', pmdaMetric(
+ self.pmid(0, 125),
+ c_api.PM_TYPE_U64, c_api.PM_INDOM_NULL, c_api.PM_SEM_COUNTER,
+ pmUnits(0, 0, 1, 0, 0, c_api.PM_COUNT_ONE)),
+ 'Recursive queries whose reply time fit between the lower and upper bound.')
+
+ self.values['histogram.000032_000000_to_000064_000000'] = 0
+ self.add_metric(name + '.histogram.000032_000000_to_000064_000000', pmdaMetric(
+ self.pmid(0, 126),
+ c_api.PM_TYPE_U64, c_api.PM_INDOM_NULL, c_api.PM_SEM_COUNTER,
+ pmUnits(0, 0, 1, 0, 0, c_api.PM_COUNT_ONE)),
+ 'Recursive queries whose reply time fit between the lower and upper bound.')
+
+ self.values['histogram.000064_000000_to_000128_000000'] = 0
+ self.add_metric(name + '.histogram.000064_000000_to_000128_000000', pmdaMetric(
+ self.pmid(0, 127),
+ c_api.PM_TYPE_U64, c_api.PM_INDOM_NULL, c_api.PM_SEM_COUNTER,
+ pmUnits(0, 0, 1, 0, 0, c_api.PM_COUNT_ONE)),
+ 'Recursive queries whose reply time fit between the lower and upper bound.')
+
+ self.values['histogram.000128_000000_to_000256_000000'] = 0
+ self.add_metric(name + '.histogram.000128_000000_to_000256_000000', pmdaMetric(
+ self.pmid(0, 128),
+ c_api.PM_TYPE_U64, c_api.PM_INDOM_NULL, c_api.PM_SEM_COUNTER,
+ pmUnits(0, 0, 1, 0, 0, c_api.PM_COUNT_ONE)),
+ 'Recursive queries whose reply time fit between the lower and upper bound.')
+
+ self.values['histogram.000256_000000_to_000512_000000'] = 0
+ self.add_metric(name + '.histogram.000256_000000_to_000512_000000', pmdaMetric(
+ self.pmid(0, 129),
+ c_api.PM_TYPE_U64, c_api.PM_INDOM_NULL, c_api.PM_SEM_COUNTER,
+ pmUnits(0, 0, 1, 0, 0, c_api.PM_COUNT_ONE)),
+ 'Recursive queries whose reply time fit between the lower and upper bound.')
+
+ self.values['histogram.000512_000000_to_001024_000000'] = 0
+ self.add_metric(name + '.histogram.000512_000000_to_001024_000000', pmdaMetric(
+ self.pmid(0, 130),
+ c_api.PM_TYPE_U64, c_api.PM_INDOM_NULL, c_api.PM_SEM_COUNTER,
+ pmUnits(0, 0, 1, 0, 0, c_api.PM_COUNT_ONE)),
+ 'Recursive queries whose reply time fit between the lower and upper bound.')
+
+ self.values['histogram.001024_000000_to_002048_000000'] = 0
+ self.add_metric(name + '.histogram.001024_000000_to_002048_000000', pmdaMetric(
+ self.pmid(0, 131),
+ c_api.PM_TYPE_U64, c_api.PM_INDOM_NULL, c_api.PM_SEM_COUNTER,
+ pmUnits(0, 0, 1, 0, 0, c_api.PM_COUNT_ONE)),
+ 'Recursive queries whose reply time fit between the lower and upper bound.')
+
+ self.values['histogram.002048_000000_to_004096_000000'] = 0
+ self.add_metric(name + '.histogram.002048_000000_to_004096_000000', pmdaMetric(
+ self.pmid(0, 132),
+ c_api.PM_TYPE_U64, c_api.PM_INDOM_NULL, c_api.PM_SEM_COUNTER,
+ pmUnits(0, 0, 1, 0, 0, c_api.PM_COUNT_ONE)),
+ 'Recursive queries whose reply time fit between the lower and upper bound.')
+
+ self.values['histogram.004096_000000_to_008192_000000'] = 0
+ self.add_metric(name + '.histogram.004096_000000_to_008192_000000', pmdaMetric(
+ self.pmid(0, 133),
+ c_api.PM_TYPE_U64, c_api.PM_INDOM_NULL, c_api.PM_SEM_COUNTER,
+ pmUnits(0, 0, 1, 0, 0, c_api.PM_COUNT_ONE)),
+ 'Recursive queries whose reply time fit between the lower and upper bound.')
+
+ self.values['histogram.008192_000000_to_016384_000000'] = 0
+ self.add_metric(name + '.histogram.008192_000000_to_016384_000000', pmdaMetric(
+ self.pmid(0, 134),
+ c_api.PM_TYPE_U64, c_api.PM_INDOM_NULL, c_api.PM_SEM_COUNTER,
+ pmUnits(0, 0, 1, 0, 0, c_api.PM_COUNT_ONE)),
+ 'Recursive queries whose reply time fit between the lower and upper bound.')
+
+ self.values['histogram.016384_000000_to_032768_000000'] = 0
+ self.add_metric(name + '.histogram.016384_000000_to_032768_000000', pmdaMetric(
+ self.pmid(0, 135),
+ c_api.PM_TYPE_U64, c_api.PM_INDOM_NULL, c_api.PM_SEM_COUNTER,
+ pmUnits(0, 0, 1, 0, 0, c_api.PM_COUNT_ONE)),
+ 'Recursive queries whose reply time fit between the lower and upper bound.')
+
+ self.values['histogram.032768_000000_to_065536_000000'] = 0
+ self.add_metric(name + '.histogram.032768_000000_to_065536_000000', pmdaMetric(
+ self.pmid(0, 136),
+ c_api.PM_TYPE_U64, c_api.PM_INDOM_NULL, c_api.PM_SEM_COUNTER,
+ pmUnits(0, 0, 1, 0, 0, c_api.PM_COUNT_ONE)),
+ 'Recursive queries whose reply time fit between the lower and upper bound.')
+
+ self.values['histogram.065536_000000_to_131072_000000'] = 0
+ self.add_metric(name + '.histogram.065536_000000_to_131072_000000', pmdaMetric(
+ self.pmid(0, 137),
+ c_api.PM_TYPE_U64, c_api.PM_INDOM_NULL, c_api.PM_SEM_COUNTER,
+ pmUnits(0, 0, 1, 0, 0, c_api.PM_COUNT_ONE)),
+ 'Recursive queries whose reply time fit between the lower and upper bound.')
+
+ self.values['histogram.131072_000000_to_262144_000000'] = 0
+ self.add_metric(name + '.histogram.131072_000000_to_262144_000000', pmdaMetric(
+ self.pmid(0, 138),
+ c_api.PM_TYPE_U64, c_api.PM_INDOM_NULL, c_api.PM_SEM_COUNTER,
+ pmUnits(0, 0, 1, 0, 0, c_api.PM_COUNT_ONE)),
+ 'Recursive queries whose reply time fit between the lower and upper bound.')
+
+ self.values['histogram.262144_000000_to_524288_000000'] = 0
+ self.add_metric(name + '.histogram.262144_000000_to_524288_000000', pmdaMetric(
+ self.pmid(0, 139),
+ c_api.PM_TYPE_U64, c_api.PM_INDOM_NULL, c_api.PM_SEM_COUNTER,
+ pmUnits(0, 0, 1, 0, 0, c_api.PM_COUNT_ONE)),
+ 'Recursive queries whose reply time fit between the lower and upper bound.')
+
+ def __init__(self, name, domain):
+ PMDA.__init__(self, name, domain)
+ self.patherrors = 0
+ self.fileerrors = 0
+
+ self.values = {}
+ self.setup_unbound_metrics(name)
+ self.nmetrics = len(self.values)
+
+ self.set_fetch(self.unbound_fetch)
+ self.set_fetch_callback(self.unbound_fetch_callback)
+
+
+if __name__ == '__main__':
+ UnboundPMDA('unbound', 132).run()
From debbugs@buxtehude.debian.org Sat Dec 6 08:39:52 2014
Return-Path:
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on oss.sgi.com
X-Spam-Level:
X-Spam-Status: No, score=0.0 required=5.0 tests=FREEMAIL_FROM,T_DKIM_INVALID
autolearn=ham version=3.3.1
X-Original-To: pcp@oss.sgi.com
Delivered-To: pcp@oss.sgi.com
Received: from relay.sgi.com (relay1.corp.sgi.com [137.38.102.111])
by oss.sgi.com (Postfix) with ESMTP id 6CCB67F3F
for ; Sat, 6 Dec 2014 08:39:52 -0600 (CST)
Received: from cuda.sgi.com (cuda2.sgi.com [192.48.176.25])
by relay1.corp.sgi.com (Postfix) with ESMTP id 5BAFB8F8054
for ; Sat, 6 Dec 2014 06:39:49 -0800 (PST)
X-ASG-Debug-ID: 1417876784-04cbb01064382610001-S8gJnT
Received: from buxtehude.debian.org (buxtehude.debian.org [140.211.166.26]) by cuda.sgi.com with ESMTP id Ksx3i7TekeRECVRn (version=TLSv1 cipher=AES128-SHA bits=128 verify=NO) for ; Sat, 06 Dec 2014 06:39:45 -0800 (PST)
X-Barracuda-Envelope-From: debbugs@buxtehude.debian.org
X-Barracuda-Apparent-Source-IP: 140.211.166.26
Received: from debbugs by buxtehude.debian.org with local (Exim 4.80)
(envelope-from )
id 1XxGWL-0000po-Ut; Sat, 06 Dec 2014 14:39:41 +0000
X-Loop: owner@bugs.debian.org
Subject: Bug#772352: pcp-testsuite: bashism in /bin/sh script
Reply-To: Raphael Geissert ,
772352-maintonly@bugs.debian.org
X-ASG-Orig-Subj: Bug#772352: pcp-testsuite: bashism in /bin/sh script
Resent-From: Raphael Geissert
Resent-To: PCP Development Team
Resent-Date: Sat, 06 Dec 2014 14:39:37 +0000
Resent-Message-ID:
X-Loop: owner@bugs.debian.org
X-Debian-PR-Message: report 772352
X-Debian-PR-Package: pcp-testsuite
X-Debian-PR-Keywords:
X-Debian-PR-Source: pcp
Received: via spool by maintonly@bugs.debian.org id=M.14178765441338
(code M); Sat, 06 Dec 2014 14:39:37 +0000
Received: (at maintonly) by bugs.debian.org; 6 Dec 2014 14:35:44 +0000
Received: from mail-wi0-f178.google.com ([209.85.212.178])
by buxtehude.debian.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:128)
(Exim 4.80)
(envelope-from )
id 1XxGSV-0000Kg-QX
for maintonly@bugs.debian.org; Sat, 06 Dec 2014 14:35:43 +0000
Received: by mail-wi0-f178.google.com with SMTP id em10so1153456wid.17
for ; Sat, 06 Dec 2014 06:35:37 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20120113;
h=from:to:subject:date:message-id:mime-version
:content-transfer-encoding:content-type:user-agent;
bh=BXX8FvUml4yfcrOA+4hB/tlNnpNFzffr8beKZVxcwWc=;
b=PYEdIcI0alJfbR9eBczPRNqLS+nD48QW8Tu015+M8RiiZXYcCePvjbdhbHSf/CH5cD
78Gn0huGFMIbgdKqV3tsM6Qf45HjfuhGscZ2ohGPk/rT5VGPQFiAhrtqq42Iqx4l9u+7
Czn4DV2AcwzeFMZQ6V9XHfhpLugVff2s42LQahTXNJg1LOAc7XlOjy0GFFuTrp/Kn05Z
kO2YBCjqvQqrOhTZ5ezJx6zJ+aMUUB8IJIOtxE2EUoSlIfspNAmwiPNE6LdgHQeCdBVF
+aM3GWbHwBLU8QGn9ICR88ZRoFk/ZS0q7GlluBHGPR/qZq9vr5wernx+pl9+ZjENUsUN
YCMQ==
X-Received: by 10.180.101.200 with SMTP id fi8mr11700641wib.77.1417876537290;
Sat, 06 Dec 2014 06:35:37 -0800 (PST)
Received: from eee.localnet (ALyon-657-1-773-161.w80-9.abo.wanadoo.fr. [80.9.47.161])
by mx.google.com with ESMTPSA id kn5sm48893169wjb.48.2014.12.06.06.35.36
for
(version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128);
Sat, 06 Dec 2014 06:35:36 -0800 (PST)
From: Raphael Geissert
To: maintonly@bugs.debian.org
Date: Sat, 06 Dec 2014 15:18:11 +0100
Message-ID: <2921777.zMJX8HLXCu@eee>
MIME-Version: 1.0
Content-Transfer-Encoding: 7Bit
Content-Type: text/plain; charset="us-ascii"
User-Agent: KMail/1.13.7 (Linux/2.6.38; KDE/4.8.4; i686; ; )
Delivered-To: maintonly@bugs.debian.org
X-Barracuda-Connect: buxtehude.debian.org[140.211.166.26]
X-Barracuda-Start-Time: 1417876784
X-Barracuda-Encrypted: AES128-SHA
X-Barracuda-URL: http://192.48.176.25:80/cgi-mod/mark.cgi
X-Virus-Scanned: by bsmtpd at sgi.com
X-Barracuda-BRTS-Status: 1
X-Barracuda-Spam-Score: 0.00
X-Barracuda-Spam-Status: No, SCORE=0.00 using per-user scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.7 tests=BSF_SC0_MISMATCH_TO, DKIM_SIGNED
X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.3.12523
Rule breakdown below
pts rule name description
---- ---------------------- --------------------------------------------------
0.00 BSF_SC0_MISMATCH_TO Envelope rcpt doesn't match header
0.00 DKIM_SIGNED Domain Keys Identified Mail: message has a signature
Package: pcp-testsuite
Severity: important
Version: 3.10.1
User: debian-release@lists.debian.org
Usertags: goal-dash
Hi,
I've ran checkbashisms (from the 'devscripts' package) over the whole
archive and I found that your package has a /bin/sh script that uses a
"bashism".
checkbashisms' output:
> possible bashism in ./var/lib/pcp/testsuite/751 line 19 (echo -e):
> echo -e 'log mandatory on once {
> possible bashism in ./var/lib/pcp/testsuite/751 line 42 (echo -e):
> echo -e "\nold -> new changes"
> possible bashism in ./var/lib/pcp/testsuite/180 line 72 (time):
> (time pmval -z -n $tmp.pmns -a $arch -t $DELTA foo) >$tmp.out 2>$tmp.err
> possible bashism in ./var/lib/pcp/testsuite/180 line 82 (time):
> (time pmval -z -i 4653127 -n $tmp.pmns -a $arch -t $DELTA foo) >$tmp.out
> 2>$tmp.err
Not using bash (or a Debian Policy compliant shell interpreter that doesn't
provide such an extra feature) as /bin/sh is likely to lead to errors or
unexpected behaviours. Please be aware that dash is the default /bin/sh.
Please closely examine the above output and the script, and determine
what the proper severity of the bug is, and adjust it accordingly. If
it's important or greater please hurry to get this fixed for jessie.
Hints about how to fix bashisms can be found at:
https://wiki.ubuntu.com/DashAsBinSh
Thanks in advance,
Raphael Geissert
From chandana@messagemedia.com.au Sat Dec 6 14:43:09 2014
Return-Path:
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on oss.sgi.com
X-Spam-Level:
X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=ham
version=3.3.1
X-Original-To: pcp@oss.sgi.com
Delivered-To: pcp@oss.sgi.com
Received: from relay.sgi.com (relay3.corp.sgi.com [198.149.34.15])
by oss.sgi.com (Postfix) with ESMTP id 427FD7F3F
for ; Sat, 6 Dec 2014 14:43:09 -0600 (CST)
Received: from cuda.sgi.com (cuda3.sgi.com [192.48.176.15])
by relay3.corp.sgi.com (Postfix) with ESMTP id C6998AC002
for ; Sat, 6 Dec 2014 12:43:08 -0800 (PST)
X-ASG-Debug-ID: 1417898582-04cb6c0572126b370001-S8gJnT
Received: from na01-by2-obe.outbound.protection.outlook.com (mail-by2on0096.outbound.protection.outlook.com [207.46.100.96]) by cuda.sgi.com with ESMTP id LRRs3AJXCFY1cWB1 (version=TLSv1 cipher=AES256-SHA bits=256 verify=NO) for ; Sat, 06 Dec 2014 12:43:03 -0800 (PST)
X-Barracuda-Envelope-From: chandana@messagemedia.com.au
X-Barracuda-Apparent-Source-IP: 207.46.100.96
Received: from BN3PR0301MB1268.namprd03.prod.outlook.com (25.161.209.148) by
BN3PR0301MB0884.namprd03.prod.outlook.com (25.160.155.146) with Microsoft
SMTP Server (TLS) id 15.1.31.17; Sat, 6 Dec 2014 20:43:00 +0000
Received: from BN3PR0301MB1267.namprd03.prod.outlook.com (25.161.209.147) by
BN3PR0301MB1268.namprd03.prod.outlook.com (25.161.209.148) with Microsoft
SMTP Server (TLS) id 15.1.31.17; Sat, 6 Dec 2014 20:42:58 +0000
Received: from BN3PR0301MB1267.namprd03.prod.outlook.com ([25.161.209.147]) by
BN3PR0301MB1267.namprd03.prod.outlook.com ([25.161.209.147]) with mapi id
15.01.0031.000; Sat, 6 Dec 2014 20:42:58 +0000
From: Chandana De Silva
To: "fche@redhat.com"
CC: "pcp@oss.sgi.com"
Subject: Re: pmwebd: Defining the directory for PCP Archives
Thread-Topic: pmwebd: Defining the directory for PCP Archives
X-ASG-Orig-Subj: Re: pmwebd: Defining the directory for PCP Archives
Thread-Index: AQHQEZU3Khfw7wOfZESNSfc6vUYZoA==
Date: Sat, 6 Dec 2014 20:42:56 +0000
Message-ID: <1417898573.20915.7.camel@tardis>
References: <1417459116.12396.15.camel@tardis>
<1417499687.17867.23.camel@tardis> <20141202121245.GP5088@redhat.com>
<1417556631.941.12.camel@tardis> <20141202230914.GQ5088@redhat.com>
<1417647290.948.20.camel@tardis> <20141205151437.GD5088@redhat.com>
In-Reply-To: <20141205151437.GD5088@redhat.com>
Accept-Language: en-AU, en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [211.31.205.122]
x-microsoft-antispam: BCL:0;PCL:0;RULEID:;SRVR:BN3PR0301MB1268;UriScan:;
x-exchange-antispam-report-test: UriScan:;
x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:;SRVR:BN3PR0301MB1268;
x-forefront-prvs: 0417A3FFD2
x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(6009001)(189002)(24454002)(51704005)(377424004)(199003)(20776003)(2501002)(105586002)(4396001)(66066001)(68736005)(110136001)(33716001)(64706001)(15975445007)(102836002)(97736003)(87936001)(106356001)(2656002)(74482002)(106116001)(31966008)(2351001)(99286002)(77156002)(62966003)(21056001)(107046002)(92566001)(50986999)(19625305001)(54356999)(76176999)(86362001)(101416001)(33646002)(46102003)(93886004)(19580395003)(40100003)(99396003)(120916001)(122556002);DIR:OUT;SFP:1101;SCL:1;SRVR:BN3PR0301MB1268;H:BN3PR0301MB1267.namprd03.prod.outlook.com;FPR:;SPF:None;MLV:sfv;PTR:InfoNoRecords;MX:1;A:1;LANG:en;
Content-Type: text/plain; charset="utf-8"
Content-ID: <86EE406C81741A4BA917E0D502D2193F@namprd03.prod.outlook.com>
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-Microsoft-Antispam: BCL:0;PCL:0;RULEID:;SRVR:BN3PR0301MB0884;
X-OriginatorOrg: messagemedia.com.au
X-Barracuda-Connect: mail-by2on0096.outbound.protection.outlook.com[207.46.100.96]
X-Barracuda-Start-Time: 1417898582
X-Barracuda-Encrypted: AES256-SHA
X-Barracuda-URL: http://192.48.176.15:80/cgi-mod/mark.cgi
X-Virus-Scanned: by bsmtpd at sgi.com
X-Barracuda-BRTS-Status: 1
X-Barracuda-Spam-Score: 0.52
X-Barracuda-Spam-Status: No, SCORE=0.52 using per-user scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.7 tests=BSF_SC0_MISMATCH_TO, THREAD_INDEX, THREAD_TOPIC, WEIRD_PORT
X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.3.12533
Rule breakdown below
pts rule name description
---- ---------------------- --------------------------------------------------
0.01 THREAD_INDEX thread-index: AcO7Y8iR61tzADqsRmmc5wNiFHEOig==
0.01 THREAD_TOPIC Thread-Topic: ...(Japanese Subject)...
0.00 BSF_SC0_MISMATCH_TO Envelope rcpt doesn't match header
0.50 WEIRD_PORT URI: Uses non-standard port number for HTTP
SGVsbG8gRnJhbmssDQoNCkkgaGF2ZSBiZWVuIHZlcnkgY2FyZWZ1bCBhbmQgY2xpY2tlZCBvbmx5
IG9uY2UuDQpFYWNoIHRpbWUgSSBjbGljaywgSSBzZWUgdGhlIGljb24gb24gdGhlIEdyYXBoaXRl
IGNvbXBvc2VyIHdpbmRvdyBibGluaywNCmFuZCB0aGUgZm9sbG93aW5nIGVudHJpZXMgaW4gdGhl
IGxvZw0KW1NhdCBEZWMgIDYgMjA6MzQ6NThdIHBtd2ViZCgyOTkzKTogWzEwLjE3LjEuMTg6MzY0
MzBdIEhUVFAvMS4xIEdFVCAvZ3JhcGhpdGUvcmVuZGVyLyBfc2FsdD0xNDE3ODk4MDk4LjY0MiBo
ZWlnaHQ9NDIxIHRhcmdldD0tMkYtdmFyLTJGLWxvZ2RhdGEtMkYtcG1sb2dnZXItMkYtYXJjaGRi
MS0yRS1wcmQtMkUtbWVsLTJGLTIwMTQxMTIxLTJFLW1ldGEubXlzcWwuc3RhdHVzLmFib3J0ZWRf
Y2xpZW50cyB0YXJnZXQ9LTJGLXZhci0yRi1sb2dkYXRhLTJGLXBtbG9nZ2VyLTJGLWFyY2hkYjEt
MkUtcHJkLTJFLW1lbC0yRi0yMDE0MTEyMS0yRS1tZXRhLmRpc2suYWxsLmF2YWN0aXZlIHdpZHRo
PTUzMw0KW1NhdCBEZWMgIDYgMjA6MzQ6NThdIHBtd2ViZCgyOTkzKTogWzEwLjE3LjEuMTg6MzY0
MzBdIFNlYXJjaGluZyBmb3IgYXJjaGl2ZXMgdW5kZXIgL3Zhci9sb2dkYXRhL3BtbG9nZ2VyLw0K
W1NhdCBEZWMgIDYgMjA6MzQ6NThdIHBtd2ViZCgyOTkzKTogWzEwLjE3LjEuMTg6MzY0MzBdIGVu
dW1lcmF0ZWQgMSBtZXRyaWNzDQpbU2F0IERlYyAgNiAyMDozNDo1OF0gcG13ZWJkKDI5OTMpOiBb
MTAuMTcuMS4xODozNjQzMF0gU2VhcmNoaW5nIGZvciBhcmNoaXZlcyB1bmRlciAvdmFyL2xvZ2Rh
dGEvcG1sb2dnZXIvDQpbU2F0IERlYyAgNiAyMDozNDo1OF0gcG13ZWJkKDI5OTMpOiBbMTAuMTcu
MS4xODozNjQzMF0gZW51bWVyYXRlZCAxIG1ldHJpY3MNCltTYXQgRGVjICA2IDIwOjM0OjU4XSBw
bXdlYmQoMjk5Myk6IFsxMC4xNy4xLjE4OjM2NDMwXSBkaWdlc3RlZCAyIG1ldHJpY3MsIHRpbWVz
cGFuIFsxNDE3ODExNjk4LTE0MTc4OTgwOTggYnkgODVdLCBpbiAzLjQ1OW1zDQoNClRoZSBpY29u
IG9uIHRoZSBHcmFwaGl0ZSBjb21wb3NlIHBvaW50cyB0byA6DQpodHRwOi8vcG1sb2cuaW5mLm1l
bC5tbWQ6NDQzMjMvZ3JhcGhpdGUvcmVuZGVyLz93aWR0aD01MzMmaGVpZ2h0PTQyMSZfc2FsdD0x
NDE3ODk4MDk4LjY0MiZ0YXJnZXQ9LTJGLXZhci0yRi1sb2dkYXRhLTJGLXBtbG9nZ2VyLTJGLWFy
Y2hkYjEtMkUtcHJkLTJFLW1lbC0yRi0yMDE0MTEyMS0yRS1tZXRhLm15c3FsLnN0YXR1cy5hYm9y
dGVkX2NsaWVudHMmdGFyZ2V0PS0yRi12YXItMkYtbG9nZGF0YS0yRi1wbWxvZ2dlci0yRi1hcmNo
ZGIxLTJFLXByZC0yRS1tZWwtMkYtMjAxNDExMjEtMkUtbWV0YS5kaXNrLmFsbC5hdmFjdGl2ZQ0K
DQpBbmQgdGhlIG1ldHJpYyBvbiB0aGUgbGVmdCBoYW5kIHdpbmRvdyBwb2ludHMgdG86DQpodHRw
Oi8vcG1sb2cuaW5mLm1lbC5tbWQ6NDQzMjMvZ3JhcGhpdGUvY29tcG9zZXIvaW5kZXguaHRtbD89
DQoNClBsZWFzZSBoZWxwLiBXZSBoYXZlIHB1dCBzb21lIG5ldyBzZXJ2ZXJzIGluIHByb2R1Y3Rp
b24sIGFuZCBoYXZlIGEgcmVhbA0KbmVlZCB0byBkaXNwbGF5IGRhdGEgZnJvbSB0aGVzZS4NCg0K
VGhhbmtzIGFuZCByZWdhcmRzDQpDaGFuZGFuYQ0KDQoNCk9uIEZyaSwgMjAxNC0xMi0wNSBhdCAx
MDoxNCAtMDUwMCwgRnJhbmsgQ2guIEVpZ2xlciB3cm90ZToNCj4gSGksIENoYW5kYW5hIC0NCj4g
DQo+IE9uIFRodSwgRGVjIDA0LCAyMDE0IGF0IDA5OjU0OjUwQU0gKzExMDAsIENoYW5kYW5hIERl
IFNpbHZhIHdyb3RlOg0KPiA+IFsuLi5dDQo+ID4gQWRkZWQgdmVyYm9zaXR5LCBhbmQgdHJpZWQg
Og0KPiA+IFtXZWQgRGVjICAzIDIyOjUwOjA5XSBwbXdlYmQoMTc3NzIpOiBbMTAuMTcuMS4xODo1
NTIyMF0gSFRUUC8xLjEgR0VUIC9ncmFwaGl0ZS9yZW5kZXIvIF9zYWx0PTE0MTc2NDcwMDkuODEy
IGhlaWdodD0zMDggdGFyZ2V0PS0yRi12YXItMkYtbG9nZGF0YS0yRi1wbWxvZ2dlci0yRi1hcmNo
ZGIxLTJFLXByZC0yRS1tZWwtMkYtMjAxNDExMTgtMkUtbWV0YS5kaXNrLmFsbC5hdmFjdGl2ZSB3
aWR0aD01ODYNCj4gPiBbV2VkIERlYyAgMyAyMjo1MDowOV0gcG13ZWJkKDE3NzcyKTogWzEwLjE3
LjEuMTg6NTUyMjBdIFNlYXJjaGluZyBmb3IgYXJjaGl2ZXMgdW5kZXIgL3Zhci9sb2dkYXRhL3Bt
bG9nZ2VyLw0KPiA+IFtXZWQgRGVjICAzIDIyOjUwOjA5XSBwbXdlYmQoMTc3NzIpOiBbMTAuMTcu
MS4xODo1NTIyMF0gZW51bWVyYXRlZCAxIG1ldHJpY3MNCj4gPiBbV2VkIERlYyAgMyAyMjo1MDow
OV0gcG13ZWJkKDE3NzcyKTogWzEwLjE3LjEuMTg6NTUyMjBdIGRpZ2VzdGVkIDEgbWV0cmljcywg
dGltZXNwYW4gWzE0MTc1NjA2MDktMTQxNzY0NzAwOSBieSA4NV0sIGluIDE1LjU3NG1zIA0KPiA+
IFtXZWQgRGVjICAzIDIyOjUwOjE2XSBwbXdlYmQoMTc3NzIpOiBbMTAuMTcuMS4xODo1NTIyMF0g
SFRUUC8xLjEgR0VUIC9ncmFwaGl0ZS9yZW5kZXIvIF9zYWx0PTE0MTc2NDcwMTYuNzk3IGhlaWdo
dD0zMDggd2lkdGg9NTg2DQo+ID4gW1dlZCBEZWMgIDMgMjI6NTA6MTZdIHBtd2ViZCgxNzc3Mik6
IFsxMC4xNy4xLjE4OjU1MjIwXSBkaWdlc3RlZCAwIG1ldHJpY3MsIHRpbWVzcGFuIFsxNDE3NTYw
NjE2LTE0MTc2NDcwMTYgYnkgODVdLCBpbiAwLjAwMm1zDQo+IA0KPiBJdCBsb29rcyBsaWtlIHR3
byBzZXBhcmF0ZSByZW5kZXIgcmVxdWVzdHMgY2FtZSBpbnRvIHBtd2ViZCB3aXRoaW4gYQ0KPiBm
ZXcgc2Vjb25kcywgd2l0aCB0aGUgbGF0dGVyIHJlcXVlc3Rpbmcgbm8gdGFyZ2V0cyAobWV0cmlj
cykuICBNYXliZQ0KPiB5b3UgY2xpY2tlZCB0d2ljZSBvbiB0aGUgZ3JhcGhpdGUgbWV0cmljLXRy
ZWUgYnJvd3NlciwgdG9nZ2xpbmcgdGhlDQo+IG1ldHJpYyBvbiB0aGVuIGJhY2sgb2ZmPw0KPiAN
Cj4gLSBGQ2hFDQo=
From fche@redhat.com Sat Dec 6 15:22:09 2014
Return-Path:
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on oss.sgi.com
X-Spam-Level:
X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=ham
version=3.3.1
X-Original-To: pcp@oss.sgi.com
Delivered-To: pcp@oss.sgi.com
Received: from relay.sgi.com (relay1.corp.sgi.com [137.38.102.111])
by oss.sgi.com (Postfix) with ESMTP id 8A8367F3F
for ; Sat, 6 Dec 2014 15:22:09 -0600 (CST)
Received: from cuda.sgi.com (cuda2.sgi.com [192.48.176.25])
by relay1.corp.sgi.com (Postfix) with ESMTP id 783498F804B
for ; Sat, 6 Dec 2014 13:22:06 -0800 (PST)
X-ASG-Debug-ID: 1417900921-04cbb010653b0240001-S8gJnT
Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by cuda.sgi.com with ESMTP id Ww7gsFcKFvTUaPOB (version=TLSv1 cipher=AES256-SHA bits=256 verify=NO) for ; Sat, 06 Dec 2014 13:22:02 -0800 (PST)
X-Barracuda-Envelope-From: fche@redhat.com
X-Barracuda-Apparent-Source-IP: 209.132.183.28
X-ASG-Whitelist: Client
Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24])
by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id sB6LLwLl007151
(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL);
Sat, 6 Dec 2014 16:21:58 -0500
Received: from fche.csb (vpn-238-111.phx2.redhat.com [10.3.238.111])
by int-mx11.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id sB6LLvVa005474;
Sat, 6 Dec 2014 16:21:58 -0500
Received: by fche.csb (Postfix, from userid 2569)
id DA100584EA; Sat, 6 Dec 2014 16:21:56 -0500 (EST)
Date: Sat, 6 Dec 2014 16:21:56 -0500
From: "Frank Ch. Eigler"
To: Chandana De Silva
Cc: "pcp@oss.sgi.com"
Subject: Re: pmwebd: Defining the directory for PCP Archives
Message-ID: <20141206212156.GE5088@redhat.com>
X-ASG-Orig-Subj: Re: pmwebd: Defining the directory for PCP Archives
References: <1417459116.12396.15.camel@tardis> <1417499687.17867.23.camel@tardis> <20141202121245.GP5088@redhat.com> <1417556631.941.12.camel@tardis> <20141202230914.GQ5088@redhat.com> <1417647290.948.20.camel@tardis> <20141205151437.GD5088@redhat.com> <1417898573.20915.7.camel@tardis>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <1417898573.20915.7.camel@tardis>
User-Agent: Mutt/1.4.2.2i
X-Scanned-By: MIMEDefang 2.68 on 10.5.11.24
X-Barracuda-Connect: mx1.redhat.com[209.132.183.28]
X-Barracuda-Start-Time: 1417900922
X-Barracuda-Encrypted: AES256-SHA
X-Barracuda-URL: http://192.48.176.25:80/cgi-mod/mark.cgi
X-Virus-Scanned: by bsmtpd at sgi.com
X-Barracuda-BRTS-Status: 1
Hi -
> I have been very careful and clicked only once.
> Each time I click, I see the icon on the Graphite composer window blink,
> and the following entries in the log
> [Sat Dec 6 20:34:58] pmwebd(2993): [10.17.1.18:36430] HTTP/1.1 GET /graphite/render/ _salt=1417898098.642 height=421 target=-2F-var-2F-logdata-2F-pmlogger-2F-archdb1-2E-prd-2E-mel-2F-20141121-2E-meta.mysql.status.aborted_clients target=-2F-var-2F-logdata-2F-pmlogger-2F-archdb1-2E-prd-2E-mel-2F-20141121-2E-meta.disk.all.avactive width=533
> [Sat Dec 6 20:34:58] pmwebd(2993): [10.17.1.18:36430] Searching for archives under /var/logdata/pmlogger/
> [Sat Dec 6 20:34:58] pmwebd(2993): [10.17.1.18:36430] enumerated 1 metrics
> [Sat Dec 6 20:34:58] pmwebd(2993): [10.17.1.18:36430] Searching for archives under /var/logdata/pmlogger/
> [Sat Dec 6 20:34:58] pmwebd(2993): [10.17.1.18:36430] enumerated 1 metrics
> [Sat Dec 6 20:34:58] pmwebd(2993): [10.17.1.18:36430] digested 2 metrics, timespan [1417811698-1417898098 by 85], in 3.459ms
OK. Those should result in some data. A network or syscall trace
should show data flowing out of pmwebd.
> The icon on the Graphite compose points to :
> http://pmlog.inf.mel.mmd:44323/graphite/render/?width=533&height=421&_salt=1417898098.642&target=-2F-var-2F-logdata-2F-pmlogger-2F-archdb1-2E-prd-2E-mel-2F-20141121-2E-meta.mysql.status.aborted_clients&target=-2F-var-2F-logdata-2F-pmlogger-2F-archdb1-2E-prd-2E-mel-2F-20141121-2E-meta.disk.all.avactive
The URL looks fine; that machine is not on the internet so I can't
poke at it directly. Append &format=json to see a non-PNG textual
rendering of the result.
> Please help. We have put some new servers in production, and have a real
> need to display data from these.
Have you tried the grafana frontend? One can edit/create-new charts,
and browse through the metric tree interactively, or
export/edit/import the json dashboard-description.
- FChE
From chandana@desilva.id.au Sat Dec 6 16:12:56 2014
Return-Path:
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on oss.sgi.com
X-Spam-Level:
X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=ham
version=3.3.1
X-Original-To: pcp@oss.sgi.com
Delivered-To: pcp@oss.sgi.com
Received: from relay.sgi.com (relay1.corp.sgi.com [137.38.102.111])
by oss.sgi.com (Postfix) with ESMTP id 01B207F3F
for ; Sat, 6 Dec 2014 16:12:56 -0600 (CST)
Received: from cuda.sgi.com (cuda1.sgi.com [192.48.157.11])
by relay1.corp.sgi.com (Postfix) with ESMTP id BA11E8F8037
for ; Sat, 6 Dec 2014 14:12:52 -0800 (PST)
X-ASG-Debug-ID: 1417903967-04bdf06160149c000001-S8gJnT
Received: from mho-01-ewr.mailhop.org (mho-03-ewr.mailhop.org [204.13.248.66]) by cuda.sgi.com with ESMTP id wy3jp5Zyx8AcuGHV (version=TLSv1 cipher=AES256-SHA bits=256 verify=NO) for ; Sat, 06 Dec 2014 14:12:47 -0800 (PST)
X-Barracuda-Envelope-From: chandana@desilva.id.au
X-Barracuda-Apparent-Source-IP: 204.13.248.66
Received: from ec2-54-252-74-219.ap-southeast-2.compute.amazonaws.com ([54.252.74.219] helo=mail.desilva.id.au)
by mho-01-ewr.mailhop.org with esmtpa (Exim 4.72)
(envelope-from )
id 1XxNao-000EBD-BS; Sat, 06 Dec 2014 22:12:47 +0000
Received: from [192.168.1.135] (d211-31-205-122.sun802.vic.optusnet.com.au [211.31.205.122])
by mail.desilva.id.au (Postfix) with ESMTPSA id 02E5926F5E;
Sat, 6 Dec 2014 22:12:43 +0000 (UTC)
X-Mail-Handler: Dyn Standard SMTP by Dyn
X-Originating-IP: 54.252.74.219
X-Report-Abuse-To: abuse@dyndns.com (see http://www.dyndns.com/services/sendlabs/outbound_abuse.html for abuse reporting information)
X-MHO-User: U2FsdGVkX19sYiZXO6go/rIf+6DDwp7i4PsqQvXLFxA=
Message-ID: <1417903963.20915.10.camel@tardis>
Subject: Re: pmwebd: Defining the directory for PCP Archives
From: Chandana De Silva
X-ASG-Orig-Subj: Re: pmwebd: Defining the directory for PCP Archives
Reply-To: chandana@desilva.id.au
To: "Frank Ch. Eigler"
Cc: "pcp@oss.sgi.com"
Date: Sun, 07 Dec 2014 09:12:43 +1100
In-Reply-To: <20141206212156.GE5088@redhat.com>
References: <1417459116.12396.15.camel@tardis>
<1417499687.17867.23.camel@tardis> <20141202121245.GP5088@redhat.com>
<1417556631.941.12.camel@tardis> <20141202230914.GQ5088@redhat.com>
<1417647290.948.20.camel@tardis> <20141205151437.GD5088@redhat.com>
<1417898573.20915.7.camel@tardis> <20141206212156.GE5088@redhat.com>
Content-Type: text/plain; charset="UTF-8"
X-Mailer: Evolution 3.10.4 (3.10.4-4.fc20)
Mime-Version: 1.0
Content-Transfer-Encoding: quoted-printable
X-Barracuda-Connect: mho-03-ewr.mailhop.org[204.13.248.66]
X-Barracuda-Start-Time: 1417903967
X-Barracuda-Encrypted: AES256-SHA
X-Barracuda-URL: http://192.48.157.11:80/cgi-mod/mark.cgi
X-Virus-Scanned: by bsmtpd at sgi.com
X-Barracuda-BRTS-Status: 1
X-Barracuda-Spam-Score: 0.50
X-Barracuda-Spam-Status: No, SCORE=0.50 using per-user scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.7 tests=BSF_SC0_MISMATCH_TO, WEIRD_PORT
X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.3.12537
Rule breakdown below
pts rule name description
---- ---------------------- --------------------------------------------------
0.00 BSF_SC0_MISMATCH_TO Envelope rcpt doesn't match header
0.50 WEIRD_PORT URI: Uses non-standard port number for HTTP
Hello Frank,
OK, I do see data when I use the JSON format. Does this look right ?
[{"target":"-2F-var-2F-logdata-2F-pmlogger-2F-archdb1-2E-prd-2E-mel-2F-2014=
1121-2E-meta.mysql.status.aborted_clients", "datapoints":[[null, 1417816509=
],[null, 1417816594],[null, 1417816679],[null, 1417816764],[null, 141781684=
9],[null, 1417816934],[null, 1417817019],[null, 1417817104],[null, 14178171=
89],[null, 1417817274],[null, 1417817359],[null, 1417817444],[null, 1417817=
529],[null, 1417817614],[null, 1417817699],[null, 1417817784],[null, 141781=
7869],[null, 1417817954],[null, 1417818039],[null, 1417818124],[null, 14178=
18209],[null, 1417818294],[null, 1417818379],[null, 1417818464],[null, 1417=
818549],[null, 1417818634],[null, 1417818719],[null, 1417818804],[null, 141=
7818889],[null, 1417818974],[null, 1417819059],[null, 1417819144],[null, 14=
17819229],[null, 1417819314],[null, 1417819399],[null, 1417819484],[null, 1=
417819569],[null, 1417819654],[null, 1417819739],[null, 1417819824],[null, =
1417819909],[null, 1417819994],[null, 1417820079],[null, 1417820164],[null,=
1417820249],[null, 1417820334],[null, 1417820419],[null, 1417820504],[null=
, 1417820589],[null, 1417820674],[null, 1417820759],[null, 1417820844],[nul=
l, 1417820929],[null, 1417821014],[null, 1417821099],[null, 1417821184],[nu=
ll, 1417821269],[null, 1417821354],[null, 1417821439],[null, 1417821524],[n=
ull, 1417821609],[null, 1417821694],[null, 1417821779],[null, 1417821864],[=
null, 1417821949],[null, 1417822034]
I will also try Grafana.=20
On Sat, 2014-12-06 at 16:21 -0500, Frank Ch. Eigler wrote:
> Hi -
>=20
> > I have been very careful and clicked only once.
> > Each time I click, I see the icon on the Graphite composer window blink=
,
> > and the following entries in the log
>=20
> > [Sat Dec 6 20:34:58] pmwebd(2993): [10.17.1.18:36430] HTTP/1.1 GET /gr=
aphite/render/ _salt=3D1417898098.642 height=3D421 target=3D-2F-var-2F-logd=
ata-2F-pmlogger-2F-archdb1-2E-prd-2E-mel-2F-20141121-2E-meta.mysql.status.a=
borted_clients target=3D-2F-var-2F-logdata-2F-pmlogger-2F-archdb1-2E-prd-2E=
-mel-2F-20141121-2E-meta.disk.all.avactive width=3D533
> > [Sat Dec 6 20:34:58] pmwebd(2993): [10.17.1.18:36430] Searching for ar=
chives under /var/logdata/pmlogger/
> > [Sat Dec 6 20:34:58] pmwebd(2993): [10.17.1.18:36430] enumerated 1 met=
rics
> > [Sat Dec 6 20:34:58] pmwebd(2993): [10.17.1.18:36430] Searching for ar=
chives under /var/logdata/pmlogger/
> > [Sat Dec 6 20:34:58] pmwebd(2993): [10.17.1.18:36430] enumerated 1 met=
rics
> > [Sat Dec 6 20:34:58] pmwebd(2993): [10.17.1.18:36430] digested 2 metri=
cs, timespan [1417811698-1417898098 by 85], in 3.459ms
>=20
> OK. Those should result in some data. A network or syscall trace
> should show data flowing out of pmwebd.
>=20
> > The icon on the Graphite compose points to :
> > http://pmlog.inf.mel.mmd:44323/graphite/render/?width=3D533&height=3D42=
1&_salt=3D1417898098.642&target=3D-2F-var-2F-logdata-2F-pmlogger-2F-archdb1=
-2E-prd-2E-mel-2F-20141121-2E-meta.mysql.status.aborted_clients&target=3D-2=
F-var-2F-logdata-2F-pmlogger-2F-archdb1-2E-prd-2E-mel-2F-20141121-2E-meta.d=
isk.all.avactive
>=20
> The URL looks fine; that machine is not on the internet so I can't
> poke at it directly. Append &format=3Djson to see a non-PNG textual
> rendering of the result.=20
>=20
>=20
> > Please help. We have put some new servers in production, and have a rea=
l
> > need to display data from these.
>=20
> Have you tried the grafana frontend? One can edit/create-new charts,
> and browse through the metric tree interactively, or
> export/edit/import the json dashboard-description.
>=20
>=20
> - FChE
From fche@redhat.com Sat Dec 6 19:07:10 2014
Return-Path:
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on oss.sgi.com
X-Spam-Level:
X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=ham
version=3.3.1
X-Original-To: pcp@oss.sgi.com
Delivered-To: pcp@oss.sgi.com
Received: from relay.sgi.com (relay3.corp.sgi.com [198.149.34.15])
by oss.sgi.com (Postfix) with ESMTP id 97F527F3F
for ; Sat, 6 Dec 2014 19:07:10 -0600 (CST)
Received: from cuda.sgi.com (cuda3.sgi.com [192.48.176.15])
by relay3.corp.sgi.com (Postfix) with ESMTP id 301C2AC003
for ; Sat, 6 Dec 2014 17:07:06 -0800 (PST)
X-ASG-Debug-ID: 1417914421-04cb6c05731299f70001-S8gJnT
Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by cuda.sgi.com with ESMTP id cNgDy2c3OaoZEwYO (version=TLSv1 cipher=AES256-SHA bits=256 verify=NO) for ; Sat, 06 Dec 2014 17:07:02 -0800 (PST)
X-Barracuda-Envelope-From: fche@redhat.com
X-Barracuda-Apparent-Source-IP: 209.132.183.28
X-ASG-Whitelist: Client
Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24])
by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id sB716wxG001209
(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL);
Sat, 6 Dec 2014 20:07:00 -0500
Received: from fche.csb (vpn-238-111.phx2.redhat.com [10.3.238.111])
by int-mx11.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id sB716v1Y027696;
Sat, 6 Dec 2014 20:06:58 -0500
Received: by fche.csb (Postfix, from userid 2569)
id 2B420584EA; Sat, 6 Dec 2014 20:06:56 -0500 (EST)
Date: Sat, 6 Dec 2014 20:06:56 -0500
From: "Frank Ch. Eigler"
To: Chandana De Silva
Cc: "pcp@oss.sgi.com"
Subject: Re: pmwebd: Defining the directory for PCP Archives
Message-ID: <20141207010656.GF5088@redhat.com>
X-ASG-Orig-Subj: Re: pmwebd: Defining the directory for PCP Archives
References: <1417499687.17867.23.camel@tardis> <20141202121245.GP5088@redhat.com> <1417556631.941.12.camel@tardis> <20141202230914.GQ5088@redhat.com> <1417647290.948.20.camel@tardis> <20141205151437.GD5088@redhat.com> <1417898573.20915.7.camel@tardis> <20141206212156.GE5088@redhat.com> <1417903963.20915.10.camel@tardis>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <1417903963.20915.10.camel@tardis>
User-Agent: Mutt/1.4.2.2i
X-Scanned-By: MIMEDefang 2.68 on 10.5.11.24
X-Barracuda-Connect: mx1.redhat.com[209.132.183.28]
X-Barracuda-Start-Time: 1417914422
X-Barracuda-Encrypted: AES256-SHA
X-Barracuda-URL: http://192.48.176.15:80/cgi-mod/mark.cgi
X-Virus-Scanned: by bsmtpd at sgi.com
X-Barracuda-BRTS-Status: 1
Hi -
> OK, I do see data when I use the JSON format. Does this look right ?
>[{"target":"-2F-var-2F-logdata-2F-pmlogger-2F-archdb1-2E-prd-2E-mel-2F-20141121-2E-meta.mysql.status.aborted_clients",
>"datapoints":[[null, 1417816509],[null, 1417816594] [...]
Well, that's an awful lot of nulls (missing data, so the time window
is probably wrong for that archive), but in principle it's fine.
- FChE
From nscott@redhat.com Mon Dec 8 03:23:39 2014
Return-Path: