Monitoring Support
An alarm is added to indicate that a GTP-U peer for a particular UPF has gone down. The alarm data includes GTP-U peer IP and UPF IP addresses.
Use the following commands to configure alert rules related to the UPF Node Report Request.
configure
alerts rules group alert_group_name
interval-seconds seconds
rule rule_name
expression promql_expression
severity severity_level
type alert-type
annotationannotation_name
value annotation_value
exit
exit
-
alerts rules : Specifies the Prometheus alerting rules.
-
group alert_group_name : Specifies the Prometheus alerting rule group. One alert group can have multiple lists of rules. alert-group-name is the name of the alert group. The alert-group-name must be a string in the range of 0–64 characters.
-
interval-seconds seconds : Specifies the evaluation interval of the rule group in seconds.
-
rule rule_name : Specifies the alerting rule definition. rule_name is the name of the rule.
The following is a sample configuration.
configure
alerts rules group NodeReportGTPURemotePeer
interval-seconds 300
rule NodeReportGTPURemotePeerDown
expression smf_protocol_udp_res_msg_total{message_name=\"n4_node_report_req\", message_direction= \“inbound\”, status=\“accepted\”}”
severity major
type "Communications Alarm"
annotation summary
value “This alert is fired when the UPF Sends Node Report Request to SMF”
exit
exit