awslabs / collectd-cloudwatch

A collectd plugin for sending data to Amazon CloudWatch
MIT License
200 stars 132 forks source link

Plugin interface #27

Closed mlotekk closed 7 years ago

mlotekk commented 7 years ago

I'm running collectd-5.4.1-1.11.amzn1.x86_6. The data is being sent by the cloudwatch_writer and being collected by plugin interface. When I look at if_octets or if_packets.*, the data steadily increments. How can I get this in bytes/sec, rather than a counter from plugin interface? I got something like this zrzut ekranu z 2016-12-12 16-31-34

sebasrp commented 7 years ago

You can get the bytes/sec through the Interface plugin. The plugin is enabled - so check the file/opt/collectd-plugins/cloudwatch/config/blocked_metrics and add the desired metrics to /opt/collectd-plugins/cloudwatch/config/whitelist.conf