Splunk AppDynamics

How can I create custom jmx metrics for weblogic

CommunityUser
Splunk Employee
Splunk Employee

Hello, I have a application running under weblogic. The application runs on multiple servers.

i would like to create custom jmx metrics to report on health of  jdbc pools used by application and also another metric to report health of managed server under weblogic across all servers.

i created a jmx metric following the help doc. But it doesn't show up in metric browser.

please help

Labels (1)
0 Karma

CommunityUser
Splunk Employee
Splunk Employee

Hello,

Introscope Support for WebLogic JMX Metrics

WebLogic provides the following MBeans as sources of JMX metrics:

  • RuntimeServiceMBean: per-server runtime metrics, including active effective configuration
  • DomainRuntimeServiceMBean: domain-wide runtime metrics
  • EditServiceMBean: allows user to edit persistent configuration

Thanks.

0 Karma

Vijay_Venkatara
Engager

Hi,

Can you please check if your JMX metrics have been exposed in jconsole. If yes, and if the target mbean is shown on MBean browser in appdynamics, please check if the desired mbean has an integer attribute. Then you can select it and create a custom metric based on it. 

Please use the docs provided by Saradhi to set the custom metric.

Thanks,
Viju

0 Karma

CommunityUser
Splunk Employee
Splunk Employee

Attached is the screen shot ot JDBCSystemResource mbean under a tier and under a node.

This mbean EcqsQueryEDW is a jdbc resource created under weblogic for a managed server called EcQuery.

We would like to track the health of this jdbc resource as a metric to verify if this DB resource is healthy or not at runtime/

please show us how to create this mbean as a JMX metric at a tier level

0 Karma

Saradhi_Pothara
Communicator

Hi Srinivasan,

Could you please check using jconsole Mbean browser if the mbean objects that you are trying to monitor, exist or not? Could you plese share screenshots of the jconsole Mbean browser and how these are configured in the controller UI?

 https://docs.appdynamics.com/display/PRO42/Configure+JMX+Metrics+from+MBeans  

Regards,

Saradhi

0 Karma
Get Updates on the Splunk Community!

A Prelude to .conf25: Your Guide to Splunk University

Heading to Boston this September for .conf25? Get a jumpstart by arriving a few days early for Splunk ...

4 Ways the Splunk Community Helps You Prepare for .conf25

.conf25 is right around the corner, and whether you’re a first-time attendee or a seasoned Splunker, the ...

Enhance Your Splunk App Development: New Tools & Support

UCC FrameworkAdd-on Builder has been around for quite some time. It helps build Splunk apps faster, but it ...