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.5

    Download PDF

    OceanBase logo

    The Unified Distributed Database for the AI Era.

    Follow Us
    Products
    OceanBase CloudOceanBase EnterpriseOceanBase Community EditionOceanBase seekdb
    Resources
    DocsBlogLive 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.5
    iconOceanBase Cloud Platform
    V 4.3.5
    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.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

    obagent_dead

    Last Updated:2026-04-16 03:36:04  Updated
    Share
    What is on this page
    Description
    Principle
    Alert rule
    Alert information
    Alert templates
    Impact on the system
    Possible causes
    Solutions

    folded

    Share

    Description

    OCP-Agent is a collection of service programs installed on the host: ocp_monagent collects monitoring data from the hosts and OBServer nodes, ocp_mgragent performs O&M operations on OBServer nodes, and ocp_agentd is the daemon of the two services. If the daemon does not exist, OCP-Agent cannot work properly.

    This alert is triggered when an OCP-Agent process on the host is abnormal.

    Note

    This alert is generated when the daemon does not exist but the monitoring process of OCP-Agent works normally.

    Principle

    Parameter
    Value
    Metric host_agent_process_status
    The value of host_agent_process_status indicates the process status. The value 1 indicates normal and 0 indicates abnormal.
    Source The ocp_mgragent status API http://ip:62888/api/v1/agent/status is called to obtain the status of the ocp_agentd, ocp_monagent, and ocp_mgragent processes.
    Collected metric host_agent_process_status
    Metric expression min(host_agent_process_status{@LABELS}) by (@GBLABELS)
    Collection cycle 30s

    Alert rule

    Metric
    Default threshold
    Duration
    Detection cycle
    Time before clearance
    host_agent_process_status 0 0 seconds 15 seconds 5 minutes

    Alert information

    Trigger method
    Alert level
    Scope
    Based on the expression of the metric Stopped Server

    Alert templates

    • Overview template: ${alarm_target} ${alarm_name}

    • Details Template: Cluster: ${ob_cluster_name}; Host: ${host}; Alert: OCP-Agent process unavailable; Process name: ${agent_process}; Process status: ${process_status}.

    • Overview example: svr_ip=xxx.xxx.xxx.xxx OCP-Agent process unavailable

    • Details example: Cluster: obcluster-1; Host: xxx.xxx.xxx.xxx; Alert: OCP-Agent process unavailable; Process name: ocp_monagent; Process status: unavailable.

    Impact on the system

    1. If the ocp_agentd process does not exist, the processes related to OCP-Agent may stop and cannot automatically start, which causes the following consequences:
    • If the ocp_monagent process is abnormal, monitoring data cannot be collected and alerts cannot be generated. As a result, you cannot identify system risks in a timely manner.

    • If the ocp_monagent process is abnormal, you cannot perform O&M on OBServer nodes.

    Possible causes

    1. The ocp_agentd process may be unexpectedly terminated because the host memory or disk is full.
    2. The program has a bug. When ocp_agentd fails several times to start a process, it stops trying.

    Solutions

    1. Check the usage of the disk or memory.

      Log on to the alerting host and run the following commands:

      # Check whether the usage of the disk under /home/admin is close to 100%. 
      df -B1
      
      # Check whether the available memory space is close to 0. 
      free -g
      
      • If the disk usage is close to 100%, perform the following steps to clear logs or add more disks.

        1. View large sub-directories in the /home/admin/logs directory.

          [root]#  du /home/admin/logs/
          4       /home/admin/logs/obproxy/minidump
          32      /home/admin/logs/obproxy/etc
          1261772 /home/admin/logs/obproxy/log
          1261812 /home/admin/logs/obproxy
          1261816 /home/admin/logs/
          
        2. Enter the log directory and delete obsolete logs.

          [root]# ll /home/admin/logs/obproxy/log
          [root]# cd /home/admin/logs/obproxy/log
          [root]# rm obproxy.67344.log.20210902*
          
        3. Restart the ocp_agentd process.

          [root]# cd /home/admin/ocp_agent
          [root]# python ocp_agent_ctl.py recover
          
      • If the available memory space is close to 0, perform the following steps to release the memory, and restart the process.

        1. Release the memory space.

          [root]# sync
          [root]# echo 1 > /proc/sys/vm/drop_caches
          [root]# echo 0 > /proc/sys/vm/drop_caches
          
        2. Restart the ocp_agentd process.

          [root]# cd /home/admin/ocp_agent
          [root]# python ocp_agent_ctl.py recover
          
      • If the remaining memory and disk space are sufficient, proceed to the next step.

    2. Collect related logs in the ocp_agentd.log, ocp_monagent.error.log, and ocp_mgragent.error.log files in the file/home/admin/ocp_agent/log/ directory and related alert information, and send them to OceanBase Technical Support to locate the issue.

      • The ocp_monagent.error.log file may contain the keyword panic, which may cause the program to crash. You can search for the keyword and provide the logs to OceanBase Technical Support for troubleshooting.

        [root]# tail -1000 /home/admin/ocp_agent/log/ocp_monagent.error.log | grep -10 panic
        

    Previous topic

    partition_create_failed
    Last

    Next topic

    host_disk_readonly
    Next
    What is on this page
    Description
    Principle
    Alert rule
    Alert information
    Alert templates
    Impact on the system
    Possible causes
    Solutions