|
From: | Jan-Henrik Haukeland |
Subject: | Re: [monit] regex in http tests |
Date: | Mon, 17 May 2010 10:22:54 +0200 |
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.
[Prev in Thread] | Current Thread | [Next in Thread] |