Hi all,
I have configured my MongoDB with authentification mode.
Like as:
db.createUser(
{
user: "zbx-mongo",
pwd: "passwd",
roles: [ { role: "root", db: "admin" } ]
}
)
Now, I have some error with some metrics, like "MongoDB node by Zabbix agent 2: MongoDB: Get server status: MongoDB: Memory: mapped : Memory" or "MongoDB node by Zabbix agent 2: MongoDB: Get server status: MongoDB: Memory: mapped with journal zz0.oyqzj9bgs3pzz : mapped" or "WiredTiger metrics: MongoDB: Get server status: MongoDB: WiredTiger cache: max page size at eviction" with the following errors:
- mongodb.mem.mapped_with_journal" became not supported: Cannot fetch data: (Unauthorized) command serverStatus requires authentication
- Cannot fetch data: (Unauthorized) command serverStatus requires authentication.
The variables macros {$MONGODB.PASSWORD} and {$MONGODB.USER} are setting.
I need help
I have configured my MongoDB with authentification mode.
Like as:
db.createUser(
{
user: "zbx-mongo",
pwd: "passwd",
roles: [ { role: "root", db: "admin" } ]
}
)
Now, I have some error with some metrics, like "MongoDB node by Zabbix agent 2: MongoDB: Get server status: MongoDB: Memory: mapped : Memory" or "MongoDB node by Zabbix agent 2: MongoDB: Get server status: MongoDB: Memory: mapped with journal zz0.oyqzj9bgs3pzz : mapped" or "WiredTiger metrics: MongoDB: Get server status: MongoDB: WiredTiger cache: max page size at eviction" with the following errors:
- mongodb.mem.mapped_with_journal" became not supported: Cannot fetch data: (Unauthorized) command serverStatus requires authentication
- Cannot fetch data: (Unauthorized) command serverStatus requires authentication.
The variables macros {$MONGODB.PASSWORD} and {$MONGODB.USER} are setting.
I need help
Comment