Files
membank/auto-check/auto-check.yaml
12600k-rog-d4 2aaaa16ae2 0813
2026-08-13 22:49:50 +08:00

40 lines
1.2 KiB
YAML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# auto-check 配置文件
# 所有参数仅从本文件加载,按分类组织
# --- 网段扫描 ---
scan:
cidr: "10.0.3.0/24"
timeout: 3s
concurrency: 10
# --- SSH 认证 ---
ssh:
user: "admin"
password: "admin123"
key: ""
port: 22
# --- 压力测试 ---
stress:
types: "cpu,memory,disk,full" # 单项在前、综合(full)最后
duration: 30s
threads: 4
temp_limit: 90 # 温度上限(°C)超过判失败0=不判定
auto_install: true # 缺工具时在线安装apt/dnf/yum 等),需要目标机可联网
use_mirror: false # 在线安装是否切换国内镜像源(清华TUNA)。国内网络卡顿/超时再改 true
# --- 工作流 ---
workflow:
interval: 180s
# --- 报告与打印 ---
report:
path: "reports"
print:
enabled: false # 是否自动打印报告
backend: "usb" # system=系统打印机 / escpos=网络热敏 / usb=USB直连 / file=文件
device: "" # system: 打印机名(空=默认), escpos: 192.168.1.100:9100
# usb: 空=自动(Win \\.\usb001 / Linux /dev/usb/lp0), 或指定设备路径
# file: 输出路径
width: 42 # 80mm 热敏纸行宽