Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Check for Gunicorn in Nagios

Project Description

This is a plugin that works between ElasticSearch and Nagios. This plugin takes status report from ElasticSearch and puts it into Nagios. This plugin is specifically for Gunicorn working with statsd. Statsd takes data from Gunicorn and posts it into ElasticSearch. Then this plugin takes required data from the elasticsearch and transforms it for nagios. It tells Nagios states of workers working in Gunicorn, request rate that Gunicorn is facing, request ruration that Gunicorn is taking.

The file gets installed at ‘/usr/local/bin’

Inputs types to Plugin:

Case Type(-t) Input

Average Workers “Avgworkers” Maximum Workers “Maxworkers” Minimum Workers “Minworkers” Average Request Rate “Avgrequestrate” Maximum Request Rate “Maxrequestrate” Minimum Request Rate “Minrequestrate” Average Request Duration “Avgrequestduration” Maximum Request Duration “Maxrequestduration” Minimum Request Duration “Minrequestduration”

Set Time Range (-st): For now, Time Range is between (-st):currentsystemtime; where user can set -st to any number of minutes user wants to keep track of. By default -st is set to 5 minutes.

Warning Range (-w): Warning Range can be set by user in terms of range. Syntax is ‘a:b’, a is lower bound of range, b is upper bound of range.

Critical Range (-c): Critical Range can be set by user in terms of range. Syntax is ‘a:b’, a is lower bound of range, b is upper bound of range.

NOTE: by default, application will show result of Maximum Workers in last 5 minutes.

Release History

Release History

This version
History Node

0.0.3.6

History Node

0.0.3.5

History Node

0.0.3.4

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
check_gunicorn-0.0.3.6.tar.gz (3.0 kB) Copy SHA256 Checksum SHA256 Source Oct 15, 2015

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting