N7 SM Policy Notify Update

Use the following commands to configure alerts related to N7 SM Policy Notify Update.

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