MongoDB Monitor
The MongoDB monitor in updu provides direct checking against MongoDB endpoints or Clusters. Connecting
natively to the requested document database layer and issuing a ping command on the admin
schema.
Configuration Options
When setting up a Mongo monitor, you can configure the following options:
Basic Settings
- Name: A descriptive name for your monitor.
- Group: Optional group assignment for organizing monitors.
- Interval (seconds): How frequently updu should perform the check.
- Timeout (seconds): The maximum time updu will wait for a response reading before considering the check failed.
MongoDB Specific Settings
- Connection URI Structure: The full connection URL to a cluster or server exposing
the mongod instance. An example standard prefix defines
mongodb://username:password@localhost:27017, while clustered setups rely on a slightly different structure e.gmongodb+srv://admin:[email protected]/. Updu will extract parameters necessary to verify the database and authenticate automatically utilizing these URL patterns.
Example Use Cases
- Mongo Deployments: Ensuring your MongoDB replica set is online and the primary is available to accept data operations.