N1 N2 Message Transfer

Use the following commands to configure alerts related to N1 N2 Message Transfer.

alerts rules group SMFSvcStatus 
   interval-seconds 300 
   rule SMFN1N2Transfer 
   expression "sum(increase(smf_restep_http_msg_total{api_name=\"amf_n1_n2_transfer\", message_direction=\"outbound\", response_status=\"200\”}[5m])) /  sum(increase(smf_restep_http_msg_total{api_name=\"amf_n1_n2_transfer\", message_direction=\"outbound\”}[5m])) < 0.95" 
   severity major 
   type "Communications Alarm" 
   annotation summary 
   value "This alert is fired when the percentage of amf_n1_n2_transfer responses received is lesser threshold.” 
   exit 
exit