4G to 5G HO Success

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

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