centreon-plugins icon indicating copy to clipboard operation
centreon-plugins copied to clipboard

[apps::mq::rabbitmq::restapi::plugin] Add new mode: Detected partition / unsynced nodes

Open TheCriSys opened this issue 3 years ago • 2 comments

Hi,

We have just suffered an incident after a snapshot (longer than usual) of one of our VMs supporting a rabbitmq service causing a network partition of the node. Unfortunately, we did not see anything and did not receive any alerts in Centreon because all the nodes were indicated as "running".

From the rabbitmq documentation, it seems that from the URL "host:port/api/nodes", we can get an array named "partitions" and defined as follows: "List of network partitions that this node sees.".

Is it possible to add a mode to list these network partitions with a warning and a critical threshold number?

Many thanks, Julian

TheCriSys avatar Apr 08 '21 09:04 TheCriSys

Hey,

Could you share the link to the RabbitMQ documentation describing the partition array please?

Sims24 avatar Apr 09 '21 16:04 Sims24

Hello,

I've found it under the /api/nodes section on this page: https://rawcdn.githack.com/rabbitmq/rabbitmq-server/v3.8.14/deps/rabbitmq_management/priv/www/api/index.html

Unfortunately, it lack a bit of data...

TheCriSys avatar Apr 15 '21 13:04 TheCriSys