Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Java real-time service monitoring framework

Got to create some kind of "counters" for online service monitoring - i.e. Foo_Request_Total, Foo_Request_DB_error, Foo_Request_Timedout, Bar_Request_Total,...

Also, some kind of alarm has to be generated when counter passes a pre-defined limit (for example SNMP trap if more than 5 requests per hour were timed out).

Could you suggest any Java framework for this ?

like image 325
Dmitry Khalatov Avatar asked Nov 15 '22 16:11

Dmitry Khalatov


1 Answers

The standard monitoring mechanism in Java is JMX.

You can monitor services remotely and even execute commands.

There are JMX/SNMP connectors you can use to map values to a MIB and generate traps.

like image 199
Jason Cohen Avatar answered Nov 17 '22 05:11

Jason Cohen