Add additional info to alerts 01/6901/2
authorMohamed Abukar <abukar.mohamed@nokia.com>
Thu, 21 Oct 2021 07:02:07 +0000 (10:02 +0300)
committerMohamed Abukar <abukar.mohamed@nokia.com>
Thu, 21 Oct 2021 07:23:25 +0000 (10:23 +0300)
Signed-off-by: Mohamed Abukar <abukar.mohamed@nokia.com>
Change-Id: I9c173336a03f03ede1f6e90174d40bd9813d159e

build/Dockerfile
build/container-tag.yaml
manager/cmd/manager.go

index 6b07240..f991c8a 100755 (executable)
@@ -20,6 +20,8 @@
 
 FROM nexus3.o-ran-sc.org:10002/o-ran-sc/bldr-ubuntu18-c-go:1.9.0 as ubuntu-alarm-manager
 
+RUN apt update && apt install --reinstall -y ca-certificates && update-ca-certificates
+
 # Install utilities
 RUN apt update && apt install -y iputils-ping net-tools curl sudo
 
index 2300e89..db176bf 100644 (file)
@@ -2,4 +2,4 @@
 # By default this file is in the docker build directory,
 # but the location can configured in the JJB template.
 ---
-tag: 0.5.9
+tag: 0.5.10
index da689dc..660d637 100755 (executable)
@@ -328,6 +328,7 @@ func (a *AlarmManager) GenerateAlertLabels(alarmId int, newAlarm alarm.Alarm, st
                "alertname":   alarmDef.AlarmText,
                "severity":    string(newAlarm.PerceivedSeverity),
                "service":     fmt.Sprintf("%s/%s", newAlarm.ManagedObjectId, newAlarm.ApplicationId),
+               "info":        newAlarm.IdentifyingInfo,
                "system_name": "RIC",
        }
        amAnnotations := models.LabelSet{