In TIBCO BusinessEvents, how to perform Custom Java Management Extensions (JMX) monitoring and configuring the Java Management Extensions(JMX) Scheduler?

In TIBCO BusinessEvents, how to perform Custom Java Management Extensions (JMX) monitoring and configuring the Java Management Extensions(JMX) Scheduler?

book

Article ID: KB0088488

calendar_today

Updated On:

Products Versions
TIBCO BusinessEvents Enterprise Edition -
Not Applicable -

Description

Resolution:
Description:
============
In TIBCO BusinessEvents, how to perform Custom Java Management Extensions (JMX) monitoring and configuring the Java Management Extensions(JMX) Scheduler?


Environment:
==========
TIBCO BusinessEvents
Java Management Extensions(JMX)


Resolution:
==========
1).  The attached "JMXClient.zip" file contains primarily two Java classes, "MyJMXClient.java" and "Scheduler.java" . There is also one configuration file named "JMXQuery_Agent.txt".
  
A detailed description of the files content is provided below.

a). MyJMXClient.java -> In this program the connection to JMX is made.

b). Scheduler.java -> For Scheduling the JMX Monitoring by passing the interval as an argument.

c). JMXQuery_Agent.txt -> For Configuring the BE Agent parameters such as name, port and also the JMX function  to monitor.
                            
2). Compile these two Java classes and start the JMX Monitoring using the following command:      

     > java Scheduler &ltConfiguration .txt file> &ltSchedule Interval>

    
Example:

       java Scheduler C:\JMXClient\JMXQuery_Agent.txt 5

      
3). This Scheduler basically prints the monitoring messages to the Agent Log.



Attachments
==========
File JMXClient.zip

Issue/Introduction

In TIBCO BusinessEvents, how to perform Custom Java Management Extensions (JMX) monitoring and configuring the Java Management Extensions(JMX) Scheduler?

Attachments

In TIBCO BusinessEvents, how to perform Custom Java Management Extensions (JMX) monitoring and configuring the Java Management Extensions(JMX) Scheduler? get_app