Detailed uwsgi stats plugin for munin. In order to get the stats it uses both the uwsgi stats server and the operating system's process list (for stuff that's not available through the stats server, or wherever the stats server sucks).
pip install psutil wget -O /usr/share/munin/plugins/uwsgi_ https://github.com/wikical/munin-uwsgi-stats/raw/master/uwsgi_ chmod 755 /usr/share/munin/plugins/uwsgi_
add the stats server to your uWSGI config and restart uWSGI (for example, use 127.0.0.1:4999; try "nc 127.0.0.1 4999" to see if there's any JSON output).
edit /etc/munin/plugin-conf.d/munin-node:
[uwsgi_*] user root env.port 4999 env.name My_uwsgi
The port can be either a TCP port or the filename to a unix domain socket. The uwsgi server must run on localhost; if the specified port is a TCP port, the host is assumed to be 127.0.0.1.
If you are monitoring more than one uwsgi applications you can specify many ports and names, like this:
[uwsgi_*] user root env.port 4999 4998 4997 env.name app1 app2 app3
Modified BSD - see file LICENSE for details