N11 SM Status Notify

Use the following commands to configure alerts related to N11 SM Status Notify.

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