Git Product home page Git Product logo

check_rabbitmq's People

Contributors

aibor avatar boivie avatar captphunkosis avatar chargr avatar dodwmd avatar drscream avatar erikanderson avatar hypnotortoise avatar mm0 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

check_rabbitmq's Issues

mem_usage check not working since last commit

Since commit f9f3420 the memory check does not work anymore.

Before that commit:

# /usr/lib/nagios/plugins/check_rabbitmq -a mem_usage
CRITICAL - RABBITMQ RAM USAGE at 6% of max

After that commit (currently newest version from master as of Dec 21 2018):

# ./check_rabbitmq -a mem_usage
Critical - local variable 'memory_used' referenced before assignment

Additional information:

# python --version
Python 2.7.15rc1

# cat /etc/*release*
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=18.04
DISTRIB_CODENAME=bionic
DISTRIB_DESCRIPTION="Ubuntu 18.04.1 LTS"
NAME="Ubuntu"
VERSION="18.04.1 LTS (Bionic Beaver)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 18.04.1 LTS"
VERSION_ID="18.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=bionic
UBUNTU_CODENAME=bionic

No License in distribution

Hi,

I was wondering if you would mind clarifying the licensing terms for check_rabbitmq. There is no mention of licensing in either README.md or the check_rabbitmq file itself, making it closed source in most countries.

I would definitely like to use this plugin, but the current terms do not permit me to do so.

Thanks,

/check_rabbitmq -a queues_count in v 3.6.12

/usr/lib/nagios/plugins/check_rabbitmq -a queues_count -W 800 -C 1000
CRITICAL - list index out of range

added -q option , du to header info resolving in multidimensional array
def list_queues(cls):
args = shlex.split('rabbitmqctl list_queues -q')

Remote execution with nrpe returns NRPE: Unable to read output

when running remotely with NRPE /usr/lib/nagios/plugins/check_nrpe -H (host) -c rab_connection_count returns NRPE: Unable to read output

Enable debug on nrpe shows in the log
Jul 9 12:45:45 ip-172-30-1-84 nrpe[32239]: Running command:/usr/lib/nagios/plugins/check_rabbitmq -a connection_count -C 10 -W 8
Jul 9 12:45:45 ip-172-30-1-84 nrpe[32239]: Command completed with return code 1 and output:
Jul 9 12:45:45 ip-172-30-1-84 nrpe[32239]: Return Code: 1, Output: NRPE: Unable to read output
Jul 9 12:45:45 ip-172-30-1-84 nrpe[32239]: Connection from closed.
the same issu with rab_queries_count

added sys.exit(0) to successful execution, but it did not help,same with using sudo
Need help

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.