#877078 mon: everything breaks when an alert script doesn't return

Package:
mon
Source:
etbemon
Description:
monitor hosts/services/whatever and alert about problems
Submitter:
Russell Coker
Date:
2017-09-28 13:15:04 UTC
Severity:
normal
#877078#5
Date:
2017-09-28 13:12:04 UTC
From:
To:
When an alert script hangs (EG sendxmpp goes into an infinite loop and hangs
mailxmpp.alert) the main mon process stops normal operation and doesn't send
other alerts or even shutdown normally.

It should have some basic controls in place to minimise such problems (EG set
a limit of 1 minute of CPU time for sending an alert or running a monitor
script) and also keep operating normally if an alert script hangs.