37 lines
888 B
YAML
37 lines
888 B
YAML
# auto-check 配置文件
|
|
# 所有参数仅从本文件加载,按分类组织
|
|
|
|
# --- 网段扫描 ---
|
|
scan:
|
|
cidr: "10.0.3.0/24"
|
|
timeout: 3s
|
|
concurrency: 30
|
|
|
|
# --- SSH 认证 ---
|
|
ssh:
|
|
user: "admin"
|
|
password: "admin123"
|
|
key: ""
|
|
port: 22
|
|
|
|
# --- 压力测试 ---
|
|
stress:
|
|
types: "cpu,memory"
|
|
duration: 30s
|
|
threads: 4
|
|
|
|
# --- 工作流 ---
|
|
workflow:
|
|
interval: 30s
|
|
|
|
# --- 报告与打印 ---
|
|
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 热敏纸行宽
|