You can query the current active alerts and historical alerts for a cluster through a conversation, and obtain handling suggestions for specific alert types.
When to use
Quickly understand which unresolved alerts are currently present in a cluster during your shift.
Received a certain type of alert but are unsure about the resolution steps and need troubleshooting guidance.
Need to review historical alerts from a specific period to determine if an issue is recurring.
Prerequisites
The OCP connection for the target cluster's product has been configured, and the alert data comes from OCP.
Procedure
Type
@in the session to select the target cluster.Describe your query request, for example:
What alerts are there in this cluster now?You can also click the shortcut entry Alert Analysis on the Create Conversation page and then provide the cluster information.
Press Enter to send the request and wait for the Agent to complete the query.
The Agent will query the list of active and historical alerts and display them summarized by alert level.
The alert levels in OceanBase, from high to low, are as follows:
Alert LevelDescriptionDown A service-unavailability fault that requires immediate attention. Critical A severe alert that has affected or will soon affect business. Alert A general alert that requires prompt attention. Caution A warning alert; it is recommended to monitor it. Info An informational notification that does not require immediate handling. Further inquire about the handling method for a specific alert, for example:
How should I handle this high CPU usage alert?The Agent provides troubleshooting step suggestions based on the Alert Handling Manual.
What to do next
If the alert indicates a performance issue, you can generate an ASH report to obtain evidence of active sessions. For more information, see ASH diagnostic report.
To regularly receive alert summaries, you can create a scheduled task. For more information, see Create a scheduled task.