Setting User Tag in an alarm using EMS rules

book

Article ID: 224848

calendar_today

Updated On:

Products

DX Infrastructure Management

Issue/Introduction

In an zEvent generated alert, the user tag needs to be set in the alarm using an eventrule.xml rule.  What is the proper command to do this?

Environment

Release : 20.3

Component : UIM - EMS

Resolution

The syntax to set the user_tag1 and user_tag2 property of the alarm is:

setEventValue("probe.userTag1","Test1");
setEventValue("probe.userTag2","Test2");