实验目的 🔗
- 创建 easeprobe tcp probe 配置并运行
- probe 探测服务为本机
docker-compose 配置 🔗
version: "3.9"
services:
probe:
image: megaease/easeprobe:v2.0.1
container_name: probe
volumes:
- type: bind
source: ./config.yaml
target: /opt/config.yaml
read_only: true
network_mode: host
easeprobe 配置 config.yaml
🔗
tcp:
- name: host
host: localhost:22
notify:
log:
- name: log file # local log file
file: /dev/stdout
环境 🔗
验证 🔗
- 查看日志
- 查看 8181 端口