Troubleshooting and Uninstalling JMX Bridge
Page last updated:
This topic describes how to resolve common issues with the JMX Bridge for Pivotal Cloud Foundry (PCF) tile and how to uninstall the tile if necessary.
The following sections provide help with troubleshooting JMX Bridge for PCF.
If you do not see expected metrics from Elastic Runtime in the JMX provider, verify that you installed Elastic Runtime before JMX Bridge. If you installed JMX Bridge first, perform the following steps:
- SSH into the jmx-firehose-nozzle VM. For information about how to use the BOSH CLI to SSH into a VM, see Advanced Troubleshooting with the BOSH CLI.
- Grant sudo access to the machine:
$ sudo -i
- Restart the
$ monit restart jmx-firehose-nozzle
If you do not see expected metrics from BOSH, try the following steps:
- Make sure the IP address in JMX Bridge > Status > JMX Provider matches the value entered in Ops Manager Director > Director Config > JMX Provider IP Address.
- If the addresses do not match and you see no BOSH metrics in the system, contact Pivotal Support for help.
If you do not see metrics from JMX Bridge in your third-party tooling integration as expected, first try the following steps to quickly debug whether there is an issue with the JMX Bridge product or if the issue is with the tooling integration:
- Verify Java 6+ is installed.
- Select Remote Process and enter the IP of the JMX Provider VM with port
- Fill in the username and password for the JMX Provider that was entered during installation of JMX Bridge.
Allow Insecure connection if SSL was not enabled.
You can now view all MBeans emitted by JMX Bridge.
Note: If you have enabled SSL, see Using SSL with a Self-Signed Certificate in JMX Bridge.
Set Up Port Forwarding for JMX
If you are connecting to jconsole from a location different from the install location (for example, deployed on AWS or GCP), you have to set up port forwarding to access the MBeans.
Set up port forwarding on one tab of your console and keep it open:
ssh -D 7777 firstname.lastname@example.org -T
jconsolein a new tab and set up the
socksProxyPortto the forwarded port:
jconsole -J-DsocksProxyHost=localhost -J-DsocksProxyPort=7777
If errors occur when the smoke tests run, you can find the errors in the ChangeLog for the installation. Some common failures are listed below.
|Cause||The JMX Provider did not receive internal health metrics from the JMX Firehose Nozzle.|
|Solution||Restart the JMX Firehose Nozzle VM and check the logs to verify it is running correctly.|
|Cause||The JMX Firehose Nozzle is not receiving metrics from the Firehose.|
|Solution||Restart the JMX Firehose Nozzle VM and check the logs to verify it is connected to the Firehose. If you see a lot of reconnect attempts in the logs then you likely need to scale up the number of JMX Firehose Nozzle instances in the Resource Config tab.|
To uninstall the JMX Bridge for PCF tile, see Deleting a Product.