OceanBase logo

OceanBase

A unified distributed database ready for your transactional, analytical, and AI workloads.

Product Overview
DEPLOY YOUR WAY

OceanBase Cloud

The best way to deploy and scale OceanBase

OceanBase Enterprise

Run and manage OceanBase on your infra

TRY OPEN SOURCE

OceanBase Community Edition

The free, open-source distributed database

OceanBase seekdb

Open source AI native search database

Customer Stories

Real-world success stories from enterprises across diverse industries.

View All
BY USE CASES

Mission-Critical Transactions

Global & Multicloud Application

Elastic Scaling for Peak Traffic

Real-time Analytics

Active Geo-redundancy

Database Consolidation

Resources

Comprehensive knowledge hub for OceanBase.

Blog

Live Demos

Training & Certification

Documentation

Official technical guides, tutorials, API references, and manuals for all OceanBase products.

View All
PRODUCTS

OceanBase Cloud

OceanBase Database

Tools

Connectors and Middleware

QUICK START

OceanBase Cloud

OceanBase Database

BEST PRACTICES

Practical guides for utilizing OceanBase more effectively and conveniently

Company

Learn more about OceanBase – our company, partnerships, and trust and security initiatives.

About OceanBase

Partner

Trust Center

Contact Us

International - English
中国站 - 简体中文
日本 - 日本語
Sign In
Start on Cloud

OceanBase

A unified distributed database ready for your transactional, analytical, and AI workloads.

Product Overview
DEPLOY YOUR WAY

OceanBase Cloud

The best way to deploy and scale OceanBase

OceanBase Enterprise

Run and manage OceanBase on your infra

TRY OPEN SOURCE

OceanBase Community Edition

The free, open-source distributed database

OceanBase seekdb

Open source AI native search database

Customer Stories

Real-world success stories from enterprises across diverse industries.

View All
BY USE CASES

Mission-Critical Transactions

Global & Multicloud Application

Elastic Scaling for Peak Traffic

Real-time Analytics

Active Geo-redundancy

Database Consolidation

Comprehensive knowledge hub for OceanBase.

Blog

Live Demos

Training & Certification

Documentation

Official technical guides, tutorials, API references, and manuals for all OceanBase products.

View All
PRODUCTS
OceanBase CloudOceanBase Database
ToolsConnectors and Middleware
QUICK START
OceanBase CloudOceanBase Database
BEST PRACTICES

Practical guides for utilizing OceanBase more effectively and conveniently

Learn more about OceanBase – our company, partnerships, and trust and security initiatives.

About OceanBase

Partner

Trust Center

Contact Us

Start on Cloud
编组
All Products
    • Databases
    • iconOceanBase Database
    • iconOceanBase Cloud
    • iconOceanBase Tugraph
    • iconInteractive Tutorials
    • iconOceanBase Best Practices
    • Tools
    • iconOceanBase Cloud Platform
    • iconOceanBase Migration Service
    • iconOceanBase Developer Center
    • iconOceanBase Migration Assessment
    • iconOceanBase Admin Tool
    • iconOceanBase Loader and Dumper
    • iconOceanBase Deployer
    • iconKubernetes operator for OceanBase
    • iconOceanBase Diagnostic Tool
    • iconOceanBase Binlog Service
    • Connectors and Middleware
    • iconOceanBase Database Proxy
    • iconEmbedded SQL in C for OceanBase
    • iconOceanBase Call Interface
    • iconOceanBase Connector/C
    • iconOceanBase Connector/J
    • iconOceanBase Connector/ODBC
    • iconOceanBase Connector/NET
icon

OceanBase Cloud Platform

V4.3.2

    Download PDF

    OceanBase logo

    The Unified Distributed Database for the AI Era.

    Follow Us
    Products
    OceanBase CloudOceanBase EnterpriseOceanBase Community EditionOceanBase seekdb
    Resources
    DocsBlogWhite PaperLive DemosTraining & CertificationTicket
    Company
    About OceanBaseTrust CenterLegalPartnerContact Us
    Follow Us

    © OceanBase 2026. All rights reserved

    Cloud Service AgreementPrivacy PolicySecurity
    Contact Us
    Document Feedback
    1. Documentation Center
    2. OceanBase Cloud Platform
    3. V4.3.2
    iconOceanBase Cloud Platform
    V 4.3.2
    Databases
    • OceanBase Database
    • OceanBase Cloud
    • OceanBase Tugraph
    • Interactive Tutorials
    • OceanBase Best Practices
    Tools
    • OceanBase Cloud Platform
    • OceanBase Migration Service
    • OceanBase Developer Center
    • OceanBase Migration Assessment
    • OceanBase Admin Tool
    • OceanBase Loader and Dumper
    • OceanBase Deployer
    • Kubernetes operator for OceanBase
    • OceanBase Diagnostic Tool
    • OceanBase Binlog Service
    Connectors and Middleware
    • OceanBase Database Proxy
    • Embedded SQL in C for OceanBase
    • OceanBase Call Interface
    • OceanBase Connector/C
    • OceanBase Connector/J
    • OceanBase Connector/ODBC
    • OceanBase Connector/NET
    • V 4.4.2
    • V 4.3.6
    • V 4.3.5
    • V 4.3.4
    • V 4.3.3
    • V 4.3.2
    • V 4.3.1
    • V 4.3.0
    • V 4.2.2
    • V 4.0.0 and earlier

    Query alert events

    Last Updated:2026-04-20 07:26:00  Updated
    Share
    What is on this page
    Description
    Call description
    Examples

    folded

    Share

    Description

    You can call this operation to query the details of a specific alert event.

    Call description

    Prerequisite

    You have the alert read permissions.

    Request path

    GET /api/v2/alarm/alarms/{id}

    Request parameters

    Parameter
    Type
    Example
    Description
    id Integer 1023 The ID of the alert event.

    Response parameters

    • Basic data structure

      Parameter
      Type
      Description
      data Object The request data.
      ├─ contents Object The alert event. The subsequent table describes its data structure.
      successful Boolean Indicates whether the request was successful.
      timestamp Datetime The timestamp when the server completed the request.
      duration Integer The time taken by the server to process the request, in milliseconds.
      status Integer An HTTP status code.
      traceId String The trace ID of the request. This trace ID is used for troubleshooting.
      server String The address of the application server that responded to the request.
    • Data structure of an alert event

      Parameter
      Type
      Description
      id Integer The ID of the alert event.
      appType String The application type. Valid values: * OB * OCP * OMS * OBProxy * Backup
      alarmType String The alert type.
      scope String The alert scope. Valid values: * ObCluster * ObTenant * AppCluster * Service * Host
      level Integer The alert level. Valid values: 1, 2, 3, 4, 5, corresponding to Stopped, Critical, Warning, Caution, and Reminder.
      status String The alert status. Valid values: * Active * Inactive * Silenced * Inhibited
      target String The target object of the alert event. This parameter is generated based on the target template of the alert rule.
      summary String The overview of the alert event. This parameter is generated based on the overview template of the alert rule.
      description String The details of the alert event. This parameter is generated based on the details template of the alert rule.
      activeAt Datetime The time when the alert event was generated.
      resolvedAt Datetime The time when the alert event was cleared.
      updatedAt Datetime The time when the alert event was updated.
      labels Object The label and value of the alert event.

    Examples

    Sample request

    View the details of alert event ID 1000159.

    GET /api/v2/alarm/alarms/100159
    

    Sample response

    {
        "data": {
            "activeAt": "2020-12-03T00:52:03Z",
            "alarmType": "no_enough_exporter",
            "appType": "OCP",
            "description": "service=OCP:svr_ip=xxx.xxx.xxx.xxx. The number of exporter processes is insufficient. The deployed services OB_CLUSTER and OB_PROXY require 6 exporter processes, but the actual number of exporter processes is only 5.",
            "gmtCreate": "2020-12-03T00:52:03Z",
            "gmtModified": "2020-12-03T01:10:12.300278Z",
            "id": 1000159,
            "labels": {
                "alarm_name": "Insufficient exporter processes",
                "app_type": "OCP",
                "svr_ip": "xxx.xxx.xxx.xxx",
                "alarm_description_3": "service=OCP:svr_ip=xxx.xxx.xxx.xxx. The number of exporter processes is insufficient.",
                "host_services": "OB_CLUSTER,OB_PROXY",
                "alarm_level": "Stopped",
                "alarm_description_1": "service=OCP:svr_ip=xxx.xxx.xxx.xxx. The number of exporter processes is insufficient. The deployed services OB_CLUSTER and OB_PROXY require 6 exporter processes, but the actual number of exporter processes is only 5.",
                "alarm_name_3": "Insufficient exporter processes",
                "alarm_description_2": "service=OCP:svr_ip=xxx.xxx.xxx.xxx exporter number not enough, deployed services OB_CLUSTER,OB_PROXY,  expected exporter count 6, actual exporter count 5",
                "alarm_name_2": "exporter number not enough",
                "expected_exporter_count": "6",
                "alarm_name_1": "Insufficient exporter processes",
                "alarm_type": "no_enough_exporter",
                "alarm_summary": "service=OCP:svr_ip=xxx.xxx.xxx.xxx. The number of exporter processes is insufficient.",
                "alarm_status": "Inactive",
                "alarm_scope": "Host",
                "alarm_active_at": "2020-12-03T00:52:03Z",
                "alarm_target": "service=OCP:svr_ip=xxx.xxx.xxx.xxx",
                "alarm_resolved_at": "2020-12-03T01:10:12Z",
                "app": "OCP",
                "actual_exporter_count": "5",
                "alarm_is_build_in_rule": "true",
                "host_ip": "xxx.xxx.xxx.xxx",
                "alarm_duration": "0",
                "service": "OCP",
                "alarm_description": "service=OCP:svr_ip=xxx.xxx.xxx.xxx. The number of exporter processes is insufficient. The deployed services OB_CLUSTER and OB_PROXY require 6 exporter processes, but the actual number of exporter processes is only 5.",
                "alarm_updated_at": "2020-12-03T01:05:03Z",
                "alarm_summary_2": "service=OCP:svr_ip=xxx.xxx.xxx.xxx exporter number not enough",
                "alarm_summary_1": "service=OCP:svr_ip=xxx.xxx.xxx.xxx. The number of exporter processes is insufficient.",
                "alarm_summary_3": "service=OCP:svr_ip=xxx.xxx.xxx.xxx. The number of exporter processes is insufficient.",
                "alarm_evaluation_interval": "60"
            },
            "level": 1,
            "resolvedAt": "2020-12-03T01:10:12Z",
            "scope": "Host",
            "status": "Inactive",
            "summary": "service=OCP:svr_ip=xxx.xxx.xxx.xxx. The number of exporter processes is insufficient.",
            "target": "service=OCP:svr_ip=xxx.xxx.xxx.xxx",
            "updatedAt": "2020-12-03T01:05:03Z"
        },
        "duration": 8,
        "server": "a83ad33525",
        "status": 200,
        "successful": true,
        "timestamp": "2020-12-03T09:48:54.98+08:00",
        "traceId": "2ad80c3bac1b4ad7"
    }
    

    Previous topic

    Query the alert event list
    Last

    Next topic

    Query alert notifications
    Next
    What is on this page
    Description
    Call description
    Examples