Questions tagged [jolokia]

Jolokia is an alternative to JSR-160 connectors for remote JMX access. It provides REST-like access to JMX with JSON over HTTP.

122 questions
2
votes
1 answer

BDD cucumber Web Service

I have read some articles regarding how we can implement BDD with cuuumber but i am not able to understand fully. Lets say i have a service /v1/picture?viewer=1&viewed=2&flag=1 For these 3 input i am looking for output as "1.jpg" I am looking for…
2
votes
2 answers

Unable to pull JMX data using jolokia from Kafka

I have installed Jolokia in centos 7 machine and trying to pull Kafka metrics using Jolokia agent and integrate with Icinga monitoring tool using Nagios plugin check_jmx4perl. Below are the configuration steps I have followed Step 1: Downloaded…
user8363477
  • 655
  • 4
  • 14
  • 24
2
votes
1 answer

Jolokia Spark metrics

Need help on connecting a jolokia agent to my spark job and see the sinc metrics. https://jolokia.org/reference/html/agents.html#jvm-agent Of the two options available not able to use javaagent with spark-submit and on the fly approach is tricky as…
2
votes
1 answer

View Activemq Messages with Jolokia and Hawt.io

Though browsing several websites and here on stack overflow, there seems to be a way to view the messages in an Activemq queue using Jolokia and Hawt.io, but I have been unsuccessful to this point. We are running our Activemq (version 5.12.0) as in…
hooknc
  • 4,854
  • 5
  • 31
  • 60
2
votes
1 answer

Embedding jolokia in a war

I see the documentation on running jolokia as a separate war, running it as a agent, but how do I run it in my own war?? I have jetty running a single war, and want to embed it. Thanks Chris
chrislovecnm
  • 2,549
  • 3
  • 20
  • 36
2
votes
0 answers

Monitoring JMX end points of Spring boot CLI application with jolokia

I have a CLI micro service which has exposed endpoints @Configuration @EnableAutoConfiguration @EnableConfigurationProperties @ComponentScan public class TestLauncher implements CommandLineRunner { ... } pom
Ashish Daga
  • 46
  • 1
  • 3
2
votes
1 answer

Jolokia commands for ActiveMQ

I am reading now that Jolokia can act as a medium to command and manage ActiveMQ 5.8+ through a restAPI (GET/POST commands). I am failing to find any references on what the specific commands are to (for example): Get a list of active queues Get a…
E.S.
  • 2,733
  • 6
  • 36
  • 71
1
vote
1 answer

ActiveMQ Artemis Jolokia returns Status "404"

I want to get the amount of messages I have in my ActiveMQ Artemis queue, but when I execute this command: curl -v -H "Origin:http://IP:port" -u user:pass…
1
vote
2 answers

ActiveMQ Artemis how to filter message by part of the "text" field

Is there any way to filter messages in ActiveMQ Artemis 2.10.0 by part of the "text" field using the management console? I use method "browse(java.lang.String)" and try to filter my message (example below) by this expression: text LIKE…
1
vote
1 answer

java.lang.Exception: Insufficient roles/credentials for operation

I'm using ActiveMQ Artemis 2.16.0 and the management console is based on Hawtio. I've successfully integrated it with Keycloak (OpenID Connect) using this instructions. Now I've upgraded to ActiveMQ Artemis 2.17.0 and it stop working. Hawtio version…
la00
  • 119
  • 10
1
vote
1 answer

jboss eap 7 - WFLYCTL0030

we use jolokia-1.6.2.war in JBoss to monitor the application. something.ear and activemq-rar.rar are our deployables. we have jolokia war inside our something.ear. So our something.ear looks like below jolokia-1.6.2.war, xxx-ejb.jar, yyy-rest.war,…
JMBA
  • 79
  • 1
  • 12
1
vote
0 answers

JMX Mbean value in table format with hawtio and jolokia

I am looking for some help, is it possible to display Mbean value (the value holds stats) in table format using Hawtio+jolokia, any help is appreciated.
1
vote
1 answer

Hawtio fails to connect to remote jolokia

I have a core java application which starts an embedded jolokia (version 1.6.0) agent thusly: JolokiaServer server = new JolokiaSerser( new JvmAgentConfig(configMap), false); server.start(); When I run it locally, I am able to connect to it via…
CaptainHastings
  • 1,557
  • 1
  • 15
  • 32
1
vote
0 answers

Unable to request ActiveMQ port 8161 from inside Docker container: No route to host

So if I run curl -u admin:password http://10.0.1.195:8161/api/jolokia inside Docker container I will get this error: curl: (7) Failed to connect to 10.0.1.195 port 8161: No route to host But if I run same cURL command outside the container on the…
Ivalo Pajumets
  • 437
  • 6
  • 11
1
vote
0 answers

Cannot reach Jolokia JVM agent

I'm trying to connect my Jolokia JVM agent with an hawtio frontend. The agent runs inside of a docker container with the distroless java 11 image. I start the application like this: ENTRYPOINT…
M.Walk
  • 83
  • 1
  • 1
  • 8
1
2
3
8 9