N7 SM Policy Notify Terminate

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

alerts rules group SMFSvcStatus 
   interval-seconds 300 
   rule SMFN7PolicyTerminateNotify 
   expression "sum(increase(smf_restep_http_msg_total{api_name=\"pcf_sm_policy_control_terminate_notify\", message_direction=\"inbound\", response_status=\"201\”}[5m])) /  sum(increase(smf_restep_http_msg_total{api_name=\"pcf_sm_policy_control_terminate_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_terminate_notify responses sent is lesser threshold.” 
   exit 
exit