awslabs / collectd-cloudwatch

A collectd plugin for sending data to Amazon CloudWatch
MIT License
199 stars 131 forks source link

Why managing collectd from the plugin? #63

Open salehabbas opened 6 years ago

salehabbas commented 6 years ago

https://github.com/awslabs/collectd-cloudwatch/blob/0e76f2d2dbe54f5b0287f8af16678ac0b8f67359/src/setup.py#L947

Stopping/starting "collectd" from the setup.py files conflicts with the default startup script for collectd (/etc/init.d/collectd) and leads to have two collectd running processes (collectd and collectdmon).

I think "collectd-cloudwatch" is a plugin that extends the functionality of pushing the metrics to CloudWatch and it should not manage (start/stop) the collectd.

My distro: Amazon Linux AMI release 2017.09 Collectd Version: 5.8.0