How to send an alarm message to both ems and nas

Document ID : KB000011495
Last Modified Date : 14/02/2018
Show Technical Document Details
Introduction:

Prior to the UIM 8.4 release, all alarms were processed by the NAS probes.  The EMS probe was introduced in 8.4 to handle events and it is necessary to manually configure the trellis service alarm-routing-service to route all alarms to both NAS and EMS.

Question:

How do I route all alarms to both NAS and EMS?

Environment:
UIM 8.4 and higher
Answer:

To route all Alarms to both NAS and EMS you will need to create a new route and have it set to both nas_destination, ems_destination in the alarm-routing-service.cfg trellis service configuration file

ems Probe Deployment and Configuration->Configure Legacy Alarm Routing->Add Routes

Example config:

<setup>
   name = alarm-routing-service
   version = 8.40
   description = Alarm Routing Service
   vendor = CA Technologies
   loglevel = 5
   logsize = 20000
   copyright = Copyright (c) 2015 CA Technologies
   default_destination = nas_destination
</setup>
<routes>
    <defaultEMS>
        order = 1
        <filters>
            prid = *
        </filters>
        destinations = nas_destination, ems_destination
    </defaultEMS>
</routes>
<destinations>
   <nas_destination>
      subject = alarm1
      <probe>
         name = nas
         section = setup
         field = enrichment_subject
      </probe>
      <hub>
         probe = alarm_enrichment
         queue = alarm_enrichment
      </hub>
   </nas_destination>
   <ems_destination>
      subject = legacy_alarm
      <probe>
         name = ems
         section = setup
         field = legacy_alarm_manager_subject
      </probe>
      <hub>
         probe = ems
         queue = legacy_alarm_manager
      </hub>
   </ems_destination>
</destinations>
<startup>
   <opt>
      java_mem_init = -Xms32m
      java_mem_max = -Xmx512m
   </opt>
</startup>

Additional Information:

The alarm-routing-service.cfg file is located under the located under the <UIM_Installation>\probes\service\trellis\service\alarm-routing-service\config directory on the primary hub.