intelsdi-x / snap-plugin-collector-pcm

Collects Intel Performance Counter Metrics (PCM)
http://snap-telemetry.io/
Apache License 2.0
7 stars 20 forks source link

Unable to load PCM plugin #44

Closed rehank30 closed 7 years ago

rehank30 commented 7 years ago

When trying to load pcm plugin it shows this error: GetMetricTypes call error: exec: "pcm.x": executable file not found in $PATH

AbhiPandey1 commented 6 years ago

@rehank30 were you able to resovle this issue?

IzabellaRaulin commented 6 years ago

hello @AbhiPandey1 please check the following: a) pcm is installed on your machine Follow the instruction available at http://www.intel.com/software/pcm b) NMI watchdog is disabled To disable it permanently, run echo 'kernel.nmi_watchdog=0' >> /etc/sysctl.conf c) Allow accessing CPUs Model Specific Registers (MSRs Execute 'modprobe msr' as root user

To be sure that pcm.x works properly, try to execute pcm.x -nc -r 1

Then run Snap and load the snap-plugin-collector-pcm - and let me know if it's loaded properly.