Hi, pls help I don't know where is The problem. I have installed ActiveMQ in docker, something like: https://hub.docker.com/r/webcenter/activemq/, AMQ: -p 8161:8161 -p 61616:61616 -p 61613:61613 \
according to: https://github.com/prometheus/jmx_exporter I want to run jmx exporter on my AMQ server. I tried a lot of variants: *1. I found activemq.jar (Docker) /opt/docker/overlay2/a378910e4d6ca8e33b23502c106124644296b281e99343f14470dda79a326ff5/merged/opt/activemq/bin/activemq.jar* *2. activemq.yml = https://github.com/prometheus/jmx_exporter/blob/master/example_configs/activemq.yml <https://github.com/prometheus/jmx_exporter/blob/master/example_configs/activemq.yml>* *3. cmd:* java -javaagent:/opt/scripts/jmx_prometheus_javaagent-0.13.0.jar=9110:/opt/scripts/activemq.yml -jar /opt/docker/overlay2/a378910e4d6ca8e33b23502c106124644296b281e99343f14470dda79a326ff5/merged/opt/activemq/bin/activemq.jar gets: java -javaagent:/opt/scripts/jmx_prometheus_javaagent-0.13.0.jar=9110:/opt/scripts/activemq.yml -jar /opt/docker/overlay2/a378910e4d6ca8e33b23502c106124644296b281e99343f14470dda79a326ff5/merged/opt/activemq/bin/activemq.jar Java Runtime: Oracle Corporation xxxxxxxxxx /usr/lib/jvm/java-................ Heap sizes: current=XXX free=XXX max=XXX JVM args: -javaagent:/opt/scripts/jmx_prometheus_javaagent-0.13.0.jar=9110:/opt/scripts/activemq.yml Extensions classpath: [/opt/docker/overlay2/a378910e4d6ca8e33b23502c106124644296b281e99343f14470dda79a326ff5/merged/opt/activemq/lib,/opt/docker/overlay2/a378910e4d6ca8e33b23502c106124644296b281e99343f14470dda79a326ff5/merged/opt/activemq/lib/camel,/opt/docker/overlay2/a378910e4d6ca8e33b23502c106124644296b281e99343f14470dda79a326ff5/merged/opt/activemq/lib/optional,/opt/docker/overlay2/a378910e4d6ca8e33b23502c106124644296b281e99343f14470dda79a326ff5/merged/opt/activemq/lib/web,/opt/docker/overlay2/a378910e4d6ca8e33b23502c106124644296b281e99343f14470dda79a326ff5/merged/opt/activemq/lib/extra] ACTIVEMQ_HOME: /opt/docker/overlay2/a378910e4d6ca8e33b23502c106124644296b281e99343f14470dda79a326ff5/merged/opt/activemq ACTIVEMQ_BASE: /opt/docker/overlay2/a378910e4d6ca8e33b23502c106124644296b281e99343f14470dda79a326ff5/merged/opt/activemq ACTIVEMQ_CONF: /opt/docker/overlay2/a378910e4d6ca8e33b23502c106124644296b281e99343f14470dda79a326ff5/merged/opt/activemq/conf ACTIVEMQ_DATA: /opt/docker/overlay2/a378910e4d6ca8e33b23502c106124644296b281e99343f14470dda79a326ff5/merged/opt/activemq/data Usage: Main [--extdir <dir>] [task] [task-options] [task data] Tasks: browse - Display selected messages in a specified destination. bstat - Performs a predefined query that displays useful statistics regarding the specified broker consumer - Receives messages from the broker create - Creates a runnable broker instance in the specified path. decrypt - Decrypts given text dstat - Performs a predefined query that displays useful tabular statistics regarding the specified destination type encrypt - Encrypts given text export - Exports a stopped brokers data files to an archive file list - Lists all available brokers in the specified JMX context producer - Sends messages to the broker purge - Delete selected destination's messages that matches the message selector query - Display selected broker component's attributes and statistics. start - Creates and starts a broker using a configuration file, or a broker URI. stop - Stops a running broker specified by the broker name. Task Options (Options specific to each task): --extdir <dir> - Add the jar files in the directory to the classpath. --version - Display the version information. -h,-?,--help - Display this help information. To display task specific help, use Main [task] -h,-?,--help Task Data: - Information needed by each specific task. JMX system property options: -Dactivemq.jmx.url=<jmx service uri> (default is: 'service:jmx:rmi:///jndi/rmi://localhost:1099/jmxrmi') -Dactivemq.jmx.user=<user name> -Dactivemq.jmx.password=<password> *4. the same but with --version at the end* gets: java -javaagent:/opt/scripts/jmx_prometheus_javaagent-0.13.0.jar=9110:/opt/scripts/activemq.yml -jar /opt/docker/overlay2/a378910e4d6ca8e33b23502c106124644296b281e99343f14470dda79a326ff5/merged/opt/activemq/bin/activemq.jar --version Java Runtime: Oracle Corporation xxxxx /usr/lib/jvm/j..... Heap sizes: current=XXX free=XXX max=XXX JVM args: -javaagent:/opt/scripts/jmx_prometheus_javaagent-0.13.0.jar=9110:/opt/scripts/activemq.yml Extensions classpath: [/opt/docker/overlay2/a378910e4d6ca8e33b23502c106124644296b281e99343f14470dda79a326ff5/merged/opt/activemq/lib,/opt/docker/overlay2/a378910e4d6ca8e33b23502c106124644296b281e99343f14470dda79a326ff5/merged/opt/activemq/lib/camel,/opt/docker/overlay2/a378910e4d6ca8e33b23502c106124644296b281e99343f14470dda79a326ff5/merged/opt/activemq/lib/optional,/opt/docker/overlay2/a378910e4d6ca8e33b23502c106124644296b281e99343f14470dda79a326ff5/merged/opt/activemq/lib/web,/opt/docker/overlay2/a378910e4d6ca8e33b23502c106124644296b281e99343f14470dda79a326ff5/merged/opt/activemq/lib/extra] ACTIVEMQ_HOME: /opt/docker/overlay2/a378910e4d6ca8e33b23502c106124644296b281e99343f14470dda79a326ff5/merged/opt/activemq ACTIVEMQ_BASE: /opt/docker/overlay2/a378910e4d6ca8e33b23502c106124644296b281e99343f14470dda79a326ff5/merged/opt/activemq ACTIVEMQ_CONF: /opt/docker/overlay2/a378910e4d6ca8e33b23502c106124644296b281e99343f14470dda79a326ff5/merged/opt/activemq/conf ACTIVEMQ_DATA: /opt/docker/overlay2/a378910e4d6ca8e33b23502c106124644296b281e99343f14470dda79a326ff5/merged/opt/activemq/data ActiveMQ 5.15.2 For help or more information please see: http://activemq.apache.org Any idea? Anybody can help me? -- 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/7a9dc537-7b81-4bd8-95d4-7ddd5c552694o%40googlegroups.com.

