monit-general
[Top][All Lists]
Advanced

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

Re: [monit] monit-or-ing a status code returned by URI


From: Jan-Henrik Haukeland
Subject: Re: [monit] monit-or-ing a status code returned by URI
Date: Sat, 19 Jan 2008 14:04:17 +0100


On 19. jan.. 2008, at 13.46, Jan-Henrik Haukeland wrote:

if failed url http:////localhost:9001/status and content != "ERROR" then restart

Ps. It may be easier to see the boolean _expression_ if you use parenthesis, which is legal in monit

if failed (url http:////localhost:9001/status and content != "ERROR") then restart

reply via email to

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