While RHQ is focusing on providing specific resource types with specific operations and metrics on them, it is possible to just connect to any JMX server (actually that code is in SVN Head as of today).
This example will show you how you could use this to e.g. monitor your Eclipse instance.
Read more...