diff --git a/frontend/src/components/Layout/AppSidebar.vue b/frontend/src/components/Layout/AppSidebar.vue
index 8dc252a..5680ba2 100644
--- a/frontend/src/components/Layout/AppSidebar.vue
+++ b/frontend/src/components/Layout/AppSidebar.vue
@@ -30,7 +30,10 @@
diff --git a/frontend/src/router/index.ts b/frontend/src/router/index.ts
index d340bc8..da4000f 100644
--- a/frontend/src/router/index.ts
+++ b/frontend/src/router/index.ts
@@ -110,7 +110,13 @@ const router = createRouter({
path: 'monitor',
name: 'Monitor',
component: () => import('@/views/monitor/Monitor.vue'),
- meta: { title: '监控 / 日志 / 告警' },
+ meta: { title: '监控' },
+ },
+ {
+ path: 'alert',
+ name: 'Alert',
+ component: () => import('@/views/monitor/Alert.vue'),
+ meta: { title: '告警' },
},
],
},
diff --git a/frontend/src/views/monitor/Alert.vue b/frontend/src/views/monitor/Alert.vue
new file mode 100644
index 0000000..49f8b55
--- /dev/null
+++ b/frontend/src/views/monitor/Alert.vue
@@ -0,0 +1,85 @@
+
+
+
+
+
告警
+
夜莺(Nightingale)统一告警引擎 · qpass 推送
+
+
+
+
+
+
+
当前告警
+ 实时
+
+
+
+
+
+ | 硬件告警 |
+ ● 2 条 |
+
+
+ | 业务告警 |
+ ● 0 条 |
+
+
+ | 今日已推送 |
+ 5 |
+
+
+
+
+
+
+
+
+
告警通道
+ qpass
+
+
+
+
+
+ | 推送状态 |
+ ● 正常 |
+
+
+ | 通道类型 |
+ 企业微信 · 钉钉 · 短信 |
+
+
+
+
+
+
+
+
+
+
告警记录
+ 近 24h
+
+
+
+ {{ alert.time }}{{ alert.message }}
+
+
+
+
+
+
+
+
+
diff --git a/frontend/src/views/monitor/Monitor.vue b/frontend/src/views/monitor/Monitor.vue
index 5fe24ab..38480ea 100644
--- a/frontend/src/views/monitor/Monitor.vue
+++ b/frontend/src/views/monitor/Monitor.vue
@@ -2,8 +2,8 @@
-
监控 / 日志 / 告警
-
VictoriaMetrics 指标 · Zabbix 硬件状态 · ELK 日志中心 · 夜莺(Nightingale)统一告警引擎对接 qpass
+
监控
+
VictoriaMetrics 指标 · Zabbix 硬件状态
@@ -67,32 +67,12 @@
-