Git Product home page Git Product logo

check_activemq's Introduction

check_activeMQ

This repository provides a check that is able to query the Jolokia API of activeMQ services and provide detailed metrics.

Usage

usage: check_active_mq.py [-h] [--host HOST] [--port PORT] [-u USERNAME] [-p PASSWORD] --check CHECK [--broker BROKER] [-q QUEUE] [-c CRIT] [-w WARN]

optional arguments:
  -h, --help            show this help message and exit
  --host HOST           Host of the Apache-MQ REST service
  --port PORT           Port of the Apache-MQ REST service (default: 8161)
  -u USERNAME, --username USERNAME
                        Username to be used to login
  -p PASSWORD, --password PASSWORD
                        Password to be used to login
  --check CHECK         'health' or 'queue'. With 'queue' the '--queue' parameter is required
  --broker BROKER       Brokername used to determine which broker to check. Defaults to localhost
  -q QUEUE, --queue QUEUE
                        Queuename which is required
  -c CRIT, --crit CRIT  Critical Value for the Queuesize
  -w WARN, --warn WARN  Warning Value for the Queuesize

Example

check_active_mq.py --host $HOST -u $user -p $pass --check health

check_active_mq.py --host $HOST -u $user -p $pass --check queue --queue "ActiveMQ.DLQ" --warn 10 --crit 15

check_active_mq.py --host $HOST -u $user -p $pass --check queue --queue "*"

Queue

usage: check_active_mq.py queue [-h] [-b BROKER] -q QUEUE [-c CRIT] [-w WARN]

optional arguments:

  -h, --help            show this help message and exit

  -b BROKER, --broker BROKER Brokername used to determine which broker to check. Defaults to localhost

  -q QUEUE, --queue QUEUE Queuename which is needed

  -c CRIT, --crit CRIT  Critical Value for the Queuesize

  -w WARN, --warn WARN  Warning Value for the Queuesize

Health

usage: check_active_mq.py health [-h] [-b BROKER]

optional arguments:

  -h, --help            show this help message and exit

  -b BROKER, --broker BROKER Brokername used to determine which broker to check. Defaults to localhost

check_activemq's People

Contributors

kevinhonka avatar bodsch avatar

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.