uWSGI vassal states monitoring plugin

uWSGI vassal states monitoring plugin


Nagios output: checks if all vassals are accepting requests and sets status to OK or CRITICAL.

Influx Line Portocol: collects accepting, loyal, ready and cursed states. Vassal id (without extension) is used as a "vassal" tag.

Requirements:

  • PHP interpreter

  • uWSGI in Emperor mode running with --emperor-stats

Plugin parameters

check_uwsgi -s <path to emperor-stats socket> [-i] [-m measurement]
Optional parameters
    -i  Influx Line Protocol output format instead of Nagios
    -m  Measurement name ("uwsgi" by default)
Example: check_uwsgi -s /tmp/uwsgistats.sock -i -m uwsgistats