Git Product home page Git Product logo

pcp-bcc-pmda's People

Contributors

myllynen avatar natoscott avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

pcp-bcc-pmda's Issues

python2.7, centos 7?

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?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.