N7 Interface Inbound

Use the following commands to configure alerts related to an inbound N7 interface.

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