[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 21:33:03 +0200

On May 17, 2010, at 9:17 PM, Jan-Henrik Haukeland wrote:

> '^OK[:space:]*'

Sorry, this one is correct and you should be able to plug it directly into your 
test without changing the response from the server. The regex allows for any 
new-line chars at the end, but otherwise only the text "OK":         

 and content == '^OK[[:space:]]*$'

reply via email to

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