RADIUS Accounting Interim/Update Message Failure Threshold Alert

Use the following example to configure alerts related to RADIUS Accounting Interim/Update Message Failure threshold.

rule Radius_Acct_Interim_SR 
   expression "sum by (namespace) (increase(radius_accounting_message_stats{procedure_type=\"radius_update\", status=\"success\"}[5m])) / sum by (namespace) (increase(radius_accounting_message_stats{procedure_type=\"radius_update\", status=\"attempted\"}[5m])) < 0.80"
   severity   major
   type       "Processing Error Alarm"
   annotation summary
     value "This service based alert is fired when the percentage of successful Radius Accounting Interim Update successful response received is lesser than threshold"
   exit
  exit