How do I monitor that Matomo service is up and running?
To setup monitoring of your Matomo analytics service, we recommend to setup the following monitoring checks:
- HTTP Core platform: request to
/index.php?module=Login
should return http status200
- HTTP Tracker API: request to
/matomo.php
should return http status code200
We recommend to use https://
in the monitoring URLs checks, to make sure that your Matomo service works over secured connection.
Unavailable status typically means the request fails to return within 10 seconds, or return the wrong status code, or SSL connection fails, etc. (This depends on the web monitoring tool being used)
When Matomo is maintenance_mode, the API will return 503
, unless Matomo is configured behind a load balancer, with General
config multi_server_environment=1
, should return http status code 200