Hello,
managed today to get the shinken webui running with mod fastcgi throught
apache with a unix socket.
Not working is the setting "bindAddress" and "umask" in shinken-specific,
for the moment I patched the bindaddress (=socket path) directly into
shinken/webui/bottle.py, see below.
Please tell me if I misunderstood the syntax. At the moment the
debug statements added are showing self.options always as empty
dict.
Thanks and a nice weekend to all,
greetings
Hermann
shinken-specific:
define module{
module_name WebUI
module_type webui
#fastcgi (unix socket)
http_backend flup
bindAddress /var/lib/shinken/websock
umask 0
scriptName /
...
}
bottle.py:
class FlupFCGIServer(ServerAdapter):
def run(self, handler): # pragma: no cover
import flup.server.fcgi
print "Flup options: "+repr(self.options)
kwargs = {'bindAddress': (self.host, self.port)}
kwargs.update(self.options) # allow to override bindAddress and others
kwargs['bindAddress']='/var/lib/shinken/websock'
print "Flup FCGI: "+repr(kwargs['bindAddress'])
flup.server.fcgi.WSGIServer(handler, **kwargs).run()
--
Netzwerkadministration/Zentrale Dienste, Interdiziplinaeres
Zentrum fuer wissenschaftliches Rechnen der Universitaet Heidelberg
IWR; INF 368; 69120 Heidelberg; Tel: (06221)54-8236 Fax: -5224
Email: [email protected]
------------------------------------------------------------------------------
Minimize network downtime and maximize team effectiveness.
Reduce network management and security costs.Learn how to hire
the most talented Cisco Certified professionals. Visit the
Employer Resources Portal
http://www.cisco.com/web/learning/employer_resources/index.html
_______________________________________________
Shinken-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/shinken-devel