N11 SM Update

To configure alerts related to the N11 SM Update Request, use the following configuration:

alerts rules group AMFSvcStatus 
 interval-seconds 300
 rule AMFN11SMUpdateSuccess 
  expression "sum(increase(rpc_response_total{msg_type='PostSmCtxtsModifyRequestPB',rpc_name='SMF',status_code=~'200|204'}[5m])) / sum(increase(rpc_response_total{msg_type='PostSmCtxtsModifyRequestPB',rpc_name='SMF'}[5m])) <  0.95"
  severity major
  type "Communications Alarm"
  annotation summary
  value This alert is fired when the percentage of Update SM context responses received is lesser than threshold.”      
  exit 
exit