Update in instructions documentation for mongodb template

XMLWordPrintable

    • Type: New Feature Request
    • Resolution: Unresolved
    • Priority: Trivial
    • None
    • Affects Version/s: None
    • Component/s: Documentation (D)
    • 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.-

            Assignee:
            Zabbix Development Team
            Reporter:
            Facundo Vilarnovo
            Votes:
            2 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: