By the way, this is how the logs appear in the console..
[Camel (QuriaEventbus) thread #2 - RabbitMQConsumer] INFO InitiateImport -
Initiate Drammen import message encountered an irrecoverable error
[Camel (QuriaEventbus) thread #2 - RabbitMQConsumer] ERROR ErrorHandler -
##################################################################################################################
[Camel (QuriaEventbus) thread #2 - RabbitMQConsumer] ERROR ErrorHandler -
An error occured in the integration
[Camel (QuriaEventbus) thread #2 - RabbitMQConsumer] ERROR ErrorHandler -
Headers: {breadcrumbId=ID-LULPSER-55818-1478096216153-1-1,
CamelContextId=ImportDrammenDatasets, CamelCreatedTimestamp=Wed Nov 02
15:18:05 CET 2016, CamelExceptionCaug..............
On Wed, Nov 2, 2016 at 3:30 PM, Souciance Eqdam Rashti <
[email protected]> wrote:
> One question, does decanter sla checker also react to logs written on the
> console? I am guessing so but just asking.
>
> I have a simple Camel flow deployed. The pax.logging.cfg is configured to
> log to the console. I trigger the camel flow and make it generate an error.
>
> In the decanter.sla.checker.cfg file I enabled the checker:
> loggerLevel.error=match:ERROR
>
> I have also configured the e-mail alerter to access my gmail.
>
> In the console I see the error logs printed.
>
> But I don't get an e-mail or see anywhere that it has attempted to take
> any action, hence I am wondering if the logs need to be saved to the file?
> It could perhaps be that the match failed but it should match on the error
> level I assume.
>
>
> I have installed decanter, decanter-sla-checker, decanter-e-mail-alert
> decanter-collector-log and decanter-appender-log.
>
> On Wed, Nov 2, 2016 at 11:32 AM, Souciance Eqdam Rashti <
> [email protected]> wrote:
>
>> Yes, I think I will try to create a custom distribution with the decanter
>> sla and alert installed. That seems like a better approach. Thanks again
>> for the help.
>>
>> On Wed, Nov 2, 2016 at 10:54 AM, cschneider [via Karaf] <
>> [email protected]> wrote:
>>
>>> You can always install it as a feature. It is quite easy to do.
>>>
>>> Bundling it into the zip / tgz is a difficult choice as we want to keep
>>> the package sizes small.
>>> You can easily create your custom distro though that includes exactly
>>> the features you want.
>>>
>>> Christian
>>>
>>> On 02.11.2016 10:51, souciance wrote:
>>>
>>> > Thanks, for sure looking forward to the next release.
>>> >
>>> > A small idea, what about bundling decanter together with Karaf as a
>>> > complete package rather than install separately? Or have it as an
>>> option
>>> > for those who want to to have everything from the get go.
>>> >
>>> > On Wed, Nov 2, 2016 at 10:28 AM, jbonofre [via Karaf] <
>>> > [hidden email] <http:///user/SendEmail.jtp?type=node&node=4048543&i=0>>
>>> wrote:
>>> >
>>> >> You are welcome ;)
>>> >>
>>> >> By the way, one big improvement that will come in Decanter 1.4.0 is
>>> >> about SLA and alerting: improved check condition, beginning of CPE
>>> >> support, alerting throttling, ...
>>> >>
>>> >> Regards
>>> >> JB
>>> >>
>>> >> On 11/02/2016 10:26 AM, souciance wrote:
>>> >>
>>> >>> Great, thanks for the quick reply. I will try it out. By the way
>>> thanks
>>> >> for
>>> >>> developing a much needed tool for alerts and monitoring ;)
>>> >>>
>>> >>> On Wed, Nov 2, 2016 at 10:24 AM, jbonofre [via Karaf] <
>>> >>> [hidden email] <http:///user/SendEmail.jtp?ty
>>> pe=node&node=4048541&i=0>>
>>> >> wrote:
>>> >>>> Hi Souciance,
>>> >>>>
>>> >>>> of course, SLA/Alerting is completely decoupled from the appender.
>>> >>>>
>>> >>>> So, you can install SLA and checker features without any appender
>>> >>>> actually ;)
>>> >>>>
>>> >>>> The checker/alerters works on the collected event, not on the
>>> storage.
>>> >>>>
>>> >>>> Regards
>>> >>>> JB
>>> >>>>
>>> >>>> On 11/02/2016 10:21 AM, souciance wrote:
>>> >>>>
>>> >>>>> Hello,
>>> >>>>>
>>> >>>>> Is there any way to install decanter alert and sla without the
>>> kibana
>>> >>>> and
>>> >>>>> elastic components and dashboard? Basically a simple alert without
>>> the
>>> >>>>> dashboard features that checks the karaf logs and alerts due when
>>> log
>>> >>>> level
>>> >>>>> is warn or error or some other condition. The main reason is that
>>> we
>>> >>>> already
>>> >>>>> have a central elastic and kibana for all our logs and would like
>>> to
>>> >>>> avoid
>>> >>>>> installning another for Karaf but would like to use the alert and
>>> sla
>>> >>>>> functionality of decanter.
>>> >>>>>
>>> >>>>> Best
>>> >>>>> Souciance
>>> >>>>>
>>> >>>>>
>>> >>>>>
>>> >>>>> --
>>> >>>>> View this message in context: http://karaf.922171.n3.nabble.
>>> >>>> com/Karaf-decanter-alert-and-sla-only-tp4048538.html
>>> >>>>> Sent from the Karaf - User mailing list archive at Nabble.com.
>>> >>>>>
>>> >>>> --
>>> >>>> Jean-Baptiste Onofré
>>> >>>> [hidden email] <http:///user/SendEmail.jtp?ty
>>> pe=node&node=4048539&i=0>
>>> >>>> http://blog.nanthrax.net
>>> >>>> Talend - http://www.talend.com
>>> >>>>
>>> >>>>
>>> >>>> ------------------------------
>>> >>>> If you reply to this email, your message will be added to the
>>> >> discussion
>>> >>>> below:
>>> >>>> http://karaf.922171.n3.nabble.com/Karaf-decanter-alert-and-
>>> >>>> sla-only-tp4048538p4048539.html
>>> >>>> To unsubscribe from Karaf decanter alert and sla only, click here
>>> >>>> <
>>> >>>> .
>>> >>>> NAML
>>> >>>> <http://karaf.922171.n3.nabble.com/template/
>>> >> NamlServlet.jtp?macro=macro_viewer&id=instant_html%
>>> >> 21nabble%3Aemail.naml&base=nabble.naml.namespaces.
>>> >> BasicNamespace-nabble.view.web.template.NabbleNamespace-
>>> >> nabble.view.web.template.NodeNamespace&breadcrumbs=
>>> >> notify_subscribers%21nabble%3Aemail.naml-instant_emails%
>>> >> 21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>>> >>>
>>> >>>
>>> >>>
>>> >>> --
>>> >>> View this message in context: http://karaf.922171.n3.nabble.
>>> >> com/Karaf-decanter-alert-and-sla-only-tp4048538p4048540.html
>>> >>> Sent from the Karaf - User mailing list archive at Nabble.com.
>>> >>>
>>> >> --
>>> >> Jean-Baptiste Onofré
>>> >> [hidden email] <http:///user/SendEmail.jtp?type=node&node=4048541&i=1>
>>>
>>> >> http://blog.nanthrax.net
>>> >> Talend - http://www.talend.com
>>> >>
>>> >>
>>> >> ------------------------------
>>> >> If you reply to this email, your message will be added to the
>>> discussion
>>> >> below:
>>> >> http://karaf.922171.n3.nabble.com/Karaf-decanter-alert-and-
>>> >> sla-only-tp4048538p4048541.html
>>> >> To unsubscribe from Karaf decanter alert and sla only, click here
>>> >> <
>>> >> .
>>> >> NAML
>>> >> <http://karaf.922171.n3.nabble.com/template/NamlServlet.jtp?
>>> macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&bas
>>> e=nabble.naml.namespaces.BasicNamespace-nabble.view.web.temp
>>> late.NabbleNamespace-nabble.view.web.template.NodeNamespac
>>> e&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-
>>> instant_emails%21nabble%3Aemail.naml-send_instant_email%
>>> 21nabble%3Aemail.naml>
>>> >>
>>> >
>>> >
>>> >
>>> > --
>>> > View this message in context: http://karaf.922171.n3.nabble.
>>> com/Karaf-decanter-alert-and-sla-only-tp4048538p4048542.html
>>> > Sent from the Karaf - User mailing list archive at Nabble.com.
>>>
>>>
>>> --
>>> Christian Schneider
>>> http://www.liquid-reality.de
>>>
>>> Open Source Architect
>>> http://www.talend.com
>>>
>>>
>>>
>>> ------------------------------
>>> If you reply to this email, your message will be added to the discussion
>>> below:
>>> http://karaf.922171.n3.nabble.com/Karaf-decanter-alert-and-s
>>> la-only-tp4048538p4048543.html
>>> To unsubscribe from Karaf decanter alert and sla only, click here
>>> <http://karaf.922171.n3.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4048538&code=c291Y2lhbmNlLmVxZGFtLnJhc2h0aUBnbWFpbC5jb218NDA0ODUzOHwxNTMyOTExNjU2>
>>> .
>>> NAML
>>> <http://karaf.922171.n3.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>>>
>>
>>
>
--
View this message in context:
http://karaf.922171.n3.nabble.com/Karaf-decanter-alert-and-sla-only-tp4048538p4048550.html
Sent from the Karaf - User mailing list archive at Nabble.com.