Health installation & setup
Health probes ship inside cinderwatch/cinder-laravel. No extra package is required after the main installation.
Enable the endpoint
In .env:
CINDER_HEALTH_ENDPOINT_ENABLED=true
CINDER_HEALTH_CHECK_SECRET=a-long-random-secret
Copy the secret from Cinder project settings → Install / Monitoring. Cinder sends it as an Authorization: Bearer header when polling.
The default path is /cinder/v1/health. Override with CINDER_HEALTH_ENDPOINT_URL if needed.
Schedule the runner
In routes/console.php (or your scheduler):
use Illuminate\Support\Facades\Schedule;
Schedule::command('cinder:health')->everyMinute();
cinder:health runs every registered probe, stores the latest snapshot in cache, and records the scheduler heartbeat read by SchedulerHeartbeatProbe.
Register probes
See Registering probes. A typical starter set in config/cinder.php:
use Cinderwatch\Health\Probes\DiskUsageProbe;
use Cinderwatch\Laravel\Health\Probes;
'health' => [
// ...
'probes' => [
Probes\DebugModeProbe::class => ['expectEnabled' => false],
Probes\EnvironmentProbe::class => ['expected' => 'production'],
Probes\DatabaseConnectionProbe::class,
Probes\CacheRoundTripProbe::class,
DiskUsageProbe::class,
Probes\SchedulerHeartbeatProbe::class,
],
],
Maintenance mode
If you put the app into maintenance mode, allow the health path so Cinder can still poll:
$middleware->preventRequestsDuringMaintenance(except: [
'cinder/v1/health',
]);
Snapshot storage
Snapshots are stored in the configured cache store (CINDER_HEALTH_CACHE_STORE, or the default cache). Only the latest snapshot per server is kept, so storage never grows. No database tables are used. The endpoint can either serve the stored snapshot or inspect fresh on every request — see Health endpoint.