Skip to main content

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.

Project details


Download files

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

Source Distribution

check_gunicorn-0.0.3.6.tar.gz (3.0 kB view details)

Uploaded Source

File details

Details for the file check_gunicorn-0.0.3.6.tar.gz.

File metadata

File hashes

Hashes for check_gunicorn-0.0.3.6.tar.gz
Algorithm Hash digest
SHA256 40fbcb4508e1684f2b90b0466548dcba2709508c8cbb3d4b21df45c7201b1192
MD5 e548e6470a8f3bba6d27c4b65ac36a70
BLAKE2b-256 e3aaa59a4f81d267626ff7d1c2641a4a9556fa288486ecaef72d039875abc307

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page