Whenever one of the checks fails, the package can send you a notification. A notification will be sent for all checks that send a message in their result.
Out of the box, the notification can be sent:
- via mail,
- via Slack
- via Oh Dear (enables snoozing notifications, and delivery via Telegram, Discord, MS Teams, webhooks, ...)
##Throttling notifications
These notifications are throttled, so you don't get overwhelmed with notifications when something goes wrong. By default, you'll only get one notification per hour.
In the throttle_notifications_for_minutes key of the health config file, you can customize the length of the throttling period.
##Only notify on failures
By default, notifications are sent for both warning and failed check results. If you want to receive notifications only when checks have a failed status (ignoring warnings), you can enable the only_on_failure option in the health config file:
'notifications' => [
'enabled' => true,
'only_on_failure' => true,
],