Yes, you need to edit your JBoss AS instance's run.sh/run.bat and add the following option to JAVA_OPTS:
Then restart the AS instance.
Then run the following command from the Jopr Agent prompt:
then go to the JBoss AS Resource in the Jopr GUI, and you should see a new child Resource named "JBoss AS JVM". That resource should have a whole bunch of heap/permgen metrics as well as other JVM-related metrics and operations.
You can run the discovery request directly from the Jopr server UI. Just browse to the platform resource for that agent and visit the operations tab. You can execute the Manual Autodiscovery operation with the Detailed Discovery option on.
Also, you can group your platforms into compatible groups and give yourself the ability to run discoveries on every agent in your inventory very easily through a group operation.