Skip to content

Commit 802d535

Browse files
authored
Revert "[Task] Add user account monitoring metrics for MongoDB (#4033)"
This reverts commit 0981817.
1 parent 0981817 commit 802d535

3 files changed

Lines changed: 0 additions & 75 deletions

File tree

hertzbeat-manager/src/main/resources/define/app-mongodb.yml

Lines changed: 0 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -464,53 +464,3 @@ metrics:
464464
authenticationDatabase: ^_^authenticationDatabase^_^
465465
command: hostInfo.extra
466466
timeout: ^_^timeout^_^
467-
468-
- name: user_info
469-
priority: 13
470-
i18n:
471-
zh-CN: 用户信息
472-
en-US: User Info
473-
ja-JP: ユーザー情報
474-
fields:
475-
- field: user
476-
type: 1
477-
label: true
478-
i18n:
479-
zh-CN: 用户名
480-
en-US: User
481-
ja-JP: ユーザー名
482-
- field: db
483-
type: 1
484-
label: true
485-
i18n:
486-
zh-CN: 数据库
487-
en-US: Database
488-
ja-JP: データベース
489-
- field: roles
490-
type: 1
491-
i18n:
492-
zh-CN: 角色
493-
en-US: Roles
494-
ja-JP: ロール
495-
- field: mechanisms
496-
type: 1
497-
i18n:
498-
zh-CN: 认证机制
499-
en-US: Auth Mechanisms
500-
ja-JP: 認証メカニズム
501-
- field: passwordDisgest
502-
type: 1
503-
i18n:
504-
zh-CN: 密码摘要
505-
en-US: Password Digest
506-
ja-JP: パスワードダイジェスト
507-
protocol: mongodb
508-
mongodb:
509-
host: ^_^host^_^
510-
port: ^_^port^_^
511-
username: ^_^username^_^
512-
password: ^_^password^_^
513-
database: admin
514-
authenticationDatabase: ^_^authenticationDatabase^_^
515-
command: usersInfo
516-
timeout: ^_^timeout^_^

home/docs/help/mongodb.md

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -93,15 +93,3 @@ keywords: [ open source monitoring tool, open source database monitoring tool, m
9393
| pageSize | none | Size of a memory page in bytes. |
9494
| numPages | none | Total number of memory pages. |
9595
| maxOpenFiles | none | Maximum number of open files allowed. |
96-
97-
#### Metric set:user_info
98-
99-
| Metric name | Metric unit | Metric help description |
100-
|----------------------|-------------|------------------------------------------------------------------------------------|
101-
| user | none | MongoDB database user account name |
102-
| db | none | Authentication database for the user |
103-
| roles | none | Roles assigned to the user (JSON format) |
104-
| mechanisms | none | Authentication mechanisms available for the user (e.g., SCRAM-SHA-256) |
105-
| passwordDisgest | none | Password digest method (client or server-side) |
106-
107-
**Note**: This metric provides visibility into database user accounts, roles, and authentication settings. Use it to audit user permissions, track authentication mechanisms, and maintain security compliance. Configure alerts for unauthorized user creation or role changes to enhance database security monitoring.

home/i18n/zh-cn/docusaurus-plugin-content-docs/current/help/mongodb.md

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -93,16 +93,3 @@ keywords: [ 开源监控系统, 开源数据库监控, MongoDB数据库监控 ]
9393
| pageSize || 内存页大小 |
9494
| numPages || 内存页数量 |
9595
| maxOpenFiles || 系统中允许打开的最大文件数 |
96-
97-
98-
#### 指标集合:用户信息
99-
100-
| 指标名称 | 指标单位 | 指标帮助描述 |
101-
|---------------------|------|----------------------------------------|
102-
| user || MongoDB 数据库用户账户名 |
103-
| db || 用户的认证数据库 |
104-
| roles || 分配给用户的角色(JSON格式) |
105-
| mechanisms || 用户可用的认证机制(如 SCRAM-SHA-256) |
106-
| passwordDisgest || 密码摘要方法(客户端或服务器端) |
107-
108-
**说明**:此指标提供数据库用户账户、角色和认证设置的可见性。用于审计用户权限、跟踪认证机制和维护安全合规性。可配置告警规则监测未授权的用户创建或角色变更,增强数据库安全监控。

0 commit comments

Comments
 (0)