Policy filter nos passing Tags attribute.
search cancel

Policy filter nos passing Tags attribute.

book

Article ID: 407933

calendar_today

Updated On:

Products

DX OI SaaS

Issue/Introduction

Passing appneta tags with appneta alarms from spectrum to OI.
In the all alarm attributes, i can see the new attribute tag:

"closedTime": "Content",
"causeCode": "Content",
"host": "Content",
"tag": "Env:Dev",
"timestamp": "Content",
"severity": "major",
"product": "Spectrum",

We can see the tag attribute if we try to add a queue, we can control a queue contents based on this.
Is there a way to use this in a policy filter or any other filter?

Environment

DX O2 SaaS

Resolution

It should be configured into the Alarm Payload from the Connector side. 

Open the file DOIConfig.xml, search for the below string and change the "Tag" for "Tags":

<DoiPropertiesToAlarmAttrs>
        <globalAlarmID>Content</globalAlarmID>
        <host>Content</host>
        <ip>Contentf</ip>
        <tags>0x673006e</tags>
        <closedTime>Content</closedTime>
        <startTime>Content</startTime>
        <deviceType_spectrum>Content</deviceType_spectrum>
        <model_class>Content</model_class>
        <modeltypeName>Content</modeltypeName>
        <modelName>Content</modelName>
        <severity>Content</severity>
        <causeCode>Content</causeCode>
        <repairPerson>Content</repairPerson>
        <alarmStatus>Content</alarmStatus>
        <spectroSERVER>Content</spectroSERVER>
        <landscapeID>Content</landscapeID>

Restart the connector.