Hi Ivan, thank you for this. However I have a problem, I followed your command lines but the munin server receive nothing from the node for Mongo (everything else is ok).
I opened a question on: http://stackoverflow.com/qu...
Here is the error:
# sudo -u munin python /usr/share/munin/plugins/mongo_ops
Traceback (most recent call last):
File "/usr/share/munin/plugins/mongo_ops", line 56, in <module>
doData()
File "/usr/share/munin/plugins/mongo_ops", line 33, in doData
ss = getServerStatus()
File "/usr/share/munin/plugins/mongo_ops", line 28, in getServerStatus
raw = urllib2.urlopen(req).read()
File "/usr/lib/python2.7/urllib2.py", line 126, in urlopen
return _opener.open(url, data, timeout)
File "/usr/lib/python2.7/urllib2.py", line 400, in open
response = self._open(req, data)
File "/usr/lib/python2.7/urllib2.py", line 418, in _open
'_open', req)
File "/usr/lib/python2.7/urllib2.py", line 378, in _call_chain
result = func(*args)
File "/usr/lib/python2.7/urllib2.py", line 1207, in http_open
return self.do_open(httplib.HTTPConnection, req)
File "/usr/lib/python2.7/urllib2.py", line 1177, in do_open
raise URLError(err)
urllib2.URLError: <urlopen error="" [errno="" 111]="" connection="" refused="">
Do you have any idea why it happens? To test, I moved the plugin files to `/usr/share/munin/plugins` and updated the simlink, but I've got the same error.