N11 SM Update

Use the following commands to configure alerts related to N11 SM Update.

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