I'm trying to monitor uSWGI via Nagios, but according to uWSGI I have specified an invalid socket.
The socket path I got from the JSON config file which also says chmod-socket: 666
so I have a hunch that the problem is permission based.
The socket file is owned by www-data
who I don't want to tinker with, so any other ways?
uwsgi --socket=/tmp/app.sock --nagios
detected binary path: /usr/local/bin/uwsgi
UWSGI UNKNOWN: you have specified an invalid socket
ls -l /tmp/app.sock
srw-rw-rw- 1 www-data www-data 0 2012-10-26 17:00 /tmp/app.sock
which uWSGI version ? the "detected binary path" message should not appear, so you may be using some older release with some kind of bug.