# obdiag **Repository Path**: derek2468/obdiag ## Basic Information - **Project Name**: obdiag - **Description**: No description available - **Primary Language**: Python - **License**: MulanPSL-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2025-08-15 - **Last Updated**: 2025-08-15 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README

license license pyversions stars forks Chinese doc Ask DeepWiki

# OceanBase Diagnostic Tool (obdiag) ## 简介 OceanBase Diagnostic Tool (obdiag) 是一款专门为OceanBase打造的敏捷诊断工具,功能包括诊断信息收集、分析、巡检,可以在OceanBase集群不同的部署模式下(OCP,OBD或用户根据文档手工部署)实现一键执行。 ## 项目价值 & 愿景 ![项目价值](./images/obdiag_cn.png) # 安装 obdiag 可通过如下方式安装obdiag ## 方式一: 通过rpm包安装 ```shell script sudo yum install -y yum-utils sudo yum-config-manager --add-repo https://mirrors.aliyun.com/oceanbase/OceanBase.repo sudo yum install -y oceanbase-diagnostic-tool sh /opt/oceanbase-diagnostic-tool/init.sh ``` ## 方式二:源码安装 源码安装需要在python >= 3.11的环境下进行 ```shell ./dev_helper.sh init source ~/.bashrc ``` # obdiag config 配置文件的默认路径是`~/.obdiag/config.yml` . 可直接编辑配置文件或者通过`obdiag config