SimpleTemplate is a simple template engine written in Java. You can generate formatted text from a Java bean. You can use it for generating XML files, Web sites, etc. It features simple template directives, user-selectable template directive separators, alias creation using with and set directives, support for indexing into arrays, collections, and maps, looping on an array or a collection, a simple include mechanism to reuse template files, conditional evaluation using if and ifelse, and custom list separation settings (prefix, suffix, and separators). Template files can be read from the filesystem, class path, or just a string. Support for methods, aka. sub templates.
jmxtrans is effectively the missing connector between JMX and whatever logging or graphing package that you can dream up. jmxtrans is very powerful tool that reads JSON configuration files specifying servers/ports and JMX domains/attributes and then outputs the data in whatever format you want via special "Writer" objects that you can code up yourself. It does this with a very efficient engine design that will scale to querying literally thousands of machines. The core engine is pretty solid and writers are included for cacti/rrdtool, graphite, and stdout.