Unkategorisiert

Enable Rabbit MQ Interface on Checkmk Systems

How to access the Rabbit MQ Web Interface in Checkmk

Checkmk introduced with 2.4 a new function Piggyback Hub which is using RabbitMQ as spooler.

If you want to debug a bit better or to see what is going on, the Management GUI is Helpful:

Only Problem: On default, you cant‘ reach it.

Prepare Checkmk

In ~/etc/rabbitmq/conf.d you find a 04-managment-ip.conf with the following content:

# Management API for self monitoring
# Ip set by rabbitmq init script etc/init.d/rabbitmq. Better do not edit manually.
management.tcp.ip = ::1

Here you could set 0.0.0.0 as IP to bind, but Checkmk would overwrite that.

So copy the file to 05-yourname.conf and set it like this:

management.tcp.ip = 0.0.0.0

Then Restart the Demon:

omd restart rabbitmq

Now you can reach the Web Interface using the port 15671.
A Login mask is shown. Next Step is to prepare Rabbitmq

Prepare Rabbitmq

To Acces the Gui, you need an user. The User can be created inside the Checkmk Site with the three following commands.

rabbitmqctl add_user bk password

rabbitmqctl set_permissions -p / bk "." "." ".*"

rabbitmqctl set_user_tags bk administrator

Now you can log in with bk:password