- 
    
New Feature Request
 - 
    Resolution: Unresolved
 - 
    
Trivial
 - 
    None
 - 
    None
 - 
    None
 
For a MongoDB server that is in a cluster versus a single node, different user permissions needs to be added to view metrics.
If the user permissions for the single node are created on a cluster, then it will get Unauthorized errors.
Please consider adding this to the template instructions:
For cluster:
db.createUser(
{user: “zbx_monitor”,pwd: “************”,
roles: [{ "role": "clusterMonitor", "db": "admin" },{ "role": "readAnyDatabase", "db": "admin" }],
}
) 
For single node:
db.createUser(
{user: “zbx_monitor”,pwd: “************”,
roles: [{ "role": "readAnyDatabase", "db": "admin" }],
}
) 
Regards.-