5.5.1 Disable Alerts
This section explains the procedure to disable the alerts in NRF.
- Edit NrfAlertrules-24.2.6.yaml file to remove a specific alert.
- Remove complete content of a specific alert from the
NrfAlertrules-24.2.6.yaml
file.
For example: If you want to remove
OcnrfTrafficRateAboveMinorThresholdalert, remove the complete content:## ALERT SAMPLE START## - alert: OcnrfTrafficRateAboveMinorThreshold annotations: description: 'Ingress traffic Rate is above minor threshold i.e. 800 mps (current value is: {{ $value }})' summary: 'Traffic Rate is above 80 Percent of Max requests per second(1000)' expr: sum(rate(oc_ingressgateway_http_requests_total{app_kubernetes_io_name="ingressgateway",kubernetes_namespace="ocnrf"}[2m])) >= 800 < 900 labels: severity: Minor ## ALERT SAMPLE END## - Perform Alert configuration. For more information about configuring alerts, see NRF Alert Configuration section.