monit-general
[Top][All Lists]
Advanced

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

Re: Email alert formating


From: hans
Subject: Re: Email alert formating
Date: Mon, 28 Nov 2005 13:44:32 -0300

Rishi:  yep, its posible.
ex:
set mail-format {from: address@hidden
set mail-format {from: address@hidden
subject: $SERVICE $EVENT $ACTION at $DATE
message:.}
and you will recibe a mesg whit no content like this:
From: address@hidden <address@hidden>           
To: address@hidden
Date: Nov 28, 2005 2:45 PM
Subject: apache Does not exist restart at Mon, 28 Nov 2005 12:45:29 -0500
whit no content.

PD: http://www.tildeslash.com/monit/doc/manual.php#alert_message_layout.

On 11/28/05, Rishikesh Dongre <address@hidden> wrote:
> Hi Hans,
>
> If i take your example, is is possible to remove last line from your email 
> alert.
> Eg. The last line your email alert is -
> 'tomcat' process is running with pid 3161
>
> which should not be come.
>
>
> Please suggest.
>
> Thanks,
> rishi
>
>
> -----Original Message-----
> From: address@hidden
> [mailto:address@hidden Behalf
> Of hans
> Sent: Wednesday, November 23, 2005 9:34 PM
> To: This is the general mailing list for monit
> Subject: Re: Email alert formating
>
>
> I user this, so a can get all the msg in cell phone, is a nice format.
> in /etc/monitrc
> set mail-format {from: address@hidden
> subject: $SERVICE $EVENT at $DATE
> message: Monit $ACTION $SERVICE on $HOST.}
>
> msg result:
> Monit alert tomcat on www.server.com.ar.
> 'tomcat' process is running with pid 3161
>
> On 11/23/05, Rishikesh Dongre <address@hidden> wrote:
> > Hi All,
> >
> > I want to remove a line from mail alert which comes after
> >
> > Your faithful employee,
> > monit
> >
> > The same is logged in /var/adm/messages file.
> >
> > Please suggest.
> >
> > Many thanks in advance.
> >
> > Regards,
> > rishi
> >
> > This email with all infomation contained herein or attached hereto may 
> > contain confidential and/or privileged information intended for the 
> > addressee(s) only. If you have received this email in error, please contact 
> > the sender and immediately delete this email in its entirety and any 
> > attachments thereto.
> >
> > This email with all information contained herein or attached hereto may 
> > contain confidential and/or privileged information intended for the 
> > addressee(s) only. If you have received this email in error, please contact 
> > the sender and immediately delete this email in its entirety and any 
> > attachments thereto.
> >
> >
> > --
> > To unsubscribe:
> > http://lists.nongnu.org/mailman/listinfo/monit-general
> >
>
>
> --
> -------------------------------------------------------------------------------------------------------------
> /"\ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
> \ /   ASCII Ribbon Campaign  . Windows: "Where do you want to go today?"
>  X  - NO HTML/RTF in e-mail  . Linux: "Where do you want to go tomorrow?"
> / \ - NO Word docs in e-mail . BSD: "Are you guys coming or what?"
> -------------------------------------------------------------------------------------------------------------
>
>
> --
> To unsubscribe:
> http://lists.nongnu.org/mailman/listinfo/monit-general
>
> This email with all infomation contained herein or attached hereto may 
> contain confidential and/or privileged information intended for the 
> addressee(s) only. If you have received this email in error, please contact 
> the sender and immediately delete this email in its entirety and any 
> attachments thereto.
>
> This email with all information contained herein or attached hereto may 
> contain confidential and/or privileged information intended for the 
> addressee(s) only. If you have received this email in error, please contact 
> the sender and immediately delete this email in its entirety and any 
> attachments thereto.
>
>
> --
> To unsubscribe:
> http://lists.nongnu.org/mailman/listinfo/monit-general
>


--
-------------------------------------------------------------------------------------------------------------
/"\ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
\ /   ASCII Ribbon Campaign  . Windows: "Where do you want to go today?"
 X  - NO HTML/RTF in e-mail  . Linux: "Where do you want to go tomorrow?"
/ \ - NO Word docs in e-mail . BSD: "Are you guys coming or what?"
-------------------------------------------------------------------------------------------------------------




reply via email to

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