Is there a way to monitor a standalone Java application using Introscope agent, in particular jmx metrics.
We are using Introscope to monitor Web applications running on Weblogic and Tomcat.
Now trying to collect metrics from a few standalone Java applications.
Not sure if this will help but found this old thread via Google.
Is there a way to instrument a plain Java Application that is not running within an Application Server
Maybe I should have mentioned that.
We have already done this and can get some OS values and Heap memory usage but not JMX metrics.
Try copying WebAppSupport.jar into the extensions directory and then enable JMX in the usual way in the Agent Profile.
We have already done that too. Still no metrics are presented in the Investigator.
I am wondering if it is even possible without one of the supported application servers.
Have you checked for any metric clamps engaged?
On agent profile, also please try with JMX filter wide open, if not already done so.
No clamping, and JMX filter is empty. Still no metrics.
Perhaps it time to open a case to see if this can or cannot be done.. If you go that route then please provide the agent and autoprobe logs and let us know you opened a case
OK, so the answer is that it works.
We had a typo in our profile template path.
The auto-probe was not working because it couldn't load the needed jar files.
I didn't noticed this earlier, because some information were present in the Investigator and we got sidetracked by thinking it might need an application server to collect JMX and other metrics.
Thanks everybody again.
Thanks for sharing Mohammad. Marking as answered