Reinventing the wheel
-
Scripting News in RHQ 4.5.0
Sep 27, 2012 10:38 AM, by Lukáš Krejčí
RHQ 4.5.0 (which we released today) contains a great deal of scripting enhancements that I think are worth talking about in more detail. In my eyes, the changes make the scripting in RHQ ready for ser... -
The Dark Powers of PowerMock
Sep 14, 2012 1:12 PM, by Lukáš Krejčí
Recently, we’ve started using Mockito and PowerMock in our testing. I won’t explain mocking and why or why not you should use it, but I want to share my experience with using PowerMock. PowerMock come... -
RHQ speaks Python
Jul 12, 2012 5:49 PM, by Lukáš Krejčí
In the past few weeks I was quite busy refactoring RHQ’s CLI and scripting integration. Funnily enough it all started because we wanted to add the support for CommonJS modules to our javascript interf... -
RHQ meets Arquillian
Mar 9, 2012 3:37 PM, by Lukáš Krejčí
Historically, RHQ has had a little bit of a problem with test coverage of its various (agent) plugins. There is a multitude of problems with testing these but the following two are, IMHO, the main one... -
RHQ CLI over XMPP
Feb 6, 2012 11:39 AM, by Lukáš Krejčí
I watched the great demo of the XMPP server plugin for RHQ from Rafael Chies. Rafael is using a custom DSL to query the RHQ server for information but I thought that that really shouldn’t be necessary... -
Securing Rhino in Java6
Feb 6, 2012 10:33 AM, by Lukáš Krejčí
In RHQ we let the users provide scripts that can be run when an alert fires. This is great for automation because the script can do anything the users can do with our remote API. But the users of cour... -
Using Byteman to detect native memory leaks
Oct 10, 2011 2:40 PM, by Lukáš Krejčí
In RHQ we use the Augeas library to do the configuration file parsing and updates for us in some of the plugins. Augeas in itself is pretty cool and the language for describing the structure of arbitr... -
Planning configuration and templates export/import in RHQ
Mar 30, 2011 6:14 AM, by Lukáš Krejčí
We are currently starting to think about what would it take to implement exporting and importing various "configuration" elements including metric and alert templates, server configuration, dynagroup ... -
Scripted alert notifications in RHQ
Mar 8, 2011 1:12 PM, by Lukáš Krejčí
Since RHQ3, we support "alert sender" server plugins. Basically an alert sender is a piece of code that can generate some sort of response to the firing of an alert. There’s a whole bunch of these in ... -
Upgrading Resources In RHQ
Oct 6, 2010 12:16 PM, by Lukáš Krejčí
Humans make mistakes. That’s because they learn and by making mistakes and experimenting they perfect their skills. Computers on the other hand only do as they are told. When a human interacts with th...