camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "michal.warecki" <michal.ware...@gmail.com>
Subject Re: [DISCUSS] Camel Alerts
Date Fri, 16 Mar 2012 20:51:52 GMT
List of organizations approved by Google is available on
http://www.google-melange.com/gsoc/accepted_orgs/google/gsoc2012.

I would like to return to this topic and again to summarize the basic
assumptions.

The monitoring mechanism of the basic metrics such as memory, the
availability of the URL, exceptions etc. will be based on JMX, which will
send the appropriate notifications.

Configuration will be responsible for defining levels of alerts (something
like SLA's) and destinations.
The two protocols that we support are SNMP and SMTP.

So in total I came across a division into 3 layers:
JMX notification layer; a layer of SLA-defined analyzes, and sending alerts;
alerts receiving client layer.

Question for Johan on SNMP:
I have never used the SNMP so forgive me if my questions are inappropriate.
Why should we worry about the MIB? Is it not sufficient if we just send
information such as name of alert, alert type, description, severity, and
the date and assign the user-defined OID?

I understand that we are giving up the support of generic and decide to
support the two protocols as shown in the following example?:

<camelContext id="camel" xmlns="http://camel.apache.org/schema/spring">
       
         <alerts>
                 <threadPoolAlert id="tpa" profile="fooProfile"
severity="major" threshold="70%"
destination="smtp://admin@mymailserver.com?password=secret"/>
                 <lowMemoryAlert id="lma" pool="PermGen" severity="critical"
threshold="80%"
destination="snmp:192.168.178.23:161?protocol=udp&oids=1.3.6.1.2.1.1.5.0" />
                 <exceptionAlert id="xa" type="com.foo.MyException"
severity="critical"
destination="snmp:192.168.178.23:161?protocol=udp&oids=1.3.6.1.2.1.1.5.0" />
         </ alerts>
       
         <threadPoolProfile id="fooProfile" poolSize="20" maxPoolSize="50"
maxQueueSize="-1"/>

</ camelContext>

Does anyone of you would be willing to register as a mentor and help me in
this project as an official mentor? Of course I will be grateful for the
support of all but I must be assigned to an official mentor :-)

I will be grateful for more clues as to the above described solution.

Cheers,
MichaƂ

--
View this message in context: http://camel.465427.n5.nabble.com/DISCUSS-Camel-Alerts-tp5497221p5572465.html
Sent from the Camel Development mailing list archive at Nabble.com.

Mime
View raw message