N10 SM Subscribe for Notification

Use the following commands to configure alerts related to N10 Subscribe for Notification.

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