General purpose monitoring agent for Java