Bump Frigate retention and add recording health check

Increase retention: continuous 3→180d, detections 14→30d, alerts 30→730d.
Plenty of NFS headroom (~9.4 TiB free, ~6.6 GB/day for one camera).

Add frigate-recording check to services-check that verifies camera_fps > 0,
which would have caught the 6-day outage from the mqtt config removal.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Erich Blume 2026-03-17 18:24:11 -07:00
commit cfe3391f1a
3 changed files with 5 additions and 3 deletions

View file

@ -70,14 +70,14 @@ model:
record: record:
enabled: true enabled: true
continuous: continuous:
days: 3 days: 180
alerts: alerts:
retain: retain:
days: 30 days: 730
mode: active_objects mode: active_objects
detections: detections:
retain: retain:
days: 14 days: 30
mode: motion mode: motion
snapshots: snapshots:

View file

@ -0,0 +1 @@
Bump Frigate recording retention (180d continuous, 30d detections, 730d alerts) and add camera-fps health check to services-check.

View file

@ -83,6 +83,7 @@ check_http "CV" "https://cv.ops.eblu.me/"
check_http "Ntfy" "https://ntfy.ops.eblu.me/v1/health" check_http "Ntfy" "https://ntfy.ops.eblu.me/v1/health"
check_http "Authentik" "https://authentik.ops.eblu.me/-/health/live/" check_http "Authentik" "https://authentik.ops.eblu.me/-/health/live/"
check_http "Frigate" "https://nvr.ops.eblu.me/api/version" check_http "Frigate" "https://nvr.ops.eblu.me/api/version"
check_service "frigate-recording" "curl -sf --max-time 5 https://nvr.ops.eblu.me/api/stats | jq -e '.camera_fps > 0'"
check_http "JobSync" "https://jobsync.ops.eblu.me/" check_http "JobSync" "https://jobsync.ops.eblu.me/"
echo "" echo ""