[SERVER-13598] MongoDB plugins with Munin fail Created: 15/Apr/14 Updated: 30/Nov/14 Resolved: 30/Nov/14 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | 2.4.9 |
| Fix Version/s: | None |
| Type: | Question | Priority: | Major - P3 |
| Reporter: | Ilya Medvetskiy | Assignee: | Bernie Hackett |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Participants: | |||||||||
| Description |
|
Hello, We've deployed Munin Server and nodes to improve MongoDB monitoring. installed mongo plugins from here: http://docs.mongodb.org/ecosystem/tools/munin/ Unfortunately mongo monitoring plugins fail with errors. I've made sure that python scripts (plugins) point to correct mongo port and host, but they always produce similar errors. Here is the error when running mongo_lock manually using python 2.6.6 and 3.4.0: Python 2.6.6 Python 3.4.0 Are these plugins only compatible with specific version of python and/or MongoDB? |
| Comments |
| Comment by Bernie Hackett [ 15/Apr/14 ] |
|
Good to hear. I've opened |
| Comment by Ilya Medvetskiy [ 15/Apr/14 ] |
|
That was it, rest interface had to be enabled and scripts point to it. |
| Comment by Bernie Hackett [ 15/Apr/14 ] |
|
Hi, The mongo-munin plugin will only work with python 2.x. Python 2.6.6 should work fine, but Python 3.4 is incompatible.
What port did you use? This plugin pulls server status using the mongo rest interface, not the mongodb wire protocol. You will have to start your mongo instances with the --rest option. By default the rest interface runs on port number 1000 greater than the --port option for mongo, 28017 by default. |