25 行
993 B
YAML
25 行
993 B
YAML
# GPU Monitor Configuration (示例文件)
|
|
# -----------------------------------------------------------------------------
|
|
# 复制本文件为 config.yaml 并填入你自己的服务器信息
|
|
# 注意:config.yaml 已被 .gitignore 忽略,不会被提交到代码仓库
|
|
# -----------------------------------------------------------------------------
|
|
|
|
# 目标服务器配置列表
|
|
servers:
|
|
- alias: 'AIServer'
|
|
ip: '192.168.1.10' # 目标服务器 IP,请替换为你的真实地址
|
|
port: 22 # SSH 端口
|
|
username: 'root' # SSH 用户名
|
|
password: 'your_ssh_password' # SSH 密码,建议使用 SSH Key 替代明文密码
|
|
- alias: 'NginxAgent'
|
|
ip: '192.168.1.11'
|
|
port: 22
|
|
username: 'root'
|
|
password: 'your_ssh_password'
|
|
|
|
# 全局监控设置
|
|
settings:
|
|
interval: 5 # 采集间隔 (秒)
|
|
timeout: 10 # SSH 连接超时 (秒)
|
|
temperature_threshold: 80 # 温度告警阈值 (Celsius)
|