Re: How to do a check health with telnet on ActiveMQ

2020-01-22 Thread Daniel Trüssel
On 21.01.20 04:58, Tim Bain wrote: If I'm understanding you correctly, you want to connect to a TCP port, send some text, and have the broker respond with text that says it's healthy or unhealthy. I'm not aware of a way to do specifically that for ActiveMQ. Yes. This is my wish. You can check

Re: How to do a check health with telnet on ActiveMQ

2020-01-20 Thread Tim Bain
If I'm understanding you correctly, you want to connect to a TCP port, send some text, and have the broker respond with text that says it's healthy or unhealthy. I'm not aware of a way to do specifically that for ActiveMQ. You can check that the OpenWire port is open, but you won't get the status

Re: How to do a check health with telnet on ActiveMQ

2020-01-20 Thread Daniel Trüssel
On 18.01.20 03:09, Tim Bain wrote: One thing to keep in mind when health checking ActiveMQ (whether via Prometheus or a load balancer) is that anything that opens a TCP socket to the OpenWire port without actually sending any content will result in the broker logging some content for each such co

Re: How to do a check health with telnet on ActiveMQ

2020-01-20 Thread Daniel Trüssel
On 16.01.20 20:26, Tom Hall wrote: I think you might be better off using something like this: https://github.com/prometheus/jmx_exporter -Tom blackbox_exporter is a requirement for customer. Can't install jmx_exporter

Re: How to do a check health with telnet on ActiveMQ

2020-01-17 Thread Tim Bain
One thing to keep in mind when health checking ActiveMQ (whether via Prometheus or a load balancer) is that anything that opens a TCP socket to the OpenWire port without actually sending any content will result in the broker logging some content for each such connection. So I second the idea of a J

Re: How to do a check health with telnet on ActiveMQ

2020-01-16 Thread Tom Hall
I think you might be better off using something like this: https://github.com/prometheus/jmx_exporter -Tom > On Jan 16, 2020, at 11:09 AM, Daniel Trüssel wrote: > > Hey > > I use Prometheus blackbox_exporter > https://github.com/prometheus/blackb

How to do a check health with telnet on ActiveMQ

2020-01-16 Thread Daniel Trüssel
Hey I use Prometheus blackbox_exporter https://github.com/prometheus/blackbox_exporter/blob/master/CONFIGURATION.md#tcp_probe I wish to have a telnet command to check for ActiveMQ health. an example for IRC protocal is this https://github.com/prometheus/blackbox_exporter/blob/master/example.yml