I need to monitor the CRON service on our Linux box (ubuntu) and set up an alert if it stops. I am using "pgrep -c cron". I need to create an alert if the return is "0" (not running).
What is the best way to accomplish this using SAM?