[Top][All Lists]

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

Re: [monit] monit mail-format options

From: Simon Christian
Subject: Re: [monit] monit mail-format options
Date: Tue, 30 Oct 2007 16:33:45 +1100
User-agent: Thunderbird (Windows/20070728)

I've looked further at the documentation and played with monitrc and not been able to find the option to add a priority. So I edited sendmail.c of the monit source to include the following lines:

do_send(&S, "X-Priority: 1\n");
do_send(&S, "X-MSMail-Priority: High\n");

These lines are written in after line 135. I'm aware this isn't ideal, but it solves my problem for the moment.
Just thought I'd let everyone know


Simon Christian wrote:

Is it possible to have monit give the alert emails it sends a priority header such as "X-Priority = 1"? I am asking because I'm looking at getting the monit emails sent to an address that will trigger an sms message to be sent for high priority messages.


To unsubscribe:

reply via email to

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