Questions tagged [mbeanexporter]

9 questions
6
votes
3 answers

Prometheus jmx exporter pattern match for attributes and items

I am trying to pattern match and name prometheus metrics with the jmx_exporter java agent (https://github.com/prometheus/jmx_exporter). There is not much documentation on how to pattern match on MBean attributes and items within these attributes…
Berni
  • 357
  • 3
  • 10
2
votes
1 answer

Non Singleton (prototype) Spring beans JMX moniterable

I'm newbie to Spring JMX. And i want to monitor the prototype beans in my project through Spring JMX, I created a sample project to register a bean(Singleton) with Spring's MbeanExporter that is working. Then i googled to register the Non-Singleton…
Abhishek-M
  • 410
  • 2
  • 14
1
vote
0 answers

Prometheus exporter to convert xml output to name-value pair

Websphere monitoring with little configuration provides URL to extract monitoring data in an XML format from PMI. Is there an exporter to convert XML data from PMI to name=value pair/JSON format? I am trying to modify the logic in JMX collector to…
Nageswara Rao
  • 954
  • 1
  • 10
  • 32
1
vote
1 answer

How limit access to JMX attributes

Our application has requirement to limit user access to subset of JMX attributes and operations for a given MBean. e.g. the C3P0 MBean exposes a lot of attributes/operations. Let's say we don't want users to change min pool size. Hence we would like…
illcar
  • 439
  • 1
  • 5
  • 13
1
vote
0 answers

How can I configure the jmx export in spring integration for parallel deploy

In order to use the "parallel deployment" in tomcat 7 (deploy a new versión while maintaining the old one) we need to configure the JMX beans as "replace existing" This was easy with our beans, just adding the
earroyoron
  • 192
  • 1
  • 10
0
votes
1 answer

How to set notification listener mappings with Spring JMX integration when I'm using @EnableMBeanExport

As Spring reference https://docs.spring.io/spring/docs/current/spring-framework-reference/integration.html#jmx-notifications-listeners said, I need to set listener mappings by invoking MBeanExporter.setNotificationListenerMappings method after the…
HowieChih
  • 340
  • 3
  • 11
0
votes
0 answers

Bizarre RMI errors when trying to expose an MBeanServer over JMX programmatically

In the documentation on Java management, in the section headed "Mimicking Out-of-the-Box Management Using the JMX Remote API" (see bottom of page), it shows you how you can manually expose your MBeanServer via JMX. Something like this: public static…
oxbow_lakes
  • 133,303
  • 56
  • 317
  • 449
0
votes
1 answer

Spring JMX proxy interface issue

I'm trying out Spring + JMX bean configuration in my project. I'm new to JMX technology. I need to implement the proxyinterface way in managed beans. When tried, I'm getting the below mentioned error. Can anyone guide me? I'm trying out to deploy my…
appu
  • 538
  • 10
  • 24
0
votes
2 answers

How to make custom Spring MBeanExporter use the @Managed... annotations on a candidate class

I've written a custom Spring MBeanExporter that takes a collection of pre-created objects and creates the mbeans for them. It apparently uses the "default" strategy for determining attributes and operations, just taking the existing properties and…
David M. Karr
  • 14,317
  • 20
  • 94
  • 199