Thank you, this is very helpful! I tried your example and it seems to work. Now to setup an alarm if the queue seems blocked ... do you do this?
I'll try to come up with queries for:
@wimsymons wrote:
Active and Queued Sling Jobs, JCR Session Count, Replication Queue Length, Cold Standby Lag, Async ...