mongodb自带web性能监控

时间:2018-04-27 16:40:59   收藏:0   阅读:175
mongodb自带一个web界面监控。
配置比较简单,只需要在启动时候加参数:--httpinterface 或者将httpinterface=true写到配置文件中 重启。在浏览器中输入:ip:mongodb端口号+1000 比如说数据库端口为20011 则监控页面为:ip:21011
/export/mongodb/bin/mongod -f /export/mongodb/conf/mongod.conf --httpinterface
技术分享图片
技术分享图片

还可以加一个--rest参数。能够看到更多参数
/export/mongodb/bin/mongod -f /export/mongodb/conf/mongod.conf --httpinterface --rest

原文:http://blog.51cto.com/woniu123/2108550

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!