Munin Mongodb插件未显示. . .? [英] Munin Mongodb Plugin Not Showing. . .?

查看:146
本文介绍了Munin Mongodb插件未显示. . .?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经在监视服务器上安装了munin和munin-node,并在mongodb服务器上安装了munin-node,我将它们都设置好,并且一切正常.但是,mongodb插件未显示在我的监视服务器上.我看到列出的节点和磁盘,网络,进程,系统",但看不到mongo的东西.如果我直接在mongo服务器"python/usr/share/munin/plugins/mongo_btree"上执行其中一个插件,它将返回输出,但监视服务器上未显示任何内容.

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.

推荐答案

进一步检查后,"munin"用户在尝试访问simplejson模块时收到错误.这是由于munin用户使用的是2.6版之前的旧python实例引起的.

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.

通过在munin的bash_profile中添加正确的版本来解决.

Fixed by adding the correct version to munin's bash_profile.

这篇关于Munin Mongodb插件未显示. . .?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆