Document Database for MongoDB supports managing instance event monitoring information through the Cloud Monitoring event center, including viewing event details, creating and editing event rules, etc., helping you promptly discover, locate, and resolve issues. This topic introduces the events that MongoDB supports monitoring and the operation steps related to event management.
Supported monitoring events
MongoDB allows you to monitor exceptional events (Exception) and expected system maintenance events (Maintenance). The following table describes the events of each type.
Sharding cluster instance
Replica set instance
Viewing event monitoring
You can view events related to MongoDB by using the event center in Vitality Cloud Monitor, including the event occurrence time, event source, event name, and event details.
tip
- To view monitoring event information on the Cloud service event page, set the product name to Document Database for MongoDB - Replica set or Document Database for MongoDB - Sharding cluster.
- On the event list page, you can locate the target time and click Details in the Actions column to view details of the event so that you can locate the reason for event triggering. To further locate the fault, please submit a ticket to contact technical support.
Creating event rules
You can configure alarming rules for events for specified cloud services. When an event that meets the corresponding rule occurs, you will receive alarm notifications at the earliest opportunity, which helps you quickly locate faulty cloud service resources. For specific procedures, refer to Creating event rule. tip
- When configuring Event rule on the Create event rule page, you need to select Resource type as Document Database for MongoDB - Replica set or Document Database for MongoDB - Sharding cluster.
- After the event rule is successfully created, you can manage it in the event rule list of Cloud Monitor, including modifying the event rule, or disabling, enabling, or deleting it. For specific procedures, refer to Managing event rules.
Relevant documents