monit-dev
[Top][All Lists]
Advanced

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

Re: statement changes suggestions


From: Christian Hopp
Subject: Re: statement changes suggestions
Date: Sat, 2 Aug 2003 18:58:55 +0200 (CEST)

On Sat, 2 Aug 2003, Jan-Henrik Haukeland wrote:


> This include rewriting the statement to look more like an if-test.
> Here's a proposal, consider the following port statement:
>
>  host www.sol.no port 80 protocol http
>
> It should/could be rewritten to:
>
>  IF FAILED host www.sol.no port 80 protocol http
>  THEN [ALERT | STOP | RESTART | EXEC]
>
> Likewise the checksum statement could also be rewritten to become a
> more general purpose statement as follows:
>
>  IF FAILED checksum /usr/bin/httpd and
>    expect the sum 4e5309d1956f003bcdff168748bea647
>  THEN [ALERT | STOP | RESTART | EXEC]
>
> What do you think?

We might want to consider this after the next release.  We should not
introduce anything new until release.

CHopp




reply via email to

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