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 JMX-based health check or you could do an HTTP check against the web
console, but if you do choose to use a simple TCP socket check against the
OpenWire port, be sure you account for the logging it will cause.

Tim

On Thu, Jan 16, 2020, 12:26 PM Tom Hall <th...@concentricsky.com> wrote:

> I think you might be better off using something like this:
> https://github.com/prometheus/jmx_exporter <
> https://github.com/prometheus/jmx_exporter>
>
> -Tom
>
>
> > On Jan 16, 2020, at 11:09 AM, Daniel Trüssel <trues...@airmail.cc>
> wrote:
> >
> > 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#L88-L97
> >
> > kind regards
> > Daniel
> >
>
>

Reply via email to