N11 Interface Outbound

Use the following commands to configure alerts related to an outbound N11 interface.

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