Tuesday 9 February 2016

Apache Karaf Monitoring

Monitoring and Management using hawtio


Apache Karaf have different monitoring solution running in Apache Karaf. Apache Karaf Decanter and hawtio are few of them.

hawtio is a lightweight and modular HTML5 web console with many plugins for managing your Java container.

hawtio has many plugins such as: Dashboard and Wiki, logs, health, JMX, OSGi, Apache OpenEJB, Apache ActiveMQ, Apache Camel, Apache Tomcat, Jetty, JBoss and Fuse Fabric. One of the key feature is, you can dynamically extend hawtio with your own plugins or automatically discover plugins inside the JVM.

The only server side dependency (other than the static HTML/CSS/JS/images) is the excellent Jolokia library which has small footprint (around 300Kb) and is available as a JVM agent, or comes embedded as a servlet inside the hawtio-default.war or can be deployed as an OSGi bundle.

If you are using Apache Karaf 3.x or newer then you can use 'feature:repo-add' which is simpler to do, and install hawtio-core:

feature:repo-add hawtio 1.4.60
feature:install hawtio-core

NOTE Karaf 3.x/4.x has an issue with the hawtio-terminal which does not yet work. And therefore you need to install hawtio-core instead of hawtio. 

Apache Karaf 3.x hawtio Reference

http://hawt.io/



No comments:

Post a Comment