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

  1. Activate the curl plugin within collectd (uncomment LoadPlugin curl)
  2. Find the <Plugin curl> part of the configuration
  3. Create a new <Page "yourpage"> section
    1. Set the URL
    2. Set MeasureReponseTime true
    3. Set MeasureReponseCode true
    4. 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