monit-dev
[Top][All Lists]
Advanced

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

Re: monit CHANGES.txt gc.c l.l monitor.h p.y util.c...


From: Martin Pala
Subject: Re: monit CHANGES.txt gc.c l.l monitor.h p.y util.c...
Date: Mon, 20 Dec 2004 08:39:29 +0100
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.3) Gecko/20040910

Jan-Henrik Haukeland wrote:
        The current parser, parse this type of statement for URL check:
        
        check <....>
        if failed url http://username:address@hidden/index.html?querystring
        and content == "regexp"
        with timeout 15 seconds
        then alert
        
        I have taken the liberty to just check this in, without asking. I hope 
this
        is okay? since we already has voted 'yes' on including this 
functionality.

The new syntax looks good :) I think it could be useful to replace existing port test syntax:

  if failed [host ...] port ... [protocol ...] [request ...]

with new one based on URLs. This can be more simple to use (urls are usual + the form is shorter) and internaly it provides good flexibility.

Martin




reply via email to

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