It will be so much easier if Ekos can provide monitoring data to Prometheus. Then I can set any kind of alerting I want.
Capture successful - increment a counter "capture_count job="$JOB_NAME" successful=true"
Capture failed - increment a counter "capture_count job="$JOB_NAME" successful=false"