N40 Interface Outbound

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

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