mirror of
https://github.com/kmvan/x-prober.git
synced 2026-08-12 19:31:34 +08:00
51 lines
2.2 KiB
TOML
51 lines
2.2 KiB
TOML
# =============================================================================
|
|
# X-Prober 配置文件 | X-Prober Configuration
|
|
# =============================================================================
|
|
|
|
# -----------------------------------------------------------------------------
|
|
# 功能开关 | Feature Toggles
|
|
# -----------------------------------------------------------------------------
|
|
# 禁用特定功能以增强安全性或减少系统开销。
|
|
# Disable specific features to improve security or reduce overhead.
|
|
#
|
|
# 可用选项 | Available options: serverStatus, diskUsage, networkStats, ping,
|
|
# serverInfo, phpInfo, phpInfoDetail, phpDisabledFunctions,
|
|
# phpDisabledClasses, phpExtensions, phpExtensionsLoaded, database,
|
|
# myServerBenchmark, myInfo, serverIp
|
|
#
|
|
# disabled = ["serverIp", "phpInfoDetail"]
|
|
|
|
# -----------------------------------------------------------------------------
|
|
# 硬件监控 | Hardware Monitoring
|
|
# -----------------------------------------------------------------------------
|
|
# 温度传感器接口地址(例如:树莓派传感器)。
|
|
# Temperature sensor endpoints (e.g., Raspberry Pi sensors).
|
|
#
|
|
# 参考文档 | Reference: /extensions/temperature-sensors/raspberrypi.js
|
|
#
|
|
# temperatureSensors = [
|
|
# "http://localhost:4096"
|
|
# ]
|
|
|
|
# -----------------------------------------------------------------------------
|
|
# 性能测试 | Performance Testing
|
|
# -----------------------------------------------------------------------------
|
|
# 服务器基准测试冷却时间(秒),防止频繁测试导致服务器过载。
|
|
# Cooldown period between server benchmark runs (in seconds).
|
|
# Prevents excessive load from frequent testing.
|
|
#
|
|
# serverBenchmarkCd = 30
|
|
|
|
# -----------------------------------------------------------------------------
|
|
# 多节点聚合 | Multi-Node Aggregation
|
|
# -----------------------------------------------------------------------------
|
|
# 定义其他 X-Prober 节点,用于聚合仪表盘展示。
|
|
# Define additional X-Prober nodes for aggregated dashboard view.
|
|
#
|
|
# 格式 | Format: ["显示名称", "节点地址"] | ["display-name", "node-url"]
|
|
#
|
|
nodes = [
|
|
["node-1", "http://localhost:5174"],
|
|
["node-3", "http://localhost:5174"],
|
|
]
|