Skip to content

Commit 080c93d

Browse files
MB-50306: [UI only] Add cert expiration alerts for...
... trusted certs and node certs Change-Id: I3b6a8b06f2be676fb2d020a7fb698ef7de9d44b2 Reviewed-on: https://review.couchbase.org/c/ns_server/+/172747 Well-Formed: Build Bot <[email protected]> Reviewed-by: Pavel Blagodov <[email protected]> Tested-by: Timofey Barmin <[email protected]>
1 parent bb87ad6 commit 080c93d

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

priv/public/ui/app/constants/constants.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,9 @@ let knownAlerts = [
3434
'ep_clock_cas_drift_threshold_exceeded',
3535
'communication_issue',
3636
'time_out_of_sync',
37-
'disk_usage_analyzer_stuck'
37+
'disk_usage_analyzer_stuck',
38+
'cert_expired',
39+
'cert_expires_soon'
3840
];
3941

4042
let timeUnitToSeconds = {

priv/public/ui/app/mn.settings.alerts.component.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,8 @@ class MnSettingsAlertsComponent extends MnLifeCycleHooksToStream {
196196
case knownAlerts[13]: return 'Communication issues among some nodes in the cluster';
197197
case knownAlerts[14]: return 'Node\'s time is out of sync with some nodes in the cluster';
198198
case knownAlerts[15]: return 'Disk usage analyzer is stuck; cannot fetch disk usage data';
199+
case knownAlerts[16]: return 'Certificate has expired';
200+
case knownAlerts[17]: return 'Certificate will expire soon';
199201
}
200202
}
201203
}

0 commit comments

Comments
 (0)