Check for Gunicorn in Nagios
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.
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size||File type||Python version||Upload date||Hashes|
|Filename, size check_gunicorn-0.0.3.6.tar.gz (3.0 kB)||File type Source||Python version None||Upload date||Hashes View hashes|