N2 PDU Modify Success

To configure alerts related to the N2 PDU Modify Success Request, use the following configuration:

alerts rules group AMFSvcStatus 
 interval-seconds 300
 rule AMFN2PduModifySuccess   
  expression "sum(increase(amf_ngap_message_total{message_type='N2PduSessResourceModifyRsp'}[5m])) / sum(increase(amf_ngap_message_total{message_type='N2PduSessResouceModifyReq'}[5m])) < 0.95"     
  severity major
  type "Communications Alarm"
  annotation summary
  value "This alert is fired when the percentage of Ngap PDU Modify Response is lesser than threshold.”         
  exit 
exit