On Wed, Sep 14, 2011 at 5:19 PM, Jan-Henrik Haukeland
<address@hidden> wrote:
On Sep 14, 2011, at 1:14 PM, Marcus Mülbüsch wrote:
> How do I write a statement that will do one test after the other; and only if the first test succeeded?
This cannot (yet) be expressed in the config language. If-tests are separate statements without an 'else if' part. This will be changed in a later release, though not optimal, maybe you can use the new check program statement and put the test in a script executed by Monit?