mongodb - Splunk MongoDB 插件:我们是否需要 root 权限来监控 MongoDB 数据?
问题描述
专家:</p>
如果我要监控以下数据 /1/,我们正在使用 Splunk MongoDB 插件,我们是否需要 root 权限才能获取监控数据?
/1/
Number of commands
Number of asserts users
Number of asserts messages
Number of available connections
Number of current connections
Connection Growth
Number of network bytes in
Number of network bytes out
Number of network requests
Mapped memory size
Virtual memory size
Resident memory size
Replica Set availability
Member status
解决方案
如果您使用的是 MongoDB 监控应用程序 ( https://splunkbase.splunk.com/app/2957/ ),则https://github.com/jruaux/mongodb-monitoring中列出的文档说它不需要 root,但是您可能需要启用管理员权限。
您可能需要使用 syslog 将数据发送出去,或者修改 mongod.log 的权限以允许 Splunk 读取它
推荐阅读
- react-native - 带有 redux 的 React-Native-Navigation V2 无法传递道具
- javascript - 限制jQuery的范围
- ios - Swift - UITableView 没有放置 UIimage=nil
- python-3.x - 底图 - 根据坐标在地图上绘制点;点大小 = 出现次数
- python - Django ORM 多个不同并按顺序排列
- javascript - 仅在移动设备上启用此脚本
- laravel - php artisan config:cache 产生一个 e (laravel)
- typescript - 确保打字稿界面中存在可选属性
- javascript - Javascript - 如何从单个 zip 文件中读取多个 PDF 文件
- java - javafx:双击空白行打开先前选择的对象