I’m developing and testing new alerts and can’t get one to trigger – so I’m not sure if I’ve built it correctly. I’m attempting to send an alert email when a process has been dead for 5 minutes. This looks good in the Alert Configurator, but never fires in testing. To test – I manually stop a process with hcienginestop and wait.
Suggestions? v5.8, Linux Red Hat
Running two environments summit_health & summit2 – double-checked that this default.alrt is running in summit_health
Thanks,
Stan
{ALERT
{ NAME 11-ProcessDown }
{ VALUE pid }
{ SOURCE {
{
{ PROCESS Medi_PhaCtl }
} {
{ PROCESS Med_Lab }
} {
{ PROCESS adt }
} {
{ PROCESS medi_omni1 }
} {
{ PROCESS cpal }
}
} }
{ WITH -2 }
{ COMP {== dead} }
{ FOR {nmin 5} }
{ WINDOW */*/*/* }
{ ACTION {
{ exec {echo “CRITICAL: a summit_health process is down for 5 minutes.” | mail -s “%A” abunchaemails@summithealth.org} }
} }
}