N1 Registration Accept

To configure alerts related to the N1 Registration Accept Request, use the following configuration:

alerts rules group AMFSvcStatus 
 interval-seconds 300
 rule AMFN1RegistrationSuccess 
  expression "sum(increase(amf_nas_message_total{message_type=~'N1RegistrationAccept_.*'}[5m])) / sum(increase(amf_nas_message_total{message_type=~'N1RegRequest_RegType_.*'}[5m])) < 0.95" 
  severity major
  type "Communications Alarm"
  annotation summary
  value "This alert is fired when the percentage of Registration Accept sent is lesser than threshold.”      
  exit 
exit