From 848b61be121ff40c7a83ea74266c668c45b78d25 Mon Sep 17 00:00:00 2001 From: aviau Date: Wed, 15 Apr 2015 14:01:41 -0400 Subject: [PATCH] Install pymongo 2.8 for mod-mongodb Change-Id: Ib518cf3dc40281eb35426862ab0aebd3112fe4da --- tools/docker/shinken_container/Dockerfile | 2 +- tools/docker/shinken_container/etc/shinken/modules/mongodb.cfg | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/docker/shinken_container/Dockerfile b/tools/docker/shinken_container/Dockerfile index 0056698..65d7a11 100644 --- a/tools/docker/shinken_container/Dockerfile +++ b/tools/docker/shinken_container/Dockerfile @@ -21,7 +21,7 @@ RUN shinken install webui RUN shinken install auth-cfg-password RUN pip install influxdb && shinken install mod-influxdb RUN shinken install ws-arbiter -RUN pip install pymongo && shinken install mod-mongodb +RUN pip install pymongo==2.8 && shinken install mod-mongodb ## plugins RUN apt-get install -y nagios-plugins diff --git a/tools/docker/shinken_container/etc/shinken/modules/mongodb.cfg b/tools/docker/shinken_container/etc/shinken/modules/mongodb.cfg index cb59b1d..0c70835 100644 --- a/tools/docker/shinken_container/etc/shinken/modules/mongodb.cfg +++ b/tools/docker/shinken_container/etc/shinken/modules/mongodb.cfg @@ -5,7 +5,7 @@ define module { module_name mongodb module_type mongodb - uri mongodb://mongo/?safe=false + uri mongodb://mongo/ database shinken #username username ;optional #password password ;optional