-
1. Re: Monitoring Java PermGen and Heap...
ips Apr 27, 2009 5:22 AM (in response to cinaed)Yes, you need to edit your JBoss AS instance's run.sh/run.bat and add the following option to JAVA_OPTS:
-Djboss.platform.mbeanserver
Then restart the AS instance.
Then run the following command from the Jopr Agent prompt:discovery -f
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. -
2. Re: Monitoring Java PermGen and Heap...
cinaed Apr 27, 2009 7:20 AM (in response to cinaed)Hi,
thanks!
Another question related to the agent discovery -f.
How do you execute the "discovery -f" when you run the agent with init.d, i.e. when the agent is already up and running without any prompt?
-Kenta -
3. Re: Monitoring Java PermGen and Heap...
ghinkle Apr 27, 2009 8:02 AM (in response to cinaed)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.
-Greg -
4. Re: Monitoring Java PermGen and Heap...
cinaed Apr 27, 2009 11:34 AM (in response to cinaed)
Ok thanks.
The agent compatible group seems nice.
-Kenta -
5. Re: Monitoring Java PermGen and Heap...
mazz Apr 27, 2009 7:16 PM (in response to cinaed)FYI: almost all of the prompt commands can be executed directly from the Agent Operations tab via the "Execute Prompt Command" operation.