Monitor uSWGI via Nagios: invalid socket

Posted by webjay on Server Fault See other posts from Server Fault or by webjay
Published on 2012-10-27T22:07:49Z Indexed on 2012/10/27 23:04 UTC
Read the original article Hit count: 300

Filed under:
|
|

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

© Server Fault or respective owner

Related posts about nagios

Related posts about uwsgi