5G N2 HO Success

Use the following configuration to configure alerts related to the 5G N2 HO Success procedure:

alerts rules group Handover 
   interval-seconds 300 
   rule N2HOSuccess 
   expression “sum(smf_service_stats{procedure_type=\“n2_handover\” , status=\“success\”}) / sum(smf_service_stats{procedure_type=\“n2_handover\” , status=\“attempted\”}) < 0.95 “ 
   severity major 
   type "Communications Alarm" 
   annotation summary 
   value "This alert is fired when the percentage successful 5G N2 HO is below threshold.” 
   exit 
exit