Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[error] plugin_load: Could not find plugin "python" in /usr/lib64/collectd #48

Open
zzbennett opened this issue Jun 13, 2017 · 1 comment

Comments

@zzbennett
Copy link

I booted a fresh instance in EC2 with the default Amazon Linux AMI (Amazon Linux AMI 2017.03.0 (HVM), SSD Volume Type - ami-c58c1dd3). I downloaded the setup.py script and ran it as root.

The script ran fine until it tried to restart collectd.

Plugin configuration written successfully.
Creating backup of the original configuration ... OK
Replacing collectd configuration ... OK
Replacing whitelist configuration ... OK
Stopping collectd process ... NOT OK
Starting collectd process ... NOT OK
Installation cancelled due to an error.
Executed command: '/usr/sbin/collectd'.
Error output: 'Error: Reading the config file failed!
Read the syslog for details.'.

I'm seeing this in my collectd.log file:

[2017-06-13 00:40:18] plugin_load: plugin "logfile" successfully loaded.
[2017-06-13 00:40:18] [info] plugin_load: plugin "cpu" successfully loaded.
[2017-06-13 00:40:18] [info] plugin_load: plugin "df" successfully loaded.
[2017-06-13 00:40:18] [info] plugin_load: plugin "memory" successfully loaded.
[2017-06-13 00:40:18] [info] plugin_load: plugin "swap" successfully loaded.
[2017-06-13 00:40:18] [error] plugin_load: Could not find plugin "python" in /usr/lib64/collectd
[2017-06-13 00:40:18] [warning] Found a configuration for the `python' plugin, but the plugin isn't loaded or didn't register a configuration callback.
[2017-06-13 00:40:18] [warning] Found a configuration for the `python' plugin, but the plugin isn't loaded or didn't register a configuration callback.
[2017-06-13 00:40:18] [warning] Found a configuration for the `python' plugin, but the plugin isn't loaded or didn't register a configuration callback.
[2017-06-13 00:40:18] [warning] Found a configuration for the `python' plugin, but the plugin isn't loaded or didn't register a configuration callback.
@ezrapagel
Copy link

yum install collectd-python should do it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants