Uploaded image for project: 'ZABBIX FEATURE REQUESTS'
  1. ZABBIX FEATURE REQUESTS
  2. ZBXNEXT-8647

Update in instructions documentation for mongodb template

XMLWordPrintable

    • Icon: New Feature Request New Feature Request
    • Resolution: Unresolved
    • Icon: Trivial Trivial
    • None
    • None
    • 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.-

            zabbix.dev Zabbix Development Team
            fvilarnovo Facundo Vilarnovo
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: