Webpage Availability Checks
The built-in features of collectd are already very strong. Using the curl plugin (https://collectd.org/documentation/manpages/collectd.conf.5.shtml#plugin_curl) one can easily build basic webpage monitoring and send this data to inspectIT longterm storage and visualize it.
How this can be done
- Activate the curl plugin within collectd (uncomment LoadPlugin curl)
- Find the <Plugin curl> part of the configuration
- Create a new <Page "yourpage"> section
- Set the URL
- Set MeasureReponseTime true
- Set MeasureReponseCode true
- Do not set a <Match> clause
What you get by this is:
- Periodic check from this host to the given URL(s) collecting the reponse code and reponse time
- Information whether the system is available