watch webhost01 service httpd_prozess monitor watch_prozess.monitor /usr/sbin/httpd ;; interval 30s period RESTART: alert httpd_restart.alert alert remote.alert -H monhost upalertafter 2m numalerts 1 period RESTART_FAILED: alert mail.alert -S "httpd restart failed" Admin1@office numalerts 1 alertafter 3m