mongo-munin
mongo-munin copied to clipboard
Munin plugins for MongoDB
I am running mongo 2.4.8, and with the latest code from this repo, I get a key error when running the mongo_lock plugin: $ ./mongo_lock Traceback (most recent call last):...
Update that solves the #12 The ["globalLock"]["ratio"] doesn't exist anymore, only ["globalLock"]["lockTime"] and ["globalLock"]["totalTime"].
See https://github.com/munin-monitoring/contrib/commit/271a38f0badf113746c441ae28ff983c11b6d06f
When mongodb is configured with SSL, the web console requires https.
Version for Python 3 and updates for MongoDB 2.2 version. Feel free to branch it if you want to have a clean separation between for Python 2 and 3. Tested...
I fixed a CentOS compatibility issue, as well as add better exception handling (with reporting to munin).
Since mongo 2.2 there is no info in globalLock.ratio but it can be counted manually by dividing globalLock.lockTime and globalLock.totalTime. This fix doing it.
Sorry about the mistake; I was doing all my testing on the command-line and didn't realize I was making a munin-incompatible script. This new one can be treated as a...
Hi, We have multiple instances of MongoDB running on multiple ports on our site, so I thought I'd modify this code and send it along your way for review. Thanks,...