awslabs / collectd-cloudwatch

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

Apache plugin is not working with collectd-cloudwatch #61

Open appunnicer13 opened 6 years ago

appunnicer13 commented 6 years ago

I have setup apache server and enabled mod_status using below code

ExtendedStatus on
<Location /mod_status>
    SetHandler server-status
    Order deny,allow
        Deny from all
    Allow from 127.0.0.1
</Location>

Cloudwatch plugin was properly configured and tested it by sending some CPU and memory data by adding them in to white list from blocked.

Now I added this conf for apache

LoadPlugin "apache"
<Plugin "apache">
  <Instance "">
      URL "http://localhost/mod_status?auto"
  </Instance>
</Plugin>

But for some unknown reason its not getting captured by cloudwatch plugin, I used to collectd-web plugin to see if data is coming from collectd-apache conf and it was coming. Blocked_metrics are not identifying apache at all. This seems very weird

appunnicer13 commented 6 years ago

I should leave this here if anyone wants to know why my config is wrong : [https://mailman.verplant.org/pipermail/collectd/2014-May/006201.html](Apache Config)