I am using Java agent 9.5.5 on websphere 8.5 with 1.7 JVM. I have enabled the JMX metrics in the IntroscopeAgent.profile and JMX is also enabled on the Websphere but still i am not getting any metric for the same
That´s correct. You would need to create custom service for the agent to report JMX metrics back to the EM, see exerpt from the guide:
Configure a Custom Service in WebSphere
You can create or modify a custom service in the WebSphere Application Server. The custom service enables the Java agent to collect additional information from the application server. If you configure a custom service, the Java agent can automatically determine its name. The custom service also enables the Java agent to report JMX and Performance Monitoring Infrastructure (PMI) metrics. The Introscope Workstation on the Application Overview tab uses these metrics to determine application health. The custom service can encrypt the user credentials that you want to use to access JMX metrics in CA Introscope®.
Hope it helps
Did you create the Websphere custom service to get the JMX metrics? See "Configure a Custom Service in WebSphere" in the Java agent guide.
Thanks for the quick response, I was looking for the default JMX settings as what Tomcat shows.
For Websphere 8.5 Do I need to create custom webservice for default services.
I have gone thru the document, but not able to locate the JMX.properties file in common folder.
I realised it is a doc bug. JMXConfig.properties was a specific feaature developed in 9.2 version timeframe but dropped in 9.5 version (there is a doc bug opened to fix it). The reference of jmxconfig.properties will be removed.
That means still we have to create custom service on Websphere or it will automatically fetch jmx Metrics.
You still need to create the custom service but ignore "External Configuration URL", just leave it blank.
I will check and let you know.
I have checked and seen we need to enter some specific External Url and Classpath and classname, I am bit confused what to enter in these field.
Jose pointed to the part of the documentation that lists the parts you need to enter, relating to creating a custom service in WebSphere.
The classname should be: com.wily.introscope.api.websphere.IntroscopeCustomService
The classpath has to point to the WebAppSupport.jar, which will be in the common folder of the agent.
The display name is whatever you want to call the service, this is only required by WebSphere.
The other properties are neither required by WebSphere nor us.
Thanks David for the prompt response
If you're still not seeing them, try copying the WebAppSupport.jar file from common to the ext directory, make the corresponding change in server.xml (or in the UI), and then restart websphere.
Thanks for the support.
Retrieving data ...