HomeClusterLabs Projects

Low: apache: Allow basic server request monitoring without requiring server…

Description

Low: apache: Allow basic server request monitoring without requiring server-status to be enabled

By default, the apache agent attempts to detect the location
of the server-status url and retrieve the contents of that URL.
If no regex is set, all this agent does is verify some sort
of html file exists at the server-status url. Essentially in
the default use-case, the agent is just verifying that the agent
can successfully request something from the webserver.

Requiring the user to enable the server-status feature
just to verify a request/response from the server shouldn't be
necessary. This patch allows the agent to fall back to
doing a basic http header request of the website's index
if the server-status check fails during a monitor... This will
only occur in the very basic use-case where a user has
not defined any statusurls, regex patterns, or custom test cases.

Details

Provenance
David Vossel <dvossel@redhat.com>Authored on Sep 10 2013, 10:16 PM
Parents
rR7edfaa2ce370: Merge pull request #298 from JOJ0/master
Branches
Unknown
Tags
Unknown

Event Timeline