I have installed munin and munin-node on my monitoring server and installed munin-node on my mongodb server, I have set them both up and all is working great. But, the mongodb plugins aren't showing on my monitoring server. I see the node listed and "Disk, Network, Processes, System", but not the mongo stuff. If I execute one of the plugins directly on the mongo server "python /usr/share/munin/plugins/mongo_btree" it returns output, but nothing shows on the monitoring server.
相关问题
- MongoDB can not create unique sparse index (duplic
- Spring Data MongoDB - lazy access to some fields
- Golang mongodb aggregation
- How to convert from Timestamp to Mongo ObjectID
- MongoDB Indexing: Multiple single-field vs single
相关文章
- mongodb有没有什么办法禁止读取数据的时候进行缓存
- mongodb-aggregate聚合查询分组后如何获得多字段
- mongodb error: how do I make sure that your journa
- How to track MongoDB requests from a console appli
- MongoError: cannot infer query fields to set, path
- Pymongo $in Query Not Working
- django.core.exceptions.ImproperlyConfigured: '
- How to represent an array with mixed types
The MongoDB munin scripts are using the default python env but they are in fact python2 scripts. If
Says something like Python 3.x.x, then you need to change the first line of the scripts to
Or wherever your python2 is.
Upon further inspection, the "munin" user was receiveing errors when trying to access the simplejson module. This was cause due to the munin user using an older pre 2.6 instance of python.
Fixed by adding the correct version to munin's bash_profile.
not worked for me... no errors on mongo_ops call. but no charts at all...
UPDATE:
i found how-to!
copy mongo_* plugins to /usr/share/munin/plugins
make link to /etc/munin/plugins
check node config by munin-node-configure:
restart munin-node: