diff --git a/frontend/auto-imports.d.ts b/frontend/auto-imports.d.ts new file mode 100644 index 0000000..1d89ee8 --- /dev/null +++ b/frontend/auto-imports.d.ts @@ -0,0 +1,9 @@ +/* eslint-disable */ +/* prettier-ignore */ +// @ts-nocheck +// noinspection JSUnusedGlobalSymbols +// Generated by unplugin-auto-import +export {} +declare global { + +} diff --git a/frontend/components.d.ts b/frontend/components.d.ts new file mode 100644 index 0000000..7821290 --- /dev/null +++ b/frontend/components.d.ts @@ -0,0 +1,25 @@ +/* eslint-disable */ +/* prettier-ignore */ +// @ts-nocheck +// Generated by unplugin-vue-components +// Read more: https://github.com/vuejs/core/pull/3399 +export {} + +declare module 'vue' { + export interface GlobalComponents { + AppHeader: typeof import('./src/components/Layout/AppHeader.vue')['default'] + AppMain: typeof import('./src/components/Layout/AppMain.vue')['default'] + AppSidebar: typeof import('./src/components/Layout/AppSidebar.vue')['default'] + AuditLogTable: typeof import('./src/components/AuditLogTable.vue')['default'] + ElButton: typeof import('element-plus/es')['ElButton'] + ElForm: typeof import('element-plus/es')['ElForm'] + ElFormItem: typeof import('element-plus/es')['ElFormItem'] + ElIcon: typeof import('element-plus/es')['ElIcon'] + ElInput: typeof import('element-plus/es')['ElInput'] + ElOption: typeof import('element-plus/es')['ElOption'] + ElSelect: typeof import('element-plus/es')['ElSelect'] + RouterLink: typeof import('vue-router')['RouterLink'] + RouterView: typeof import('vue-router')['RouterView'] + SubsystemCard: typeof import('./src/components/SubsystemCard.vue')['default'] + } +} diff --git a/frontend/index.html b/frontend/index.html new file mode 100644 index 0000000..fe9b83f --- /dev/null +++ b/frontend/index.html @@ -0,0 +1,14 @@ + + +
+ + + +| {{ col.label }} | +
|---|
| + + + ● {{ statusMap[row.status] || row.status }} + + + + {{ row[col.key] }} + + + {{ row[col.key] }} + + | +
{{ description }}
+查询所有用户的登录记录,包括时间、IP、目标系统、结果
+查询运维操作记录,包括操作类型、目标、结果
+LDAP 账号登录
+按机房切分的 RKE2 集群,Calico BGP 扁平网络
+| 集群 | +机房 / 区域 | +状态 | +节点 | +CPU 使用 | +RKE2 版本 | +Calico | ++ |
|---|---|---|---|---|---|---|---|
| {{ cluster.name }} | +{{ cluster.zone }} | +● {{ cluster.status }} | +{{ cluster.nodes }} | ++ {{ cluster.cpu }}% + | +{{ cluster.version }} | +{{ cluster.calico }} | +
| 节点 | +IP | +业务线标签 | +污点 Taint | +规格 | +CPU / Mem | +状态 | +
|---|---|---|---|---|---|---|
| {{ node.name }} | +{{ node.ip }} | +{{ node.label }} | +{{ node.taint }} | +{{ node.spec }} | +{{ node.cpu }}% | +● {{ node.status }} | +
Apollo 配置中心(携程开源)· 按机房部署 Config Service Cluster,Portal 统一入口管理
+统一管理 7 个机房 Config Service Cluster 的配置发布、灰度、回滚与变更审计,所有机房配置项均可在此单一入口检索与编辑,发布后由各机房 Config Service 就近下发。
+| 机房 / 区域 | +Apollo Cluster | +Config Service 地址 | +承载方式 | +接入业务线 | +配置项数 | +状态 | +
|---|---|---|---|---|---|---|
| {{ cluster.name }} | +cluster={{ cluster.cluster }} | +{{ cluster.address }} | +{{ cluster.type }} | +{{ cluster.biz }} | +{{ cluster.items }} | +● {{ cluster.status }} | +
跨机房 / 多云容器资源统一视图 · 最近更新于 12 秒前
+| ● 成功 | +MySQL 主从部署 | +2m14s | +
| ● 执行中 | +RKE2 节点加入 | +38s | +
| ● 成功 | +Redis Cluster 部署 | +3m02s | +
| ● 失败 | +openresty 网关部署 | +41s | +
| ● 成功 | +业务线标签同步 | +5s | +
VictoriaMetrics 指标 · Zabbix 硬件状态 · ELK 日志中心 · 夜莺(Nightingale)统一告警引擎对接 qpass
+| 七机房采集节点数 | +128 | +
| 活跃时序数量 | +42.6M | +
| Prometheus 接口接入 | +● 正常 | +
| Grafana 仪表盘数 | +37 | +
| 物理机监控覆盖 | +186 / 186 | +
| 当前告警 | +● 2 条(风扇转速异常) | +
| 网络设备健康 | +● 正常 | +
| 存储健康度 | +● 正常 | +
统一纳管物理机与虚机资源 · 基础数据来自 SINA CMDB
+| 主机名 | +资产编号 | +类型 | +机房 / 区域 | +内网 IP | +规格 | +业务线 | +数据来源 | +状态 | +
|---|---|---|---|---|---|---|---|---|
| {{ item.hostname }} | +{{ item.asset_number }} | +{{ item.type }} | +{{ item.location }} | +{{ item.ip }} | +{{ item.spec }} | +{{ item.business_line }} | +{{ item.source }} | +● {{ item.status }} | +
物理机 / 虚机 / 基础服务状态汇总
+| 机房 | 总数 | 在线 | 健康率 | 状态 |
|---|---|---|---|---|
| YZH 机房 | +78 | +78 | +98% | +● 正常 | +
| XS 机房 | +64 | +63 | +91% | +● 1 条告警 | +
| JF 机房 | +22 | +22 | +100% | +● 正常 | +
| 海外 IDC(4) | +22 | +21 | +86% | +● 1 条严重 | +
| 业务线 | 虚机数 | CPU 均值 | 状态 |
|---|---|---|---|
| Kodo | +218 | +64% | +● 正常 | +
| LAS | +164 | +82% | +● 1 条告警 | +
| 灵矽 | +96 | +57% | +● 正常 | +
| 共享池 / 未分配 | +34 | +31% | +● 正常 | +
点击卡片,通过封装好的 ansible-playbook 一键部署标准化基础服务
+同步全部机房 Consul 注册中心服务目录,统一查看服务名 / 服务 IP / 业务标签 / 实例数
+| 服务名 | +机房 / Datacenter | +业务标签 | +实例数 | +健康实例 | +示例 IP | +状态 | +
|---|---|---|---|---|---|---|
| {{ service.name }} | +{{ service.dc }} | +{{ service.biz }} | +{{ service.instances }} | +{{ service.healthy }} | +{{ service.ip }} | +● {{ service.status }} | +
统一 LDAP 账号,点击即用免二次登录(同账号同密码)
+所有 ansible-playbook / Wayne 发布任务的执行记录与实时日志
+| ● {{ task.status }} | +{{ task.name }} | +{{ task.playbook }} | +