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

setup fails on collectd 5.8.0 version #74

Open
gutudumitru opened this issue Aug 23, 2018 · 0 comments
Open

setup fails on collectd 5.8.0 version #74

gutudumitru opened this issue Aug 23, 2018 · 0 comments

Comments

@gutudumitru
Copy link

Hello there. I was not able to setup the plugin on later Amazon2018-03 with latest collectd-5.8.0.
I've always went into the process of not being able to stop and start the collected daemon.

Choose how to install CloudWatch plugin in collectd:
  1. Do not modify existing collectd configuration
  2. Add plugin to the existing configuration
  3. Use CloudWatch recommended configuration (4 metrics)
Enter choice [3]:
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

The laziest fix was to change stop and start commands to
STOP_COLLECTD_CMD = CMD("/etc/init.d/collectd stop", "Stopping collectd process") START_COLLECTD_CMD = CMD("/etc/init.d/collectd start", "Starting collectd process")

Script finished with status - OK

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

1 participant