Accessing the Oracle CEP JMX Server
12.1.3.2 Oracle CEP Runtime MBeans
You can also gather monitoring information for each component in the EPN using runtime MBeans. Oracle CEP server defines the following metrics that you can monitor for each component: ■ Throughput—The number of events processed by the component. The parameters for this metric are: throughput time interval, aggregation time interval, the unit of time for the intervals. ■ Average Latency—The average amount of time it takes an event to pass through a component, or latency. Parameters: aggregation time interval, the unit of time for the interval. ■ Maximum Latency—The maximum amount of time it takes an event to pass through a component. Parameters: aggregation time interval, the unit of time for the interval. ■ Average Latency Threshold—Specifies whether the average latency of events between the start- and end-points of a component crosses a specified threshold. Parameters: aggregation time interval, threshold, the unit of time for the interval.12.1.3.2.1 Runtime MBean Naming Runtime MBeans are named using the same pattern
as with configuration mbeans except for one extra property: Direction. This property has two valid values: OUTBOUND or INBOUND that refer to the point at which you want to gather the statistic OUTBOUND means that you want to gather throughput or latency as events flow out of the specified component; similarly INBOUND means you want to gather the monitoring information as events flow into a component. For example, the object name of the runtime MBean corresponding to a processor called myprocessor in the application myapplication, in which events will be monitored as they flow into the component, is as follows: com.bea.wlevs:Name=myprocessor,Type=EPLProcessor,Application=myapplication,Direction=INBOUND See Section 12.1.3.1.1, Configuration MBean Naming for details about configuration MBean naming.12.1.3.3 Oracle CEP MBean Hierarchy
Figure 12–1 describes the Oracle CEP MBean tree. Figure 12–1 Oracle CEP MBean Tree Configuring JMX for Oracle CEP 12-7 All MBeans must be registered in an MBean server under an object name of type javax.management.ObjectName. Oracle CEP follows a convention in which object names for child MBeans contain part of its parent MBean object name. There are two main MBean roots: DomainMBean and DomainRuntimeMBean. The former includes configuration MBeans for the entire domain, the latter contains runtime information, such as statistics, and local services, such as Monitor, that are generally scoped to a single server instance. ApplicationMBean is a child of the DomainMBean instead of the ServerMBean. This is because an application is unique within a domain, and can span multiple servers. Figure 12–2 shows the main classes and relationships that make up the object model. Figure 12–2 Oracle CEP MBean Object Model Most MBeans are notification emitters that generate AttributeChangeNotifications. In other words, a JMX client can register to receive attribute change notifications regarding changes to application state, insertion and removal of applications at the domain, channel size and thread changes, insertion and removal of rules, and so on.12.2 Configuring JMX
You configure the Oracle CEP JMX service using the following elements in the config.xml file that describes your Oracle CEP domain: ■ jmx: See Section 12.2.1, jmx Configuration Object for details. ■ rmi: See Section 12.2.2, rmi Configuration Object for details. ■ jndi-context: See Section 12.2.3, jndi-context Configuration Object for details. ■ exported-jndi-context: See Section 12.2.4, exported-jndi-context Configuration Object for details For information on security configuration tasks that affect JMX, see Section 10.8.2, Configuring JMX Security .Parts
» Oracle Fusion Middleware Online Documentation Library
» Understanding Oracle CEP Servers and Domains
» User Action: Start Oracle CEP Server
» User Action: Stop Oracle CEP Server
» Oracle CEP Server Configuration Files
» Configuring an Oracle CEP Server by Manually Editing the config.xml File
» Configuration History Management Understanding Oracle CEP Server Configuration
» How to Configure the Oracle CEP Server bootclasspath
» Configuration Wizard Oracle CEP Visualizer
» wlevs.Admin Command-Line Utility
» Creating Oracle CEP Servers and Domains Updating Oracle CEP Servers and Domains
» Managing Oracle CEP Applications, Servers, and Domains
» Next Steps Oracle Fusion Middleware Online Documentation Library
» Creating an Oracle CEP Standalone-Server Domain
» Updating an Oracle CEP Standalone-Server Domain
» Deploying an Application to an Oracle CEP Standalone-Server Domain
» Oracle Coherence Clustering Oracle CEP Native Clustering
» Singleton Server Deployment Group
» Domain Deployment Group Groups
» Scalability and Multi-Server Domains Next Steps
» How to Create an Oracle CEP Multi-Server Domain With Default Groups Using Oracle Coherence
» How to Create an Oracle CEP Multi-Server Domain With Custom Groups Using Oracle Coherence
» The tangosol-coherence-override.xml File
» Updating an Oracle CEP Multi-Server Domain Using Oracle Coherence
» Yes No Oracle Fusion Middleware Online Documentation Library
» Securing the Messages Sent Between Servers in a Multi-Server Domain
» Using the Multi-Server Domain APIs to Manage Group Membership Changes
» Starting and Stopping an Oracle CEP Server in a Multi-Server Domain
» Creating an Oracle CEP Multi-Server Domain Using Oracle CEP Native Clustering
» Updating an Oracle CEP Multi-Server Domain Using Oracle CEP Native Clustering
» Yes Oracle Fusion Middleware Online Documentation Library
» No Oracle Fusion Middleware Online Documentation Library
» Oracle CEP Server Stops Application After Deployment
» Network IO Providers Overview of Network IO in Oracle CEP
» How to Configure Network IO Server
» How to Configure Network IO Client
» Java SE Security Security Providers
» SSL Overview of Security in Oracle CEP
» FIPS Overview of Security in Oracle CEP
» Enabling and Disabling Security
» Security Utilities Overview of Security in Oracle CEP
» Specifying User Credentials When Using the Command-Line Utilities
» Configuring Java SE Security for Oracle CEP Server
» Configuring Authentication Using the LDAP Provider and Authorization Using the DBMS Provider
» Configuring Both Authentication and Authorization Using the DBMS Provider
» Configuring Password Strength Oracle Fusion Middleware Online Documentation Library
» How to Configure SSL Manually
» How to Create a Key-Store Manually
» How to Configure SSL in a Multi-Server Domain for Oracle CEP Visualizer
» Configuring FIPS for Oracle CEP Server
» Configuring HTTPS-Only Connections for Oracle CEP Server
» Configuring Jetty Security Configuring Security for Oracle CEP Server Services
» Configuring JMX Security Configuring JDBC Security
» Configuring HTTP Publish-Subscribe Server Channel Security
» Configuring the Oracle CEP Security Auditor
» Disabling Security Oracle Fusion Middleware Online Documentation Library
» Servlets Overview of Jetty Support in Oracle Complex Event Processing
» Network IO Integration Overview of Jetty Support in Oracle Complex Event Processing
» jetty Configuration Object Configuring a Jetty Server Instance
» netio Configuration Object Configuring a Jetty Server Instance
» work-manager Configuration Object Configuring a Jetty Server Instance
» jetty-web-app Configuration Object Configuring a Jetty Server Instance
» Developing Servlets for Jetty
» Web Application Deployment Configuring a Jetty Server Instance
» Example Jetty Configuration Oracle Fusion Middleware Online Documentation Library
» Understanding JMX Configuration Overview of JMX Support in Oracle CEP
» Accessing the Oracle CEP JMX Server
» Oracle CEP Configuration MBeans
» Oracle CEP Runtime MBeans Oracle CEP MBean Hierarchy
» jmx Configuration Object rmi Configuration Object
» jndi-context Configuration Object Configuring JMX
» exported-jndi-context Configuration Object Configuring JMX
» How to Programmatically Connect to the Oracle CEP JMX Server From a Non-Oracle CEP Client
» How to Programmatically Connect to the Oracle CEP JMX Server From an Oracle CEP Client
» How to Programmatically Configure an Oracle CEP Component Using JMX APIs
» Databases Supported by the Oracle JDBC Driver
» Databases Supported by the Type 4 JDBC Driver for SQL Server from DataDirect
» Default Data Source Configuration
» Custom Data Source Configuration
» Getting the Native JDBC Connection
» Configuring Access to a Database Using the Oracle JDBC Driver
» Configuring Access to a Database Using the Type 4 JDBC Drivers from Data Direct
» How to Access a Database Driver Using an Application Library Built With bundler.sh
» How to Access a Database Driver Using bootclasspath
» How the HTTP Pub-Sub Server Works
» HTTP Pub-Sub Server Support in Oracle CEP
» Creating a New HTTP Publish-Subscribe Server
» Configuring an Existing HTTP Publish-Subscribe Server
» Example HTTP Publish-Subscribe Server Configuration
» Log Files Log Message Format
» OSGi Framework Logger Overview of Logging and Debugging Configuration
» logging-service Configuring the Oracle CEP Logging Service
» log-file Configuring the Oracle CEP Logging Service
» log-stdout Configuring the Oracle CEP Logging Service
Show more