N1 Network Initiated Deregistration

To configure alerts related to the N1 Network Initiated Deregistration Request, use the following configuration:

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