-
Notifications
You must be signed in to change notification settings - Fork 71
Installing WebUI storage modules
The WebUI can use external modules to store common and user's preferences: dashboard, default parameters, bookmarks, etc.
By default, a mongodb module is embedded in the WebUI (you don't need to install it). To use it, you just need to install mongodb (with your distribution packages) and pymongo (with pip or with your distribution packages). It's very easy and doesn't need any configuration.
Of course, you cannot use many preferences modules. If more than one are installed, the first one will be use.
This module is now embedded in the WebUI. You only need to install MongoDB.
More information here for installing MongoDB Community edition on Linux distros.
On Debian/Ubuntu
$ sudo apt-get install mongodb-org
On Redhat/Centos:
$ sudo yum install mongodb-org
Please note that default parameters do not need to be modified.
$ cat /etc/shinken/modules/webui2.cfg
[...]
uri mongodb://localhost/?safe=false
database shinken
The sqlite module is not documented, has not been tested and should not be used except if you know exactly what you are doing. Please notice that no support will be provided if you use this module. Some information may be found in the Shinken documentation if needed.
- Shinken Web User Interface, version 2.1+, ©2011-2016