ALERT: Some images may not load properly within the Knowledge Base Article. If you see a broken image, please right-click and select 'Open image in a new tab'. We apologize for this inconvenience.

Random UIM Alarms not making it into Spectrum

book

Article ID: 227731

calendar_today

Updated On:

Products

DX Unified Infrastructure Management (Nimsoft / UIM)

Issue/Introduction

FROM THE SPECTRUM GATEWAY ALARM.LOG

2021-10-19 01:01:49,773 ERROR SpectrumGtwScheduler_Worker-5: [SpectrumAlarmPush] [sendEventAlarmRequest] - SpectrumGtwException while sending event_alarm request to Spectrum com.nimsoft.probe.gateway.spectrumgtw.common.SpectrumGtwException

FROM THE TOMCAT LOGS (STDOUT.LOG)

Oct 19, 2021 01:01:49 AM (http-nio-80-exec-25) (org.apache.cxf.jaxrs.provider.AbstractJAXBProvider) - (WARN) - javax.xml.bind.UnmarshalException
 - with linked exception:
[com.ctc.wstx.exc.WstxParsingException: Illegal character entity: expansion character (code 0xc
 at [row,col {unknown-source}]: [24,339]]
 at com.sun.xml.internal.bind.v2.runtime.unmarshaller.UnmarshallerImpl.handleStreamException(UnmarshallerImpl.java:470)

Cause

The alarms from the UIM side have form feed and carriage return characters in the alarm messages.

Environment

Release : 20.3

Component : UIM - SPECTRUMGTW

Resolution

https://support.broadcom.com/download-center/solution-detail.html?aparNo=99111266&os=MULTI-PLATFORM

Deployment steps:
   
   1. Download spectrumgtw-8.6.9-HF1.zip and add it to UIM Archive.
   2. Deactivate/stop Spectrumgtw probe.
   3. Delete/backup existing spectrumgtw probe logs.
   4. Deploy the spectrumgtw version 8.6.9-HF1 from Archive.
   5. Activate the spectrumgtw probe.

What's new in spectrumgtw-8.6.9-HF1:

    1. Added configurable regular expression in spectrumgtw.cfg to apply on alarm title and remove matched characters from it.    
    2. Default value of regExToRemoveMatchedChars is [\x0B\x0C\x0D] which will remove Vertical tab, Formfeed and Carriage return characters.