Docs Menu

Docs HomeMongoDB Manual


On this page

  • Definition
  • Syntax
  • Access Control
  • Output


Free monitoring is deprecated

Free monitoring was deprecated in April 2023 and will be decommissioned in August 2023.

Beginning in April 2023, you can’t enable free monitoring on MongoDB Community instances. Deployments currently using free monitoring can continue to access the free monitoring UI until August 2023.

You can choose another monitoring option for your deployment:


New in version 4.0.

Returns the status of whether free Cloud monitoring is enabled for standalone or replica sets (including shards).

The command has the following syntax:

getFreeMonitoringStatus: 1

mongosh provides the db.getFreeMonitoringStatus() helper for the command.

When running with access control, the user must have the checkFreeMonitoringStatus privilege actions on the cluster. That is, a user must have a role that grants the following privilege:

{ resource: { cluster : true }, actions: [ "checkFreeMonitoringStatus" ] }

The built-in role clusterMonitor role provides this privilege.

The command returns a document with the following fields:

The free monitoring enablement state. Values are either: "enabled" or "disabled".
Any informational message related to your state.

The unique URL at which your monitoring data can be accessed.


Anyone with whom you share the URL can access your monitored data.

Even when disabled, your unique URL is returned so that if you re-enable monitoring, you can access your previous metrics, if collected less than 24 hours ago.

Any informational message related to your state.
ok operationTime $clusterTime
For details on these fields, see Response.


See also:

freeMonitoring field returned from db.serverStatus()

←  Free Monitoring CommandssetFreeMonitoring →
Share Feedback
© 2023 MongoDB, Inc.


  • Careers
  • Investor Relations
  • Legal Notices
  • Privacy Notices
  • Security Information
  • Trust Center
© 2023 MongoDB, Inc.