mirror of
https://github.com/hansjone/netx.git
synced 2026-10-11 04:13:21 +08:00
Remove legacy OClaw alarm WSS and fix key-alert rules table layout.
Key alerts now deliver only via the DSH hub; Modal Body no longer flex-shrinks the rules rows to empty. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
parent
f937efa0f9
commit
0a4561f385
25 changed files with 36 additions and 729 deletions
|
|
@ -1087,15 +1087,6 @@ const en = {
|
|||
hubColLastSeen: "last seen",
|
||||
hubEmptyConnections: "No Netx Ops clients are connected to the alarm hub",
|
||||
hubPath: "path",
|
||||
legacyOclaw: "Legacy OClaw outbound",
|
||||
ws: "OClaw WSS",
|
||||
wsConnected: "connected",
|
||||
wsDisconnected: "disconnected",
|
||||
wsDisabled: "disabled",
|
||||
wsPaused: "paused",
|
||||
publishedOk: "published ok",
|
||||
publishedFail: "published fail",
|
||||
queue: "queue",
|
||||
matchType: "Match by",
|
||||
matchNotificationId: "notificationId",
|
||||
matchKeyword: "description keyword",
|
||||
|
|
@ -1171,10 +1162,8 @@ const en = {
|
|||
pulling_topology: "Pulling UME topology (nodes/links)…",
|
||||
topology_sync_busy: "Topology sync already running; skipped",
|
||||
ume_ws_disabled_no_base_url: "Disabled or UME_BASE_URL not configured",
|
||||
oclaw_fwd_disabled: "Disabled or NETX_OCLAW_ALARM_WS / token / url not configured",
|
||||
resumed_sync_soon: "Resumed: skipping debounce wait, sync soon",
|
||||
resumed_wss_reconnect: "Resumed: reconnecting WSS soon",
|
||||
resumed_oclaw_wss_reconnect: "Resumed: reconnecting OClaw WSS soon",
|
||||
resumed: "Resumed",
|
||||
keepalive_failed: "Token keepalive failed",
|
||||
},
|
||||
|
|
@ -1191,21 +1180,10 @@ const en = {
|
|||
subscription_lost: "UME subscription lost",
|
||||
disabled_no_base_url: "Disabled or UME_BASE_URL not configured",
|
||||
},
|
||||
fwdState: {
|
||||
paused: "Paused",
|
||||
disabled: "Disabled",
|
||||
connecting: "Connecting",
|
||||
connected: "Connected",
|
||||
connect_refused: "OClaw gateway down or port 8787 refused",
|
||||
connect_timeout: "Timed out connecting to OClaw gateway",
|
||||
auth_failed: "OClaw netx-bridge auth failed (check shared token)",
|
||||
disconnected: "OClaw WSS disconnected",
|
||||
},
|
||||
runtimeTask: {
|
||||
token_keepalive: "UME token keepalive",
|
||||
alarms_current_auto_sync: "Current alarms auto sync",
|
||||
alarms_current_ws_consumer: "UME alarm WSS",
|
||||
oclaw_alarm_forwarder: "OClaw key-alert WSS",
|
||||
inventory_auto_sync: "Inventory auto sync",
|
||||
topology_auto_sync: "Topology auto sync",
|
||||
},
|
||||
|
|
|
|||
|
|
@ -1079,15 +1079,6 @@ const zh = {
|
|||
hubColLastSeen: "最近心跳",
|
||||
hubEmptyConnections: "当前没有 Netx Ops 客户端连入告警 hub",
|
||||
hubPath: "路径",
|
||||
legacyOclaw: "遗留 OClaw 出站",
|
||||
ws: "OClaw WSS",
|
||||
wsConnected: "已连接",
|
||||
wsDisconnected: "未连接",
|
||||
wsDisabled: "未启用",
|
||||
wsPaused: "已暂停",
|
||||
publishedOk: "发布成功",
|
||||
publishedFail: "发布失败",
|
||||
queue: "待发队列",
|
||||
matchType: "匹配方式",
|
||||
matchNotificationId: "告警码 (notificationId)",
|
||||
matchKeyword: "告警描述关键字",
|
||||
|
|
@ -1163,10 +1154,8 @@ const zh = {
|
|||
pulling_topology: "正在拉取 UME 拓扑(节点/链路)…",
|
||||
topology_sync_busy: "拓扑同步进行中,已跳过",
|
||||
ume_ws_disabled_no_base_url: "未启用或未配置 UME_BASE_URL",
|
||||
oclaw_fwd_disabled: "未启用或未配置 NETX_OCLAW_ALARM_WS / token / url",
|
||||
resumed_sync_soon: "已恢复:将跳过本轮周期等待并尽快同步",
|
||||
resumed_wss_reconnect: "已恢复:将尽快重连 WSS",
|
||||
resumed_oclaw_wss_reconnect: "已恢复:将尽快重连 OClaw WSS",
|
||||
resumed: "已恢复",
|
||||
keepalive_failed: "Token 保活失败",
|
||||
},
|
||||
|
|
@ -1183,21 +1172,10 @@ const zh = {
|
|||
subscription_lost: "UME 订阅已丢失",
|
||||
disabled_no_base_url: "未启用或未配置 UME_BASE_URL",
|
||||
},
|
||||
fwdState: {
|
||||
paused: "已暂停",
|
||||
disabled: "未启用",
|
||||
connecting: "连接中",
|
||||
connected: "已连接",
|
||||
connect_refused: "OClaw 网关未启动或 8787 拒绝连接",
|
||||
connect_timeout: "连接 OClaw 网关超时",
|
||||
auth_failed: "OClaw netx-bridge 鉴权失败(检查共享 token)",
|
||||
disconnected: "OClaw WSS 已断开",
|
||||
},
|
||||
runtimeTask: {
|
||||
token_keepalive: "UME Token 保活",
|
||||
alarms_current_auto_sync: "当前告警定时同步",
|
||||
alarms_current_ws_consumer: "UME 告警 WSS",
|
||||
oclaw_alarm_forwarder: "OClaw 关键告警 WSS",
|
||||
inventory_auto_sync: "Inventory 定时同步",
|
||||
topology_auto_sync: "拓扑定时同步",
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue