obagent: depends: - oceanbase-ce # The list of servers to be monitored. This list is consistent with the servers in oceanbase-ce. servers: - name: server1 # Please don't use hostname, only IP is supported. ip: 172.19.33.2 - name: server2 ip: 172.19.33.3 - name: server3 ip: 172.19.33.4 # Set dependent components for the component. # When the associated configurations are not done, OBD will automatically get the these configurations from the dependent components. depends: - oceanbase-ce global: # The working directory for obagent. obagent is started under this directory. This is a required field. home_path: /root/observer skip_proxy_sys_private_check: true
obd cluster display obtest Get local repositories and plugins ok Open ssh connection ok Cluster status check ok Connect to observer ok Wait for observer init ok +-------------------------------------------------+ | observer | +---------------+---------+------+-------+--------+ | ip | version | port | zone | status | +---------------+---------+------+-------+--------+ | 172.30.62.210 | 3.1.1 | 2881 | zone1 | active | | 172.30.62.211 | 3.1.1 | 2881 | zone2 | active | | 172.30.62.212 | 3.1.1 | 2881 | zone3 | active | +---------------+---------+------+-------+--------+
Connect to obproxy ok +-------------------------------------------------+ | obproxy | +---------------+------+-----------------+--------+ | ip | port | prometheus_port | status | +---------------+------+-----------------+--------+ | 172.30.62.213 | 2883 | 2884 | active | +---------------+------+-----------------+--------+ +---------------------------------------------------+ | obagent | +---------------+-------------+------------+--------+ | ip | server_port | pprof_port | status | +---------------+-------------+------------+--------+ | 172.30.62.210 | 8088 | 8089 | active | | 172.30.62.211 | 8088 | 8089 | active | | 172.30.62.212 | 8088 | 8089 | active | +---------------+-------------+------------+--------+