Re: Alerting and Eventing in Ignite

2017-05-18 Thread vdpyatkov
Hi,

You can not use Ignite Alert by custom event, because it works by time only.
But you can to use a local listener for specific events[1] or extend
EventStorageSpi (IgniteConfiguration#setEventStorageSpi) for handling all
local events.

[1]: https://apacheignite.readme.io/docs/events#section-local-events



--
View this message in context: 
http://apache-ignite-users.70518.x6.nabble.com/Alerting-and-Eventing-in-Ignite-tp12671p12995.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.


Re: Alerting and Eventing in Ignite

2017-05-15 Thread Swetad90
Hi

Anyone yet have had such an use case for Ignite?



--
View this message in context: 
http://apache-ignite-users.70518.x6.nabble.com/Alerting-and-Eventing-in-Ignite-tp12671p12857.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.


Alerting and Eventing in Ignite

2017-05-12 Thread Swetad90
Hi,

I went through the docs on Apache Ignite Alerting & Eventing -
https://apacheignite.readme.io/docs/events
https://apacheignite-tools.readme.io/v1.9/docs/alerts-configuration

Here is my usecase -
1. Start up 5 server nodes to form 1 cluster group
2. Include events on default events(ie NODE JOINED,NODE LEFT,etc) and some
system events(CACHE PUT, CACHE GET,TASK STARTED)
3. Write all events generated onto a log file
4. Generate alerts incase of certain events.

I understand that we need to include all the required event types while
starting the server nodes. And in order to get these events I actually have
to configure a listner from a client code.

1. Is there anyway for ignite to actually write to logs when these events
happen automatically if I have included event types while starting of the
nodes ?
2. We are planning to use external tools to set up alerts based on the logs
we get. But Can Ignite Alerts used with Ignite events?





--
View this message in context: 
http://apache-ignite-users.70518.x6.nabble.com/Alerting-and-Eventing-in-Ignite-tp12671.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.