Here is an example of what we use to check if nothing received for 30 minutes in this case, some interfaces are set to as low as 5 minutes but this might get you started.
This alert will go off once an hour Mon-Fri 7AM-7PM as long as nothing has been received for at least 30 minutes (1800 seconds).
{ALERT
{ NAME {ib_ml_ord_a L1 (Last Recieved – 1800 seconds) Mon-Fri (7AM-7PM)} }
{ GROUPS ml_ord_a }
{ VALUE lastr }
{ SOURCE ib_ml_ord_a }
{ WITH 1 }
{ COMP {>= 1800} }
{ FOR once }
{ REPEATING {
{ MAX 11 }
{ TIME {nmin 60} }
} }
{ WINDOW {* * 7,8,9,10,11,12,13,14,15,16,17,18 * * 1,2,3,4,5} }
{ ACTION {
{ exec {recycle_thread_alert.ksh “email_interface_help,page_hub_on_call,” ‘HUB on-call have Cerner ML admin check their ord_a sender interface; p_ib_lab_1/ib_ml_ord_a – nothing received for at least 1800 seconds’ ib_ml_ord_a ml_ord_a} }
} }
}
Russ Ross
RussRoss318@gmail.com