Skip to content

This is a RabbitMQ monitoring agent written in Go(lang). It provides a suite of features for comprehensive monitoring of RabbitMQ performance.

License

Notifications You must be signed in to change notification settings

chengduzhusiyu/RabbitMQ-Agent-Monitor

Repository files navigation

RabbitMQ-Agent-Monitor

Go Report Card GoCI Build Status Apache 2 licensed

RabbitMQ-Agent-Monitor is an agent that used for open-falcon to monitoring RabbitMQ.

Arch Requirement

Linux

Build

$make build

Agent launch

$/bin/bash control.sh start|stop|restart

It will create a temporary directory var in your current path.

Metrics

overview metrics: ... ...

Witch

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

About

This is a RabbitMQ monitoring agent written in Go(lang). It provides a suite of features for comprehensive monitoring of RabbitMQ performance.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published