mongodb: add min pymongo package version (#4449)
Ilya Mashchenko committed
Oct 23, 2018 at 02:11 UTC
2c580e1c9c17fb24bff7c04c9b40e117c9c83d90
2 files changed
+2
-2
collectors/python.d.plugin/mongodb/README.md
+1
-1
@@ -3,7 +3,7 @@
3
Module monitor mongodb performance and health metrics
4
5
**Requirements:**
6
- * `python-pymongo` package.
6
+ * `python-pymongo` package v2.4+.
7
8
You need to install it manually.
9
collectors/python.d.plugin/mongodb/mongodb.chart.py
+1
-1
@@ -440,7 +440,7 @@ class Service(SimpleService):
440
441
def check(self):
442
if not PYMONGO:
443
- self.error('Pymongo module is needed to use mongodb.chart.py')
443
+ self.error('Pymongo package v2.4+ is needed to use mongodb.chart.py')
444
return False
445
self.connection, server_status, error = self._create_connection()
446
if error: