[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [monit] regex in http tests

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.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]