From 903ed58fc38b1dd71586594069ca6fd02d42e0e4 Mon Sep 17 00:00:00 2001 From: Jeff Engleman Date: Mon, 29 Jul 2024 15:54:10 -0400 Subject: [PATCH] add bgp peer description to alert_detail (#16233) * add bgp peer description to alert_detail * style --------- Co-authored-by: PipoCanaja <38363551+PipoCanaja@users.noreply.github.com> --- includes/html/functions.inc.php | 1 + 1 file changed, 1 insertion(+) diff --git a/includes/html/functions.inc.php b/includes/html/functions.inc.php index db235a1aa9..ea9f3e2928 100644 --- a/includes/html/functions.inc.php +++ b/includes/html/functions.inc.php @@ -760,6 +760,7 @@ function alert_details($details) 'proto' => 'bgp', ]) . "'>" . $tmp_alerts['bgpPeerIdentifier'] . ''; + $fault_detail .= ', Desc ' . $tmp_alerts['bgpPeerDescr'] ?? ''; $fault_detail .= ', AS' . $tmp_alerts['bgpPeerRemoteAs']; $fault_detail .= ', State ' . $tmp_alerts['bgpPeerState']; $fallback = false;