20260609 增加三RP持续对比监控
This commit is contained in:
26
scripts/inter_rp/inter-rp.env.example
Normal file
26
scripts/inter_rp/inter-rp.env.example
Normal file
@@ -0,0 +1,26 @@
|
||||
# 远端200 runner 配置示例。
|
||||
# 该脚本只负责任务调度、RSS采样、run目录和run-meta.json;具体RP命令由下面两个变量提供。
|
||||
|
||||
# 远端200上的运行根目录。
|
||||
# 建议把运行态数据放到 /var/lib,避免 rpki-client 降权后无法读写 /root。
|
||||
INTER_RP_ROOT=/var/lib/inter-rp-runners
|
||||
|
||||
# -1 表示持续运行;正整数表示每个RP运行多少轮。
|
||||
MAX_RUNS=-1
|
||||
|
||||
# 每轮结束后的等待秒数。
|
||||
RUN_INTERVAL_SECS=0
|
||||
|
||||
# 每个RP保留最近多少轮。
|
||||
RETAIN_RUNS=20
|
||||
|
||||
# RSS采样间隔,毫秒。
|
||||
RSS_SAMPLE_MS=500
|
||||
|
||||
# Routinator 命令模板。命令运行时会自动导出 RUN_DIR/RP_ROOT/RUN_SEQ/RUN_ID/RP_NAME。
|
||||
# 命令必须把 vrps.csv/vaps.csv 写入 $RUN_DIR;Routinator 使用 --enable-aspa + JSON 输出转换出 VAP CSV。
|
||||
ROUTINATOR_RUN_COMMAND=/root/inter-rp-runners/scripts/run_routinator_once.sh
|
||||
|
||||
# 官方 rpki-client 9.8 命令模板。
|
||||
# rpki-client 会降权运行,cache 和 output 必须预先放在可写目录;命令需复制 output/csv、output/rpki.ccr,并从 output/json 转换出 vaps.csv。
|
||||
RPKI_CLIENT_RUN_COMMAND=/root/inter-rp-runners/scripts/run_rpki_client_official_98_once.sh
|
||||
Reference in New Issue
Block a user