You can now monitor the health of your application and server

We're proud to announce that we have added a major new feature to Oh Dear: Application Health monitoring.

screenshot

Using Oh Dear, you can now monitor various aspects of your application and server. This way, you could get alerts when:

  • disk space is running low
  • the database is down
  • the load on your server is too high
  • Redis cannot be reached
  • mails cannot be sent
  • there are many application errors in a small timeframe (via Flare)
  • whenever the load crosses a certain threshold
  • a reboot of your server is required
  • ...

You can monitor any aspect of your app that you want.

How application monitor works #

Oh Dear will not run any code inside of your application or server. Instead, you should perform the checks yourself. Oh Dear will periodically send an HTTP request to your application to a specific endpoint, and your application should respond with JSON containing the result of health checks.

Oh Dear's request to your app will contain a secret value in the oh-dear-health-check-secret header. To ensure that a request comes from Oh Dear, you should verify if the secret value is correct.

The endpoint to which the request will be sent, and the secret in the header can be specified in the application health check settings.

screenshot

If a health check fails, we can send you a notification. We'll also let you know when we detect that a problem is resolved.

Welcoming all applications #

For Laravel applications, setting health check monitoring up is a breeze. You can use Spatie's Laravel Health package to run health checks and send the results to Oh Dear. To know more about this, check out the Laravel Health docs, or this introductory post at freek.dev.

Want to monitor the health of a non-Laravel application, no problem! In our docs, you'll find detailed instructions on running health checks and transmitting results to Oh Dear. For PHP applications, we even made a small package to quickly write health checks results to JSON format we expect.

For all non-PHP applications, we've described the expected format in great detail.

Viewing application health results in Oh Dear #

Oh Dear will check the health results endpoint of your app every few minutes. You can view the results on the application health check screen.

screenshot

You can click any of the checks to see the history of results for that particular check.

screenshot

We only store the history for a couple of days. If you need to keep the history longer, consider using our API to fetch the results, and save them on storage of your own.

Give it a try! #

You can try out the application health check right now. We offer a ten trial, no credit card needed.

Oh Dear is the all-in-one solution for website monitoring. We monitor uptime, SSL certificates, broken links, scheduled tasks, application health, DNS and more. We send notifications when something's wrong. All that paired with a developer-friendly API and kick-ass documentation.

Want to get started? We offer a no-strings-attached 10 day trial. No credit card required.

Start monitoring »

You're all set in
less than a minute!