hawtio is a lightweight and modular HTML5 web console for managing your Java stuff. Its a hawt console to help you stay cool!
hawtio has plugins for a git based Dashboard and Wiki, working with JMX, OSGi, Apache ActiveMQ, Apache Camel, Apache OpenEJB, Apache Tomcat, Jetty, JBoss and Fuse Fabric
You can dynamically extend hawt.io with your own plugins or automaticaly 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-web.war or can be deployed as an OSGi bundle.
hawtio also supports Health MBeans to make it easy for your Java services to expose their health status so you can see how your Java stuff is behaving
If you are running Tomcat, Jetty or JBoss you could just deploy the hawtio-web.war to your container at the hawtio context path (e.g. by renaming the file to hawtio.war in your deploy directory) then opening http://localhost:8080/hawtio/ and you should have your hawtio console.
If you are using a developer snapshot of Fuse ESB you can run:
features:install hawtio
Or if you are using a vanilla Apache Karaf, Apache ServiceMix or Fuse ESB the followwing should work:
features:install war
install https://oss.sonatype.org/content/repositories/snapshots/io/hawt/hawtio-osgi/1.0-SNAPSHOT/hawtio-osgi-1.0-20130205.084731-12.war
Then open http://localhost:8181/hawtio/
Installing hawtio to Apache Karaf
You can install public releases of hawtio using a vanilla Apache Karaf, Apache ServiceMix container, using the following commands:
features:addurl mvn:io.hawt/hawtio-karaf/1.0.0/xml/features
features:install hawtio
(substitute 1.0.0 with the public release of hawtio you want to use) Then open http://localhost:8181/hawtio/
Or from a git clone you should be able to run the a sample hawtio console as follows:
git clone git@github.com:hawtio/hawtio.git
cd hawtio/sample
mvn jetty:run
Then opening http://localhost:8080/hawtio/ should show hawtio with a sample web application with some ActiveMQ and Camel inside to interact with.
A good MBean for real time values and charts is java.lang/OperatingSystem or try looking at queues or camel routes. Notice that as you change selections in the tree the list of tabs available changes dynamically based on the content.
We love contributions!
- hawtio FAQ
- how to contribute
- how to build the code
- how to get started working on the code
- join the hawt.io community
Its a hawt console to help you can stay cool!