OceanBase
English日本語简体中文
ドキュメントホーム
製品
エコシステム
リリース

データベース

OceanBase CloudOceanBaseデータベース

データベース

OceanBase CloudOceanBaseデータベース
OceanBase CloudOceanBaseデータベース

OceanBaseデータベース

  • エコシステム統合の概要
  • ORMフレームワーク
    • Java
      • SpringBootサンプルプログラム
      • SpringBatchサンプルプログラム
      • Spring JDBCサンプルプログラム
      • SpringDataJPAサンプルプログラム
      • Hibernateサンプルプログラム
      • MyBatisサンプルプログラム
    • Python
      • SQLAlchemyによるOceanBaseデータベース接続サンプルプログラム
      • peeweeによるOceanBaseデータベース接続サンプルプログラム
      • Tortoise ORM による OceanBase データベース接続サンプルプログラム
    • Go
      • GORMサンプルプログラム
    • Rust
      • SeaORM による OceanBase データベース接続サンプルプログラム
    • Ruby
      • ActiveRecordによるOceanBaseデータベース接続サンプルプログラム
      • Sequel で OceanBase データベースに接続するサンプルプログラム
      • Ruby on RailsによるOceanBaseデータベース接続サンプルプログラム
    • Node.js
      • SequelizeでOceanBaseデータベースに接続する
      • TypeORMを使用してOceanBaseデータベースに接続する
      • Prismaを使用してOceanBaseデータベースに接続する
      • Drizzle ORMを使用してOceanBaseデータベースに接続する
    • C#
      • Dapperを使用してOceanBaseデータベースに接続する
      • SqlSugarを使用してOceanBaseデータベースに接続する
      • FreeSQLを使用してOceanBaseデータベースに接続する
    • PHP
      • Yii 2.0 ORMサンプルプログラム
      • Laravel Eloquent ORMサンプルプログラム
  • データベースのバージョン管理
    • Liquibaseを使用したOceanBaseデータベースのバージョンの管理
    • Flywayを使用してOceanBaseデータベースを統合し、バージョン管理を実現する
  • データ統合
    • dbtを使用したOceanBaseデータの分析
    • Flink DirectLoadを使用したOceanBaseのダイレクトインポート
    • SeaTunnelを使用したOceanBaseデータの読み取りと同期
    • Maxwellを使用したOceanBaseデータの読み取り
    • Debeziumを使用してOceanBaseに接続し、データを取得する
    • Spark Catalogを使用してOceanBaseデータベースに接続する
    • Apache NiFiを使用してOceanBaseデータベースと統合する
  • SQL開発
    • WebLogicを使用してOceanBaseデータベースに接続する
    • DBeaverを使用してOceanBaseデータベースに接続する
    • Navicatを使用してOceanBaseデータベースに接続する
    • DataGripでOceanBaseデータベースに接続する
    • TablePlusでOceanBaseデータベースに接続する
    • DMSを使用したOceanBaseデータベースの管理
  • 編成とスケジューリング
    • AirflowとOceanBaseデータベースの連携
    • PowerJobとOceanBaseデータベースの連携
    • DolphinSchedulerにOceanBaseデータソースを設定する
    • LinkisとOceanBaseデータベースの統合
  • 可視化ツール
    • SupersetとOceanBaseを使用したデータ分析
    • Power BIでOceanBaseに接続してデータを取得する
    • Quick BIでOceanBaseに接続してデータを取得する
    • Bytebaseを使用したOceanBaseインスタンスの管理
  • データベース管理
    • NineDataを使用したOceanBaseデータソースの管理
    • Bytebaseを使用したOceanBaseインスタンスの管理
  • AI
    • OpenAI
    • Qwen
    • OceanBaseデータベースとLangChainの統合
    • OceanBaseデータベースのベクトル検索機能とLlamaIndexの連携
    • OceanBaseデータベースのベクトル検索機能とDifyの連携
    • OceanBaseデータベースとn8nの連携
    • OceanBase MCP ServerとTraeの連携
    • OceanBaseデータベースとSpring AI Alibabaの連携
    • OceanBase MCP ServerとClineの連携
    • OceanBase MCP ServerとCursorの連携
    • OceanBase MCP ServerとContinueの連携
    • Google GenAI Toolboxを使用して独自のOceanBase MCP Serverを構築する
    • OceanBaseデータベースとCamelAIの連携
    • OceanBase VectorとFirecrawlの連携
    • OceanBase VectorとHugging Faceの連携
    • OceanBase VectorとOllamaの連携
    • OceanBaseデータベースとGoogle Geminiの連携
    • OceanBase VectorとCloudflare Workers AIの連携
    • OceanBase VectorとJina AIの連携
    • OceanBase MCP ServerとAugment Codeの連携
    • OceanBase MCP ServerとClaude Codeの連携
    • OceanBase MCP ServerとKiroの連携

PDF をダウンロード

このページには現在中国語/日本語版がなく、英語版を表示しています。
ドキュメントフィードバック
  1. ドキュメントセンター
  2. OceanBaseデータベース
  3. master

Deploy Zabbix with OceanBase Database as the meta database

最終更新:2026-09-04 07:40:45

Overview
Version compatibility
Prerequisites
Procedure
Step 1: Obtain the database connection string
Step 2: Install and configure Zabbix
Step 3: Access the Zabbix web interface to complete the installation
Step 4: Log in to and use Zabbix
Frequently Asked Questions
Q1: Cannot start Zabbix server due to an unsupported MySQL database version (5.06.25)
Q2: Timeout during initialization of the zabbix SQL script
References

Overview

Zabbix is an enterprise-level open-source solution that provides a web-based interface for monitoring distributed systems and networks. It monitors various network parameters to ensure the secure operation of server systems and offers flexible notification mechanisms to help system administrators quickly identify and resolve issues.

This topic describes how to deploy the Zabbix monitoring system using OceanBase Database as the meta database.

Version compatibility

  • OceanBase Database version: ≥ V4.2.1
  • Zabbix version: ≥ 7.x

Prerequisites

Before you use Zabbix to monitor OceanBase Database, make sure that:

You have deployed OceanBase Database and created a MySQL mode user tenant.

Procedure

Step 1: Obtain the database connection string

Contact the OceanBase Database deployment personnel to obtain the connection string. Example:

obclient -h$host -P$port -u$user_name -p$password -D$database_name

Parameter description:

  • $host: the IP address for connection. For ODP connection, use the ODP address. For direct connection, use the OBServer IP.
  • $port: the port for connection. For ODP connection, the default value is 2883. For direct connection, the default value is 2881.
  • $database_name: the name of the database.

    Notice

    The user used to connect to the tenant must have the CREATE, INSERT, DROP, and SELECT privileges on the database.

  • $user_name: the account for connection. For ODP connection, the format is user@tenant#cluster or cluster:tenant:user. For direct connection, the format is user@tenant.
  • $password: the password of the account.Example:
obclient -hxxx.xxx.xxx.xxx -P2883 -utest_user001@mysql001 -p****** -Dtest

Step 2: Install and configure Zabbix

This topic uses Ubuntu 22.04 as an example to install Zabbix 7.4.

1. Add the Zabbix official repository

wget https://repo.zabbix.com/zabbix/7.4/release/ubuntu/pool/main/z/zabbix-release/zabbix-release_latest_7.4+ubuntu22.04_all.deb
dpkg -i zabbix-release_latest_7.4+ubuntu22.04_all.deb
apt update

2. Install Zabbix server, web frontend, and agent

apt install zabbix-server-mysql zabbix-frontend-php zabbix-apache-conf zabbix-sql-scripts zabbix-agent

3. Create a database user and grant privileges

-- Connect to OceanBase Database
-- mysql -h$host -P2883 -utest_user001@mysql001 -p****** -Dtest

mysql> create database zabbix character set utf8mb4 collate utf8mb4_bin;
mysql> create user zabbix@'%' identified by '$zabbix_password';
mysql> grant all privileges on zabbix.* to zabbix@'%';
mysql> quit;

4. Initialize the Zabbix SQL script in OceanBase Database

zcat /usr/share/zabbix/sql-scripts/mysql/server.sql.gz | mysql -h$host -P$odp_port -uzabbix@mysql001 -p$zabbix_password -D zabbix --default-character-set=utf8mb4

5. Configure the database for Zabbix server

Edit the configuration file /etc/zabbix/zabbix_server.conf:

# DBHost=
DBHost=$host
# DBPassword=
DBPassword=$zabbix_password
# DBPort=
DBPort=$odp_port

DBHost specifies the IP address in the OceanBase connection string. Example: 10.10.10.1. DBPort specifies the ODP port of OceanBase. Example: 2883. DBPassword specifies the password of the zabbix database user.

6. Start the Zabbix server and agent processes

Start the Zabbix server and agent processes, and set them to start automatically when the system boots:

systemctl restart zabbix-server zabbix-agent apache2
systemctl enable zabbix-server zabbix-agent apache2

# Verify whether the Zabbix server is started
systemctl status zabbix-server.service

Step 3: Access the Zabbix web interface to complete the installation

Open the Zabbix service address in a browser: http://localhost/zabbix

  1. On the Configure DB connection page, configure the database connection:
    • Database type: MySQL
    • Database host: the IP address of the OceanBase Database
    • Database port: the ODP port of the OceanBase Database
    • Database name: the name of the OceanBase Database
    • User: the username of the OceanBase Database
    • Password: the password of the OceanBase Database
  2. Click Next step and then Finish to complete the installation.

Step 4: Log in to and use Zabbix

  1. After the installation is complete, log in to Zabbix by using the default credentials:
    • Username: Admin
    • Password: zabbix
  2. After the login is successful, click Monitoring/Hosts to view the metrics of the host where the Zabbix server is located.

Frequently Asked Questions

Q1: Cannot start Zabbix server due to an unsupported MySQL database version (5.06.25)

Cause: Zabbix requires a specific version of MySQL compatibility.

Solution: Modify the ODP parameters, log in to the sys tenant, and modify the mysql_version parameter:

obclient --default-character-set=utf8mb4 -u$user_name -p$password -h$host -P$port

alter proxyconfig set mysql_version='8.0.30';

Q2: Timeout during initialization of the zabbix SQL script

Cause: The SQL script execution time is too long, exceeding the default timeout setting.

Solution: Increase the Global ob_query_timeout or query_timeout:

obclient -h$host -P$port -uroot@mysql001 -p$password -e 'set global ob_query_timeout=1000000000;'

References

  • Zabbix official documentation
  • Zabbix download address
  • OceanBase Documentation Center

次のトピック

エコシステム統合の概要
次へ
このページの内容
Overview
Version compatibility
Prerequisites
Procedure
Step 1: Obtain the database connection string
Step 2: Install and configure Zabbix
Step 3: Access the Zabbix web interface to complete the installation
Step 4: Log in to and use Zabbix
Frequently Asked Questions
Q1: Cannot start Zabbix server due to an unsupported MySQL database version (5.06.25)
Q2: Timeout during initialization of the zabbix SQL script
References