-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remote jmx has enabled SSL. How to configure jmx-exporter for verification? #942
Comments
When running the exporter in standalone mode with JMX being protected by SSL you have to...
|
Thanks for your prompt reply. And do I need to add the keystore command line?
|
I don't believe the keyStore values are required. |
Okay,I generated truststore.p12 through tomcatJMX.cer file, and specify trustStore in commandline, but still got the above memtioned error.
|
This command line is incorrect...
This is passing The correct command line should be...
The use of the Java agent is strongly recommended. Some JVM metrics can't be captured when running the standalone exporter. |
It seems that the agent mode cannot be used because I deployed the java application and jmx_exporter in a kubernetes environment. |
Deployment of the JMX Exporter Java agent works in Kubernetes. |
@kingEneru I am reviewing #947, which appears to fail a new integration test I have created (not yet merged into EDIT: The code in |
That's weird... |
It does not. This is a configuration issue. I just updated PR #947 with the missing Java system property. |
@kingEneru When configuring RMI for SSL, the expectation is that the RMI registry is also configured for SSL. This requires the Java system property...
... to be defined when launching your application. I have merged an integration test that tests/validates RMI with SSL. @unitsvc also validated that adding the Java system property resolves the issue. |
Okay, It's working successfully and normally now. Thanks a lot |
issue description
jmx_exporter able to running successful in kubernetes, but remote jmx has enabled SSL. So, when I access to jmx_exporter metrics, I met these error as below:
configuration
The text was updated successfully, but these errors were encountered: