RESTmon - Alarm Publishing to OI failed

book

Article ID: 221699

calendar_today

Updated On:

Products

DX Operational Intelligence

Issue/Introduction

 

When uploading alarms to the OI from RESTmon we get the following error message:

ERROR SendAlarmsToDOI:249 - Publishing to OI failed, skipping storing these alarms into Database {f1d06a131d800a08386ee1167dea65a9=PublishedAlarm(alarmUniqueId=f1d06a131d800a08386ee1167dea65a9, profileName=obm, alarmAttributeContentId=null, attributes=[AlarmAttrContent( type=OI, name=startTime, value=2021-06-21 08:42:08.000000 ), AlarmAttrContent( type=OI, name=timestamp, value=2021-06-21 08:42:22.000000 ), AlarmAttrContent( type=OI, name=ci_unique_id, value=12345 ), AlarmAttrContent( type=OI, name=host, value=host ), AlarmAttrContent( type=OI, name=summary, value=Summary test message ), AlarmAttrContent( type=OI, name=status, value=new ), AlarmAttrContent( type=OI, name=severity, value=critical ), AlarmAttrContent( type=OI, name=message, value=Test ), AlarmAttrContent( type=OI, name=configuration_item_type, value=Unix ), AlarmAttrContent( type=OI, name=configuration_item, value=affectedCI ), AlarmAttrContent( type=OI, name=tags, value=["application: TEST","assignment: AM","INC: INC000000000000002"] ), AlarmAttrContent( type=OI, name=alarmType, value=DEBUG_AIOPS ), AlarmAttrContent( type=OI, name=alarmURL, value=https://<alarm URL> ), AlarmAttrContent( type=OI, name=troubleShooterName, value=AM ), AlarmAttrContent( type=OI, name=troubleTicket, value=INC000000000000002 ), AlarmAttrContent( type=OI, name=troubleTicketUrl, value=https://<ticketURL> ), AlarmAttrContent( type=OI, name=product, value=MicroFocus OBM )])}

Cause

 

Alarms did however appear in the UI with expected attributes.

The schema was expected to transform the severity values into upper-case, excerpt from the schema:

"severity":"$['event_list'][*]['severity']","severity_conversion":"critical:Critical,major:Major,minor:Minor,Default:Information"

but from the above payload, we can still see 'critical' in lower-case.

name=severity, value=critical

 

Environment

Release : 20.2

Component : CA DOI Foundations

Resolution

Errors are not appearing when using latest RESTMon 2.1 deployment