RabbitMQ-Agent-Monitor is an agent that used for open-falcon to monitoring RabbitMQ.
Linux
$make build
$/bin/bash control.sh start|stop|restart
It will create a temporary directory var
in your current path.
overview metrics: ... ...
spiderQ will starting a web server to handle several instructions which to control RabbitMQ process state.
The web server listening on port 5671 by default, it enable basicauth, and handle client's requests.
RabbitMQ process management(graceful)
curl -u noadmin:ADMIN -XPUT -d '{"name":"is_alive"}' http://127.0.0.1:5671/api/app/actions
curl -u noadmin:ADMIN -XPUT -d '{"name":"start"}' http://127.0.0.1:5671/api/app/actions
curl -u noadmin:ADMIN -XPUT -d '{"name":"stop"}' http://127.0.0.1:5671/api/app/actions
curl -u noadmin:ADMIN -XPUT -d '{"name":"restart"}' http://127.0.0.1:5671/api/app/actions
Stop RabbitMQ process forcibly
curl -u noadmin:ADMIN -XGET http://127.0.0.1:5671/api/app/fstop
Get the healthy status of single RabbitMQ node
curl -u noadmin:ADMIN -XGET http://127.0.0.1:5671/api/stats
Start/Stop/Restart RabbitMQ statistics management database
curl -u noadmin:ADMIN -XPUT -d '{"name":"reset"}' http://127.0.0.1:5671/api/stats/actions
curl -u noadmin:ADMIN -XPUT -d '{"name":"crash"}' http://127.0.0.1:5671/api/stats/actions
curl -u noadmin:ADMIN -XPUT -d '{"name":"terminate"}' http://127.0.0.1:5671/api/stats/actions