ViPR SRM: Alert-Consolidation, Errors while reading conf/bunit-group.csv, Illegal/unsupported escape sequence near index

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

Symptoms



You are getting the following errors in the Event-Processing-Manager for Alert-Consolidation:

WARNING   [2017-04-14 14:06:32 EDT]   PropertyTagger::fillDataStructure(): Errors while reading conf/bunit-group.csv
Content ""hostname-{XXXXXXXXXXXX}","VirtualMachine","Default"" on line xxx in conf/bunit-group.csv is invalid

WARNING   [2017-04-18 09:39:03 EDT]   PropertyTagger::createPropertyRecord(): Illegal/unsupported escape sequence near index 17
String - domain\hostname
^
java.util.regex.PatternSyntaxException: Illegal/unsupported escape sequence near index 17
 

Cause

This is caused by special characters (squarely brackets "{}" & backslahs "\" in this case) that are not being escaped by the parser.

Resolution

In order to resolve this you will need to edit the generic-event-ptf.xml located on the Primary Backend in APG/Event-Processing/Event-Property-Tagger/Alert-Consolidation/conf

and change the string type value for all key-property that are referencing device from regex to string

so that this: <key-property delete-after-use="false" string-type="regex">device</key-property>
looks like: <key-property delete-after-use="false" string-type="string">device</key-property>

save the changes and restart the Event-Processing-Manager for Alert-Consolidation

Affected Products

SRM

Products

SRM
Article Properties
Article Number: 000061505
Article Type: Solution
Last Modified: 25 Sept 2024
Version:  3
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.