myllynen / pcp-bcc-pmda Goto Github PK
View Code? Open in Web Editor NEWPCP BCC PMDA
PCP BCC PMDA
git log --pretty=oneline -n1
7c12d81 Cosmetics etc in preparation for a possible upstream merge
$ ./Install
[Sat Jan 20 01:35:47] pmdabcc(2352) Info: Enabled modules:
[Sat Jan 20 01:35:47] pmdabcc(2352) Info: [u'biolatency', u'sysfork', u'tcplife']
[Sat Jan 20 01:35:47] pmdabcc(2352) Info: Configuring modules:
[Sat Jan 20 01:35:47] pmdabcc(2352) Info: biolatency
[Sat Jan 20 01:35:47] pmdabcc(2352) Info: sysfork
[Sat Jan 20 01:35:47] pmdabcc(2352) Info: tcplife
[Sat Jan 20 01:35:47] pmdabcc(2352) Info: Modules configured.
[Sat Jan 20 01:35:47] pmdabcc(2352) Info: Initializing modules:
[Sat Jan 20 01:35:47] pmdabcc(2352) Info: biolatency
Traceback (most recent call last):
File "/var/lib/pcp/pmdas/bcc/pmdabcc.python", line 223, in <module>
BCCPMDA('bcc', 499).run()
File "/var/lib/pcp/pmdas/bcc/pmdabcc.python", line 59, in __init__
self.init_modules()
File "/var/lib/pcp/pmdas/bcc/pmdabcc.python", line 149, in init_modules
except ModuleNotFoundError as error:
NameError: global name 'ModuleNotFoundError' is not defined
(above messages repeat 1x)
Install: cannot determine the Performance Metrics Domain from domain.h.python
This one can be fixed with
- except ModuleNotFoundError as error:
+ except ImportError as error:
Then I get
$ ./Install
[Sat Jan 20 01:39:08] pmdabcc(2431) Info: Enabled modules:
[Sat Jan 20 01:39:08] pmdabcc(2431) Info: [u'biolatency', u'sysfork', u'tcplife']
[Sat Jan 20 01:39:08] pmdabcc(2431) Info: Configuring modules:
[Sat Jan 20 01:39:08] pmdabcc(2431) Info: biolatency
[Sat Jan 20 01:39:08] pmdabcc(2431) Info: sysfork
[Sat Jan 20 01:39:08] pmdabcc(2431) Info: tcplife
[Sat Jan 20 01:39:08] pmdabcc(2431) Info: Modules configured.
[Sat Jan 20 01:39:08] pmdabcc(2431) Info: Initializing modules:
[Sat Jan 20 01:39:08] pmdabcc(2431) Info: biolatency
[Sat Jan 20 01:39:08] pmdabcc(2431) Error: No module named modules.biolatency
[Sat Jan 20 01:39:08] pmdabcc(2431) Error: Module biolatency not found, aborting.
(above messages repeat 1x)
Install: cannot determine the Performance Metrics Domain from domain.h.python
Editing modules =
in bcc.conf, I get similar errors for whatever module is first - biotop, sysfork, tcplife.
bcc is v 0.6.0; as far as I can tell, all its tools work fine.
kernel is 4.9.75 and has the necessary options for bcc enabled
pcp is 3.11.x (IIRC)
What steps can I take to track down the source of the problem?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.