我喜欢将小部件添加到我的Shinken仪表板中。我收到警告:
您没有定义WebUI模块来保存用户首选项,比如MongoDB模块。您将无法使用此页面!
所以我安装了mongodb模块:
shinken install mod-mongodb并将mongodb模块添加到我的webui.cfg中。在重启Shinken之后,我收到了同样的通知。
cat /etc/shinken/模块/monGodb.cfg:
## Module: Mongodb
## Loaded by: Arbiter, WebUI
# In Arbiter: Read objects in a mongodb database (like hosts or services).
# In WebUI: Save/read user preferences.
define module {
module_name mongodb
module_type mongodb
uri mongodb://localhost/?safe=false
database shinken
#username username ;optional
#password password ;optional
#replica_set ;Advanced option if you are running a cluster environnement
}当然,Mongodb正在从localhost (没有cred)上运行和访问。
Shinken版本: 2.4.3
mongodb模块还在使用Shinken 2吗?我找不到另一个模块。2015年6月5日最新的提交c023a12 https://github.com/shinken-monitoring/mod-mongodb
有没有人有过Shinken + Webui + Mongo的经验?
发布于 2016-08-19 19:34:46
我找到了解决办法。有一个新的webui版本( webui2 ),您可以使用shinken安装webui2来安装它。这个版本有一个内置的mongo模块来保存数据/小部件设置。
https://serverfault.com/questions/797488
复制相似问题