mongodb自带web性能监控

mongodb自带一个web界面监控。
配置比较简单,只需要在启动时候加参数:--httpinterface 或者将httpinterface=true写到配置文件中 重启。在浏览器中输入:ip:mongodb端口号+1000 比如说数据库端口为20011 则监控页面为:ip:21011
/export/mongodb/bin/mongod -f /export/mongodb/conf/mongod.conf --httpinterface
mongodb自带web性能监控
mongodb自带web性能监控

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

猜你喜欢

转载自blog.51cto.com/woniu123/2108550
今日推荐