mongodb自带web性能监控
更新:HHH   时间:2023-1-7


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

返回MongoDB数据库教程...