Coder Social home page Coder Social logo

cmk-rabbitmq's Introduction

# RabbitMQ Check

This is a basic RabbitMQ check for Check_MK/OMD.

It currently only monitors queue depth and consumer count, but the agent
returns quite a bit more and the check will be expanded as time permits.

Example configuration file (/etc/check_mk/rabbitmq.cfg):

```python
servers = [
    {
				"address"  : "localhost",
				"port"     : 15672,
				"user"     : "rabbitmq",
				"password" : "supersekretive"
		},
]
```

cmk-rabbitmq's People

Contributors

disconn3ct avatar vir-dis avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

cmk-rabbitmq's Issues

Extremely inefficient metric querying can produce significant load on the monitored cluster

FYI, the RabbitMQ core team pretty routinely sees this monitoring tool causing unreasonably high load on nodes because it uses GET /api/queues to get all metrics of all queues and that can generate very large payloads that max out network links in the short term.

Consider 100K queues with 60 metrics each, all in a single JSON collection: that would be 60M key-value pairs. If we assume that each pair on average is 30 bytes long, that's 180 MiB of data that will require 180M * 8 โ‰ˆ 11 GBit/s to transfer.

Add a frequent check on top and you see how this tool can wreck havoc on the system it monitors.

Consider using the Prometheus format.
Prometheus metrics are scraped from each node individually and support an aggregated metrics mode specifically for this kind of problems.

release 0.1.2

with the fixes you should release a new version. thank you!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.