系统健康度
- 平均 CPU{{ fmt(overview.health.breakdown?.avg_cpu) }}%
- 平均内存{{ fmt(overview.health.breakdown?.avg_mem) }}%
- 平均磁盘{{ fmt(overview.health.breakdown?.avg_disk) }}%
- 平均延迟{{ fmt(overview.health.breakdown?.avg_latency_ms) }}ms
- 平均错误率{{ fmt(overview.health.breakdown?.avg_error_rate) }}%
告警趋势(近 40 个采集周期)
Top 5 故障风险点
| 节点 | 风险分 | 等级 | 主要依据 |
|---|---|---|---|
| {{ r.node_name }} {{ r.type }} |
{{ r.risk_score }} | {{ r.level }} | {{ r.reason }} |
| 暂无数据 | |||
IT 资源拓扑与故障传播
网关
服务器/容器
数据库
中间件/存储
根因
告警收敛效果
{{ (overview.conv_stats||{}).algorithm }}
原始告警{{ (overview.conv_stats||{}).raw || 0 }}
→
聚类簇{{ (overview.conv_stats||{}).clusters || 0 }}
→
主事件{{ (overview.conv_stats||{}).incidents || 0 }}
→
降噪率{{ (overview.conv_stats||{}).noise_reduction_pct || '0.0%' }}
当前主事件
{{ i.severity === 'critical' ? '严重' : '警告' }}
{{ i.title }}
{{ timeAgo(i.started_at) }}
{{ c }}→
{{ metricLabel(m) }}
{{ i.alert_count }} 条告警已折叠 · 点击查看分析
当前无进行中的主事件
ChatOps 运维对话
{{ lastEngine }}
运维问答
{{ m.role === 'user' ? '操作员' : 'COPILOT' }}
{{ lastEngine }}
分析中…
{{ m.text }}
推理链路 · {{ m.trace.length }} 步
{{ m.trace.map(t => t.duration_ms + 'ms').join(' / ') }}
{{ m.open ? '收起' : '展开' }}
{{ t.agent }} · {{ t.role }}
{{ t.output }}
自动化执行中心
暂无待执行的修复动作
{{ a.title }}
{{ a.risk }}风险
需二次确认
{{ a.command }}
{{ a.target }}
{{ a.result.status }}
{{ a.result.output }}
自定义命令
命令经安全护栏校验并留痕审计。
{{ customResult.status }}
{{ customResult.output }}
执行审计
暂无执行记录
{{ r.time }}
{{ r.node_name }}
{{ r.action_key }}
{{ r.status }}
收敛后的主事件
DBSCAN + 拓扑关联
{{ i.id }}
{{ i.title }}
{{ c }}→
根因类型:{{ i.root_cause_type }} · 涉及指标:
{{ i.metrics.map(metricLabel).join('、') }} · 更新于 {{ timeAgo(i.updated_at) }}
暂无主事件
原始告警流(收敛前)
| 时间 | 告警 ID | 节点 | 指标 | 当前值 | 级别 | 内容 |
|---|---|---|---|---|---|---|
| {{ clock(a.ts) }} | {{ a.id }} | {{ a.node_name }} | {{ metricLabel(a.metric) }} | {{ a.value }} | {{ a.severity === 'critical' ? '严重' : '警告' }} | {{ a.message }} |
日志标准化 · 异构格式统一转 JSON
{{ stdResult }}
实时日志流
{{ l.level }}
{{ l.host }}
{{ l.source }}
{{ l.message }}
暂无日志
导入知识库
已导入 {{ kbImportResult.added }} 条 · 当前 {{ kbImportResult.total }} 条
{{ e.file }}:{{ e.error }}
单条添加
采集设置
配置文件:backend/data/hosts.yaml · 采集周期 {{ hostSummary.poll_seconds || 5 }} 秒
纳管主机 {{ hosts.length }}
| 主机 | 地址 | 接入方式 | 状态 | 日志源 | 实时概况 | 操作 |
|---|---|---|---|---|---|---|
| {{ h.name }} {{ h.id }} · {{ h.type }} |
{{ h.ip }} {{ h.zone }} |
{{ h.probe }} {{ h.protocol }} |
{{ h.status ? '在线' : (h.error ? '异常' : '未采集') }}
{{ h.error.slice(0, 60) }}
|
{{ h.log_sources || 0 }} 个 |
Top:{{ h.extra.top_processes.slice(0,2).map(p => p.name + ' ' + p.cpu + '%').join('、') }}
启动于 {{ h.extra.boot_time }}
启动于 {{ h.extra.uptime_since }}
|
|
| 尚未纳管任何主机,点击右上角「添加主机」开始 | ||||||
{{ testResult.ok ? '✓ 连接正常' : '✗ 连接失败' }} · {{ testResult.host }}
· {{ testResult.cost_ms }}ms
· 采集{{ testResult.collect_ok ? '正常' : '异常' }}
{{ testResult.os || '' }} {{ testResult.hostname || '' }}
{{ testResult.message || '' }}
远端 shell: {{ testResult.shell }}
{{ testResult.collect_message }}
内存 {{ testResult.sample.MEM }}% · 磁盘 {{ testResult.sample.DSK }}% · 负载 {{ testResult.sample.LD }} · 开机 {{ testResult.sample.UP }}
远端原始输出:
{{ testResult.raw_output }}
系统设置
✓ 已保存并生效
账号安全 · {{ currentUser.username }}
当前使用初始密码,请修改。
正在加载配置…
{{ g.label }}
{{ llmTestResult.ok ? '✓ 调用成功' : '✗ 调用失败' }}
· {{ llmTestResult.cost_ms }}ms
· {{ llmTestResult.model }}
{{ llmTestResult.message || llmTestResult.reply }}