/etc/shinken/modules/webui.cfg is in shinken-mod-webui 1.0-3.
This file is owned by root:root, with mode 0o660.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 | ## Module: WebUI
## Loaded by: Broker
# The Shinken web interface and integrated web server.
define module {
module_name webui
module_type webui
host 0.0.0.0 ; All interfaces = 0.0.0.0
port 7767
auth_secret CHANGE_ME ; CHANGE THIS or someone could forge
; cookies!!
allow_html_output 1 ; Allow or not HTML chars in plugins output.
; WARNING: Allowing can be a security issue.
max_output_length 100 ; Maximum output length for plugin output in webui
manage_acl 1 ; Use contacts ACL. 0 allow actions for all.
play_sound 0 ; Play sound on new non-acknowledged problems.
login_text Login to the Shinken WebUI - Live System; Text in the login form.
refresh_period 60 ; Number of seconds between each page refresh
; Default value is 60 seconds
## Modules for WebUI
# - Apache_passwd = Use an htpasswd file for auth backend.
# - ActiveDir_UI = Use AD for auth backend (and retrieve photos).
# - Cfg_password = Use the password setted in Shinken contact for auth.
# - PNP_UI = Use PNP graphs in the UI.
# - GRAPHITE_UI = Use graphs from Graphite time series database.
# - Mongodb = Save user preferences to a Mongodb database
# - SQLitedb = Save user preferences to a SQLite database
modules auth-cfg-password,sqlitedb
## Advanced Options
# Don't use them as long as you don't know what you are doing!
#http_backend auto ; Choice is: auto, wsgiref, cherrypy, flup,
; flupscgi, paste, tornado, twisted or gevent.
; Leave auto to find the best available.
#remote_user_enable 1 ; If WebUI is behind a web server which
; has already authentified user, enable.
#remote_user_enable 2 ; Look for remote user in the WSGI environment
; instead of the HTTP header. This allows
; for fastcgi (flup) and scgi (flupscgi)
; integration, eg. with the apache modules.
#remote_user_variable X_Remote_User ; Set to the HTTP header containing
; the authentificated user s name, which
; must be a Shinken contact.
# If you got external plugins (pages) to load on webui
#additional_plugins_dir
#embeded_graph 1 ; If we don't want to publish graphing tools
; and embed graph in html code
}
|