Configuration Example

The following is an example configuration.

The following example configures an alert that is triggered when the percentage of registration procedure success is less than the specified threshold limit.

config
   alerts rules group AMFProcStatus
   interval-seconds 300
   rule UeRegistration
      expression "sum(amf_procedure_total{proc_type='UE Registration',proc_status='ProcStatusComplete',status='success'}) / sum(amf_procedure_total{proc_type='UE Registration',status='attempted'}) < 0.95"
      severity major
      type Communications Alarm
      annotation annotation_name
      value summary
 value "This alert is fired when the UE registration procedure success is below specified threshold”
      end