Hi Wang,

I see from yoir example you  are looking for 'Exception'. So if I am
correct you are hoping to use monit to monitor application layer logs.

Usually IT ops are more interested in the health of infrastructure,
network, OS. Devs are more into application logic failures. Monit is
perfect for the first. For the second Monit will need to not only pack all
exceptions in one email but also exclude certain false positives result of
developer bugs (something is log as ERROR when it should be INFO for
example. It will also need to send the alert to a different mailing list
(for devs and not ops as thi is application layer alert). We are currently
using
http://thinkinginsoftware.blogspot.com/2011/01/use-logmonitor-to-email-log-errors.htmlto
monitor application logs.

If on the contrary you need to match specific application exceptions and
send them to Ops it makes sense to me to join them but consider most likely
you want to act quicker than 30 min for example.

Best,
Nestor



On Sep 12, 2012, at 4:31 AM, "Wang, Yongkun | Yongkun | BDD" <
[email protected]> wrote:

 Thanks Martin.

 I am looking forward to it.

 Regards,
Yongkun Wang

  From: Martin Pala <[email protected]>
Reply-To: This is the general mailing list for monit <
[email protected]>
Date: 2012年9月12日水曜日 16:44
To: This is the general mailing list for monit <[email protected]>
Subject: Re: Merge alerts into one email within one cycle for the same
service

  Hi,

 the implementation of alert aggregations (multiple events to one email) is
just in progress for the next M/Monit version. We can maybe add the same to
Monit in the future.

 Regards,
Martin


 On Sep 12, 2012, at 9:09 AM, "Wang, Yongkun | Yongkun | BDD" <
[email protected]> wrote:

 Hi,

 Is it possible to config Monit to merge alerts into ONE email within one
cycle for the same service?

 For example,

 Check file my-log-file
    with path /var/log/my.log
    every "*/30 * * * *"
    If match "Exception" then alert

 There may be many alerts within 30 minutes cycle, for each alert monit
will send an email, it is annoying sometime.
So is it possible to merge them into one email?

 Monit is almost perfect for our current situation.

 Cheers,
Yongkun Wang


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


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

Reply via email to