Hi,

I am have IBM WAS ND setup. And I want to export the metrics from WAS JVM 
to prometheus.

As i understand, it is a 2 step process. 

*Step 1)* I have to first expose the JMX beans in IBM WAS which I did by 
adding these arguments to JVM "-Djavax.management.builder.initial= 
-Dcom.sun.management.jmxremote 
-Dcom.sun.management.jmxremote.authenticate=false 
-Dcom.sun.management.jmxremote.ssl=false 
-Dcom.sun.management.jmxremote.port=9090"

*Step 2)* Expose those to Prometheus using a JXM exporter. To do that, I 
run the below command(config.yaml attached).
java -javaagent:jmx_prometheus_javaagent-0.13.0.jar[=8080:config.yaml]
But i get the error:
*Error opening zip file or JAR manifest missing : 
jmx_prometheus_javaagent-0.13.0.jar[*
*JVMJ9TI064E Agent initialization function Agent_OnLoad failed for library 
instrument, return code -1*
*JVMJ9VM015W Initialization error for library j9jvmti29(-3): JVMJ9VM009E 
J9VMDllMain failed*

Am i missing anything? Or what seems to be the issue ?

-- 
You received this message because you are subscribed to the Google Groups 
"Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-users/f0098826-ab53-43d5-a98f-177439bc3c18o%40googlegroups.com.

Attachment: config.yaml
Description: Binary data

Reply via email to