Fuse 6 is no longer supported
As of February 2025, Red Hat Fuse 6 is no longer supported. If you are using Fuse 6, please upgrade to Red Hat build of Apache Camel.此内容没有您所选择的语言版本。
1.8. Monitor Instances with JMX
Monitoring with JConsole 复制链接链接已复制到粘贴板!
复制链接链接已复制到粘贴板!
All of the containers in the fabric have JMX enabled by default. To monitor a Fabric Container with JConsole, proceed as follows:
- In the local container, use the
fabric:container-list
console command to obtain the JMX connection URLs for all of the containers, as follows:Copy to Clipboard Copied! Toggle word wrap Toggle overflow - In an O/S command prompt, enter the following command to start up JConsole:
> jconsole
> jconsole
Copy to Clipboard Copied! Toggle word wrap Toggle overflow - Copy one of the (rather long) JMX connection URLs from step 1 and paste it into the Remote Console text field of the JConsole: New Connection dialog. In the Username field, type
admin
; and in the Password field, typeadmin
. Click . - JConsole now establishes a JMX connection to the cloud container. Click on the MBeans tab to explore the status of applications running in the container.
EC2 firewall configuration 复制链接链接已复制到粘贴板!
复制链接链接已复制到粘贴板!
Fabric automatically configures the EC2 firewall to let JMX connections through. It should not be necessary to make any modifications to the firewall configuration.