5.1.2 SEPPPodCpuUsageAlert

Table 5-2 SEPPPodCpuUsageAlert

Field Details
Trigger Condition Pod CPU usage is above the threshold ( 70% )
Severity Warning
Alert details provided Summary
'namespace: {{$labels.namespace}}, podname: {{$labels.pod}}, 
timestamp: {{ with query "time()" }}{{ . | first | value | humanizeTimestamp }}{{ end }}: 
CPU usage is {{ $value | printf "%.2f" }}
 which is usage is above 70% (current value is: {{ $value }})'
Expression:
(sum by (namespace,container) (rate(container_cpu_usage_seconds_total{container=~".*cn32c-svc.*|.*pn32c-svc.*|.*cn32f-svc.*|.*pn32f-svc.*|.*config-mgr-svc.*|.*n32-egress-gateway.*|.*n32-ingress-gateway.*|.*plmn-egress-gateway.*|.*plmn-ingress-gateway.*|.*nf-mediation.*"}[2m])) ) / (sum by (container, namespace) (kube_pod_container_resource_limits{resource="cpu",container=~".*cn32c-svc.*|.*pn32c-svc.*|.*cn32f-svc.*|.*pn32f-svc.*|.*config-mgr-svc.*|.*n32-egress-gateway.*|.*n32-ingress-gateway.*|.*plmn-egress-gateway.*|.*plmn-ingress-gateway.*|.*nf-mediation.*"}) ) * 100 >= 70
OID 1.3.6.1.4.1.323.5.3.46.1.2.4002
Metric Used

container_cpu_usage_seconds_total

Note : This is a Kubernetes metric used for instance availability monitoring. If the metric is not available, use the similar metric as exposed by the monitoring system.

Resolution The alert gets cleared when the CPU utilization is below the critical threshold.

Note: The threshold is configurable in the SeppAlertrules.yaml file.

If guidance is required, contact My Oracle Support.