12-05, 12:00–12:30 (America/Belem), Room II
Keeping (OGC) Geospatial Web Services up-and-running is best accommodated by continuous monitoring: not only downtime needs to be guarded,
but also whether the services are functioning correctly and do not suffer from performance and/or other Quality of Service (QoS) issues.
GeoHealthCheck (GHC) is an Open Source Python application for monitoring uptime and availability of OGC Web Services.
In this talk we will explain GHC basics, how it works, how you can use and even extend GHC (plugins).
There is an abundance of standard (HTTP) monitoring tools that may guard for general status and uptime of web services.
But OGC web services often have their own error, "Exception", reporting not caught by generic HTTP uptime
checkers. For example, an OGC Web Mapping Service (WMS) may provide an Exception as a valid XML response or
in a error message written "in-image", or an error may render a blank image.
A generic uptime checker may assume the service is functioning as from those requests and an HTTP status "200" is returned.
Other OGC services may have specific QoS issues not directly obvious. A successful and valid "OWS GetCapabilities" response may not
guarantee that individual services are functioning correctly. For example an OGC Web Feature Service (WFS) based on a dynamic database may
return zero Features on a GetFeature response caused by issues in an underlying database. Even standard HTTP checkers supporting "keywords"
may not detect all failure cases. Many OGC services will have multiple "layers" or feature types,
how to check them all?
What is needed is a form of semantic checking and reporting specific to OGC services!
GeoHealthCheck (GHC) is an Open Source (MIT) web-based framework through which OGC-based web services can be monitored. GHC is written in
Python (with Flask) under the umbrella of the GeoPython GitHub Organization. It is currently an OSGeo Community Project.
GHC consists of a web-UI through which OGC service endpoint URLs and their checks can be managed,
and monitoring-results can be inspected, plus a monitoring engine that executes scheduled "health-checks" on OGC service endpoints.
A database stores results, allowing for various forms of reporting.
GHC is extensible: a plugin-system is available for "Probes" to support an expanding number of
cases for OGC specific requests and -checks. Work is in progress to provide a GHC API for various integrations.
Info, sources, demo: https://geohealthcheck.org
Tom Kralidis is with the Meteorological Service of Canada and a longtime contributor to FOSS4G and open standards. He is the creator of pygeoapi, pycsw, and numerous projects in the geospatial Python ecosystem. Tom is a lead architect of the WMO Information System (WIS2), and chairs the WMO Task Team on Open Source as well as the WMO Expert Team on Metadata Standards. He also chairs the OGC Pub/Sub Standards working group and co-chairs the OGC API - Records Standards Working Group.
Tom is passionate about location, open software, standards and data, and currently serves on the OSGeo Board of Directors.
Just van den Broecke is an independent Open Source geospatial professional working under the
trading name "Just Objects" - https://justobjects.nl. In his daily work
he designs, develops and deploys Open Source geospatial infrastructures, stacks and products.
He is a core contributor to Open Source projects like pygeoapi (also PSC), GeoHealthCheck, Stetl, and NLExtract. He is an OSGeo Charter Member and founder/former-chair of OSGeo.nl, the Dutch Local OSGeo Chapter.