oceanbase

Форк
0
63 строки · 4.1 Кб
1
obagent:
2
  # The list of servers to be monitored. This list is consistent with the servers in oceanbase-ce.
3
  servers:
4
    - @OB_SERVER_IP@
5
  # Set dependent components for the component.
6
  # When the associated configurations are not done, OBD will automatically get the these configurations from the dependent components.
7
  depends:
8
    - oceanbase-ce
9
  global:
10
    # The working directory for obagent. obagent is started under this directory. This is a required field.
11
    home_path: /root/obagent
12
    # The port that pulls and manages the metrics. The default port number is 8088.
13
    monagent_http_port: 8088
14
    # Debug port for pprof. The default port number is 8089.
15
    mgragent_http_port: 8089
16
    # Log level. The default value is INFO.
17
    log_level: INFO
18
    # Log path. The default value is log/monagent.log.
19
    log_path: log/monagent.log
20
    # Encryption method. OBD supports aes and plain. The default value is plain.
21
    crypto_method: plain
22
    # Path to store the crypto key. The default value is conf/.config_secret.key.
23
    # crypto_path: conf/.config_secret.key
24
    # Size for a single log file. Log size is measured in Megabytes. The default value is 30M.
25
    log_size: 30
26
    # Expiration time for logs. The default value is 7 days.
27
    log_expire_day: 7
28
    # The maximum number for log files. The default value is 10.
29
    log_file_count: 10
30
    # Whether to use local time for log files. The default value is true.
31
    # log_use_localtime: true
32
    # Whether to enable log compression. The default value is true.
33
    # log_compress: true
34
    # Username for HTTP authentication. The default value is admin.
35
    http_basic_auth_user: admin
36
    # Password for HTTP authentication. The default value is root.
37
    http_basic_auth_password: root
38
    # Username for debug service. The default value is admin.
39
    pprof_basic_auth_user: admin
40
    # Password for debug service. The default value is root.
41
    pprof_basic_auth_password: root
42
    # Monitor username for OceanBase Database. The user must have read access to OceanBase Database as a system tenant. The default value is root.
43
    # monitor_user: root
44
    # Monitor password for OceanBase Database. The default value is empty. When a depends exists, OBD gets this value from the oceanbase-ce of the depends. The value is the same as the root_password in oceanbase-ce.
45
    # monitor_password:
46
    # The SQL port for observer. The default value is 2881. When a depends exists, OBD gets this value from the oceanbase-ce of the depends. The value is the same as the mysql_port in oceanbase-ce.
47
    # sql_port: 2881
48
    # The RPC port for observer. The default value is 2882. When a depends exists, OBD gets this value from the oceanbase-ce of the depends. The value is the same as the rpc_port in oceanbase-ce.
49
    # rpc_port: 2882
50
    # Cluster name for OceanBase Database. When a depends exists, OBD gets this value from the oceanbase-ce of the depends. The value is the same as the appname in oceanbase-ce.
51
    cluster_name: @OB_CLUSTER_NAME@
52
    # Cluster ID for OceanBase Database. When a depends exists, OBD gets this value from the oceanbase-ce of the depends. The value is the same as the cluster_id in oceanbase-ce.
53
    # cluster_id: 1
54
    # Zone name for your observer. The default value is zone1. When a depends exists, OBD gets this value from the oceanbase-ce of the depends. The value is the same as the zone name in oceanbase-ce.
55
    # zone_name: zone1
56
    # Monitor status for OceanBase Database.  Active is to enable. Inactive is to disable. The default value is active. When you deploy an cluster automatically, OBD decides whether to enable this parameter based on depends.
57
    ob_monitor_status: active
58
    # Monitor status for your host. Active is to enable. Inactive is to disable. The default value is active.
59
    host_monitor_status: active
60
    # Whether to disable the basic authentication for HTTP service. True is to disable. False is to enable. The default value is false.
61
    disable_http_basic_auth: true
62
    # Whether to disable the basic authentication for the debug interface. True is to disable. False is to enable. The default value is false.
63
    disable_pprof_basic_auth: true
64

Использование cookies

Мы используем файлы cookie в соответствии с Политикой конфиденциальности и Политикой использования cookies.

Нажимая кнопку «Принимаю», Вы даете АО «СберТех» согласие на обработку Ваших персональных данных в целях совершенствования нашего веб-сайта и Сервиса GitVerse, а также повышения удобства их использования.

Запретить использование cookies Вы можете самостоятельно в настройках Вашего браузера.