Skip to content

Latest commit

 

History

History
17 lines (10 loc) · 603 Bytes

Nagios.rst

File metadata and controls

17 lines (10 loc) · 603 Bytes

Monitoring uWSGI with Nagios

The official uWSGI distribution includes a plugin adding Nagios-friendly output.

To monitor, and eventually get warning messages, via Nagios, launch the following command, where node is the socket (UNIX or TCP) to monitor.

uwsgi --socket <node> --nagios

Setting warning messages

You can set a warning message directly from your app with the :func:`uwsgi.set_warning_message` function. All ping responses (used by Nagios too) will report this message.