Learn how to send Apache data collected by collectd to VMware Aria Operations for Applications (formerly known as Tanzu Observability by Wavefront).
Apache is a popular open-source web server. To collect Apache data with collectd, use the collectd Apache plugin documentation found at Plugin:Apache - collectd Wiki.
VMware Aria Operations for Applications supports a built-in integration that gets data from Apache using Telegraf. If you want to use collectd instead, follow the instructions on this page.
Apache Setup
Enable the mod_status
module in your Apache configuration:
ExtendedStatus on
<Location /mod_status>
SetHandler server-status
</Location>
Installation
- On your collectd host, copy the example configuration into
/etc/collectd/managed_config/
. - Edit the settings in the file for your Apache server.
- Restart collectd.
Example collectd Configuration
LoadPlugin "apache"
<Plugin "apache">
<Instance "apache80">
URL "http://localhost/mod_status?auto"
User "collectd"
Password "hoh2Coo6"
</Instance>
<Instance "lighttpd8080">
URL "http://localhost:8080/mod_status?auto"
</Instance>
</Plugin>