monit-general
[Top][All Lists]
Advanced

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

mail-format local


From: Kizito Porta Balanyà
Subject: mail-format local
Date: Thu, 29 Jan 2015 11:56:28 +0100

Hello,

Is it possible to define an alert mail-format locally?
Something like the following:

check program liveStatus with path /usr/bin/false
    if status != 0 then alert

    set alert address@hidden with reminder on 1 cycle
    set mail-format {
       from: address@hidden
       subject: KSR alert --  $EVENT $SERVICE
       message: My Live Status Cehck. Monit is alive!
    }
    group Live_Status

The idea is overwrite the mail-format headers, create custom messages, ....

Thanks a lot.



reply via email to

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