monit-general
[Top][All Lists]
Advanced

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

Re: alert patch


From: Christian Hopp
Subject: Re: alert patch
Date: Tue, 13 Aug 2002 17:19:13 +0200 (CEST)

On 13 Aug 2002, Jan-Henrik Haukeland wrote:

>
> The following patch is for developers. It contains code to add an
> optional message to a smtp_alert message. For instance:
>
>  smtp_alert_restart(p, "Restarted because cpu usage exceede with %d\n",
>                     r->cpuusage);
>  smtp_alert_stop(p, "Stopped because to much memory was used");
>
>  etc.
>
> The optional alert message is always inserted at the end of a regular
> alert message. This may not be the best solution!

Most important the "feel" is made we can change the "look" later.

> Can you test out this patch Christian and incorporat it with your new
> patch when you check it all in.

Once again I have to acknowledge the GNU diff/patch is one of "THE"
tools you won't want miss.  With all the changes my code already does,
daily cvs updates. And just one failed hunk.

Patching worked fine... compile okay.  But I have to extend your
feature to the "do_[restart,stop,start]" function in order to use it
well.

C.Hopp

-- 
Christian Hopp                                email: address@hidden
Institut für Elektrische Informationstechnik             fon: +49-5323-72-2113
Technische Universität Clausthal                         fax: +49-5323-72-3197
  pgpkey: https://www.iei.tu-clausthal.de/pgp-keys/chopp.key.asc  (2001-11-22)





reply via email to

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