Hello,

I want to run a script when Monit detects that my application has
_crashed_ (not normal restart) more than 4 times in a given duration.
I saw the following post which uses a temp file hack:

http://stackoverflow.com/questions/18475834/monit-how-to-identify-crashes-of-a-program-instead-of-restarts

Is this the only/preferred way? or is there a way to distinguish between normal
restart (via SysV service restart, in my case) vs crash
[assert()/abort()/exit(!0)] ?

--
Regards,
A. Aniruddha

--
To unsubscribe:
https://lists.nongnu.org/mailman/listinfo/monit-general

Reply via email to