Monitor AWS EventBridge Scheduled Rules with CronRabbit
AWSThe Problem
EventBridge scheduled rules can be silently disabled, misconfigured, or fail to invoke the target. You need external verification that the rule fires and the target completes.
The Solution
Add CronRabbit monitoring to the target (Lambda, ECS, Step Functions) of your EventBridge rule. The heartbeat verifies the entire chain works.
End-to-End Verification
Don't just monitor EventBridge — monitor the target. A rule can fire successfully but the target can still fail. CronRabbit monitors whether the final output (your actual job) completes.
Code Examples
EventBridge → Lambda with monitoring
Python# Your Lambda target receives the EventBridge event
def handler(event, context):
import urllib.request
PING = "https://ping.cronrabbit.com/your-id"
urllib.request.urlopen(f"{PING}/start", timeout=5)
try:
process_scheduled_event(event)
urllib.request.urlopen(PING, timeout=5)
except Exception:
urllib.request.urlopen(f"{PING}/fail", timeout=5)
raise