English 中文(简体)
"Alert Management System" in Java to support alerts from cross-technology applications
原标题:

Where Alert Management System roughly fits into this definition: "A system designed to screen events, build profiles associated with the events, and send alerts based upon the profiles and events"

So, the current setup is like this: There are multiple applications built in different technologies (Java, .Net, Perl, Python, VB) and they do specific kind of task (e.g. data processing in perl/python, UI in java/.Net etc and some exist because of historical reasons). These applications are inter-dependent in many cases and there are users who want to get alerts from multiple applications when certain events of interest occur.

Now, the question is: Is anyone aware of any effort in this direction or do we need to do it all by ourselves? Basically, we don t want to re-invent the wheel to the extent possible.

And preference would be to have such a framework/system/library in Java because of how things are here. But, anything good in any other technology can be looked into as well.

问题回答

I would suggest JMX as a good Java-based technology for alert-management. It depends upon MBeans sitting in a server listening for event-based Notifications. It can then act upon those notifications any way it wants. I currently use it to monitor applications in a clustered environment.

Have you looked into Complex Event Processing or Event Stream Processing? It sounds similar to what you want to do. These tools take a stream of events and perform queries over them. So if you have a particular event pattern that you are looking for, you can set up a query and when it reaches a match, you can fire off alerts. I ve really oversimplified these tools, but this should give you an idea of the general nature of them.

I m not sure if this is your entire solution, since I don t know what kinds of "profiles" you are trying to build - you might need to add or extend CEP or ESP tools with other tools. But if you want to check something out, I would look at the open-source Esper CEP engine.

What I would take a look at is a rule engine for reactive rules. For example the ruleCore CEP Server, it takes as input XML via REST or JMS and has a rather nice rule language ( rule example: http://rulecore.com/support/wiki/index.php?title=SIM:RuleDef) tailored for monitoring tasks. The alerts you get back are also in XML, for example http://rulecore.com/support/wiki/index.php?title=Action





相关问题
Spring Properties File

Hi have this j2ee web application developed using spring framework. I have a problem with rendering mnessages in nihongo characters from the properties file. I tried converting the file to ascii using ...

Logging a global ID in multiple components

I have a system which contains multiple applications connected together using JMS and Spring Integration. Messages get sent along a chain of applications. [App A] -> [App B] -> [App C] We set a ...

Java Library Size

If I m given two Java Libraries in Jar format, 1 having no bells and whistles, and the other having lots of them that will mostly go unused.... my question is: How will the larger, mostly unused ...

How to get the Array Class for a given Class in Java?

I have a Class variable that holds a certain type and I need to get a variable that holds the corresponding array class. The best I could come up with is this: Class arrayOfFooClass = java.lang....

SQLite , Derby vs file system

I m working on a Java desktop application that reads and writes from/to different files. I think a better solution would be to replace the file system by a SQLite database. How hard is it to migrate ...

热门标签