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 [email protected] with reminder on 1 cycle
    set mail-format {
       from: KSR@$HOST
       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.

--
To unsubscribe:
https://lists.nongnu.org/mailman/listinfo/monit-general

Reply via email to