|
From: | Jan-Henrik Haukeland |
Subject: | Re: [monit] monit-or-ing a status code returned by URI |
Date: | Sat, 19 Jan 2008 19:13:16 +0100 |
Just to make it clear, parenthesis in monit is just white space and has no meaning, but can be used as syntactical sugar. It is not possible to use parenthesis to change the evaluation of an _expression_. The "if failed" statement is written in stone as "if failed <boolean _expression_> then <action>". Which means in the content check case below that we have to use double negation which may be counterintuitive at first sight. On 19. jan.. 2008, at 16.50, Elijah Wright wrote:
|
[Prev in Thread] | Current Thread | [Next in Thread] |