If you reverse the content comparison operator I believe you can use something 
like this to do what you want:

if failed url http://local/test.php
      and content != '^OK$'
      then alert

Meaning; if the reply body does not contain a single "OK" then alert.
--
To unsubscribe:
http://lists.nongnu.org/mailman/listinfo/monit-general

Reply via email to