N8 SDM Subscription Request

To configure alerts related to the N8 SDM Subscription Request, use the following configuration:

alerts rules group AMFSvcStatus 
 interval-seconds 300
 rule AMFN8SdmSubscriptionSuccess 
  expression "sum(increase(n8_service_stats{message_type='NudmSdmSubscriptionRsp', status='success'}[5m])) / sum(increase(n8_service_stats{message_type='NudmSdmSubscriptionReq', status='success'}[5m])) < 0.95" 
  severity major
  type "Communications Alarm"
  annotation summary
  value "This alert is fired when the percentage of SDM Subscription responses received is lesser than threshold.” 
  exit 
exit