Les tableaux de bord du centre d'alertes — le Centre global des pipelines d'alertes, le Centre global des règles d'alertes et le Centre global de dépannage des alertes — offrent une visualisation des informations relatives aux alertes.
Informations générales
Lors de la première utilisation de la fonctionnalité d'alerte de Simple Log Service, le système vous invite à sélectionner une région. Il crée ensuite automatiquement un projet nommé sls-alert-<Alibaba Cloud account ID>-<region ID> et un Logstore nommé internal-alert-center-log pour stocker les journaux d'alertes.
Le Logstore internal-alert-center-log est gratuit et inclut un index par défaut.
À partir du Logstore internal-alert-center-log, Simple Log Service génère des tableaux de bord intégrés qui fournissent des statistiques sur les déclenchements d'alertes et les notifications.
Point d'accès
Connectez-vous à la console Simple Log Service.
Dans la section Projets, cliquez sur un projet.
Dans le volet de navigation de gauche, cliquez sur Alerts.
Sur la page Alert Center, cliquez sur l'onglet .
Centre global des pipelines d'alertes
Le tableau de bord Global Alert Pipeline Center affiche l'historique des alertes déclenchées au cours d'une période donnée pour votre compte Alibaba Cloud. Ces informations historiques détaillent le processus de déclenchement des alertes, leur débruitage et l'envoi des notifications. Le tableau de bord présente également toutes les données historiques, notamment le nombre de règles d'alerte activées, le nombre d'alertes par niveau de gravité, le nombre d'alertes fusionnées, le nombre d'alertes dédupliquées, le nombre d'alertes mises en sourdine, ainsi que le nombre total de notifications envoyées et leur répartition par méthode.
En haut du tableau de bord, vous pouvez filtrer les résultats par Business, region, Project, severity et rule name. Les canaux pris en charge incluent voice call, email, Webhook, SMS, DingTalk et Notification Center.
Centre global des règles d'alertes
Le tableau de bord Global Alert Rule Center affiche toutes les règles d'alerte configurées au cours d'une période donnée pour votre compte Alibaba Cloud. Il indique également le nombre de règles activées, la répartition des règles selon leur statut et les détails de chaque règle.
En haut de ce tableau de bord, vous pouvez appliquer des filtres par Business, region, Project et rule name. La section d'aperçu affiche le nombre actuel d'évaluations et leur tendance sur 24 heures. Un diagramme à barres horizontales illustre la répartition des statuts : Not Triggered, Error et Triggered. La zone principale contient le tableau Latest Evaluation Status of Alert Rules (avec des colonnes pour l'heure, le nom de la règle, le statut, les détails et les actions) ainsi que le tableau Latest Status of Alerts in Each Merged Collection (avec des colonnes pour l'étape, la collection fusionnée, la gravité et les tags d'alerte). Vous pouvez affiner les résultats en filtrant par gravité et par étape du pipeline.
Centre global de dépannage des alertes
Le tableau de bord Global Alert Troubleshooting Center affiche les informations relatives aux erreurs de configuration des alertes survenues au cours d'une période donnée pour votre compte Alibaba Cloud. Ces informations comprennent le nombre et les détails des erreurs de configuration globales, le nombre et les détails des erreurs de configuration pour chaque méthode de notification, ainsi que le nombre et les détails des erreurs de configuration des règles d'alerte.
En haut du tableau de bord, vous pouvez filtrer par Business, region, Project et rule name. Chaque section utilise des cartes statistiques pour afficher le nombre total d'erreurs et leurs tendances par rapport à la période précédente. La section des échecs de configuration globale inclut un diagramme à barres pour la répartition des niveaux d'échec et un diagramme circulaire pour la répartition des types d'échec. La section des erreurs de canal de notification affiche les statistiques d'échec pour des canaux tels que Webhook et DingTalk.
Vous pouvez retrouver les journaux liés aux erreurs de configuration dans le Logstore internal-alert-center-log en exécutant la requête __topic__: system_config. Le tableau suivant répertorie les erreurs courantes.
Level | Type | Details | Description | Solution |
error | AlertPolicyNotConfigured | Alert xxx has no alert policy configured | No alert policy is configured for the alert rule and alerts cannot be merged based on routes. Therefore, Simple Log Service ignores the related alerts. | Modify the alert rule and configure a valid alert policy. |
AlertPolicyNotExist | alert policy xxx does not exist | The alert policy that is associated with the alert rule does not exist. Therefore, Simple Log Service ignores the related alerts. | Create an alert policy with the same name or specify another alert policy. | |
AlertPolicyInvalid | alert policy xxx format is error | The format of the alert policy is invalid and related alerts cannot be parsed. Therefore, Simple Log Service ignores the related alerts. | Modify the alert policy, or delete the alert policy and create an alert policy with the same name. | |
GroupPolicyEmpty | Group policy of alert policy xxx is empty | The route consolidation policy of the alert policy is not configured. Therefore, Simple Log Service ignores the related alerts. | Configure the route consolidation policy of the alert policy and make sure that the route consolidation policy is not empty. | |
ActionPolicyNotExist | action policy xxx does not exist | The action policy does not exist. Therefore, Simple Log Service does not send alert notifications for the alerts that use the action policy. | Create an action policy or specify another action policy. | |
ActionPolicyInvalid | action policy xxx is invalid | The format of the action policy is invalid. Therefore, Simple Log Service does not send alert notifications for the alerts that use the action policy. | Modify the action policy, or delete the action policy and create an action policy with the same name. | |
ActionPolicyEmpty | Primary(Secondary) policy for action policy xxx is empty | The primary and secondary action policies of the action policy are empty. Therefore, Simple Log Service does not send alert notifications for the alerts that use the action policy. | Modify the action policy and make sure that the primary and secondary action policies are not empty. | |
warn | AlertPolicyInheritanceLoop | alert policy xxx has inheritance loop with yyy | An inheritance loop exists. For example, Alert Policy A inherits Alert Policy B and Alert Policy B inherits Alert Policy A.
The inheritance loop is not parsed. | Modify the alert policy to prevent inheritance loops. |
UserNotExist | user xxx does not exist | The specified user does not exist. Therefore, Simple Log Service does not send alert notifications to the user. | Create a user or configure the action policy to specify another user. | |
UserGroupNotExist | group xxx does not exist | The specified user group does not exist. Therefore, Simple Log Service does not send alert notifications to the user group. | Create a user group or configure the action policy to specify another user group. | |
UserGroupEmpty | group xxx is empty | The specified user group does not contain users. Therefore, Simple Log Service does not send alert notifications to the user group. | Add users to the user group. | |
OncallGroupNotExist | oncall group xxx does not exist | The specified on-duty group does not exist. Therefore, Simple Log Service does not send alert notifications to the on-duty group. | Create an on-duty group or configure the action policy to specify another on-duty group. | |
ContentTemplateNotExist | content template xxx does not exist | The specified alert template does not exist. Therefore, Simple Log Service ignores the notification methods that use the alert template. | Create an alert template or configure the action policy to specify another alert template. | |
CalendarNotExist | calendar xxx does not exist | The specified calendar does not exist. Therefore, Simple Log Service ignores the on-duty group that uses the calendar. | Create a calendar or configure the on-duty group to specify another calendar. | |
ChannelQuotaNotExist | channel quota does not exist | The quota for the specified notification method does not exist. Therefore, the number of alert notifications that can be sent by using the notification method is unlimited. | Configure a quota for the specified notification method. | |
ChannelQuotaInvalid | channel quota format is invalid | The quota for the specified notification method is left empty. Therefore, the number of alert notifications that can be sent by using the notification method is unlimited. | Change the quota for the notification method and make sure that the quota is not empty. |