Oh Dear Uptime tile
This tile displays sites that Oh Dear detects as down.
You can install the package via composer:
composer require spatie/laravel-dashboard-oh-dear-uptime-tile
This package listens for events coming from Oh Dear using the
ohdearapp/laravel-ohdear-webhooks package. Before you can use this tile, you must set up
laravel-ohdear-webhooks. You’ll find instructions in this section in the Oh Dear docs.
dashboard config file, you must add this configuration in the
// in config/dashboard.php return [ // ... 'tiles' => [ 'oh_dear_uptime' => [ 'refresh_interval_in_seconds' => 5, ], ];
In your dashboard view, you use the
<x-dashboard> <livewire:oh-dear-uptime-tile position="a1:a3" /> </x-dashboard>
If you want to customize the view used to render this tile, run this command:
php artisan vendor:publish --provider="Spatie\OhDearUptimeTile\OhDearUptimeTileServiceProvider" --tag="dashboard-oh-dear-uptime-tile-views"