How to restart and alert if condition matches in Monit?

Monit will implicitly alert upon process restart. You don't need to specify "then alert".