Este conteúdo não está disponível no idioma selecionado.
1.8. Monitor Instances with JMX
Monitoring with JConsole Copiar o linkLink copiado para a área de transferência!
Copiar o linkLink copiado para a área de transferência!
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-listconsole 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
> jconsoleCopy 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 Copiar o linkLink copiado para a área de transferência!
Copiar o linkLink copiado para a área de transferência!
Fabric automatically configures the EC2 firewall to let JMX connections through. It should not be necessary to make any modifications to the firewall configuration.