monit-general
[Top][All Lists]
Advanced

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

alert patch


From: Jan-Henrik Haukeland
Subject: alert patch
Date: 13 Aug 2002 16:55:36 +0200
User-agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Civil Service)

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!  

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


Attachment: alert.diff
Description: alert.diff

-- 
Jan-Henrik Haukeland

reply via email to

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