The Agent's lighttpd check tracks uptime, bytes served, requests per second, response codes, and more.
The lighttpd check is included in the Datadog Agent package, so you don't need to install anything else on your lighttpd servers.
In addition, install mod_status
on your Lighttpd servers.
-
Edit the
lighttpd.d/conf.yaml
file, in theconf.d/
folder at the root of your Agent's configuration directory. See the sample lighttpd.d/conf.yaml for all available configuration options:init_config: instances: # Each instance needs a lighttpd_status_url. Tags are optional. - lighttpd_status_url: http://example.com/server-status?auto # tags: # - instance:foo
-
Restart the Agent to begin sending lighttpd metrics to Datadog.
Run the Agent's status
subcommand and look for lighttpd
under the Checks section.
See metadata.csv for a list of metrics provided by this integration.
The Lighttpd check does not include any events at this time.
- lighttpd.can_connect
:
Returns CRITICAL if the Agent cannot connect to lighttpd to collect metrics, otherwise OK.
Need help? Contact Datadog Support.
To get a better idea of how (or why) to monitor Lighttpd web server metrics with Datadog, check out our series of blog posts about it.