DX Infrastructure Management

Tech Tip: UIM - Enriching NAS (AO) alarms 

06-16-2017 10:48 AM

This document describes the procedure to enrich new alarms created by NAS AO profiles.

New alarms generated by NAS via AO profiles do not contain any value in the field dev_id. The impact of this is that they are not visible in USM.


The sections to be added in the nas.cfg are the following (replace the values between <>). Note that the connection URL is for MSSQL.


          active = true
          connection_url = jdbc:sqlserver://<database_server>:1433;DatabaseName=CA_UIM;
          user = <user>
          password = <password>
          query = select dev_id, dev_name from cm_device where ? in (dev_ip,dev_name)
          population_query = select dev_id, dev_name from cm_device where probe_name is not null

    exclusive_enrichment = no
       match_alarm_field = prid
       match_alarm_regexp = (nas)
      use_enricher = dev_id
      lookup_by_alarm_field = udata.source
      lookup_by_regexp =
         dev_id = [cmdb.dev_id]
         udata.custom_1 = Enriched with dev_id: [cmdb.dev_name]

    exclusive_routing = no
       active = yes
       post_subject = alarm2
       condition = true



Another alternative to enrich alarms coming from NAS AO profiles is via LUA script, but this can create additional load, specially when dealing with alarms created from received traps.

It is important to mention that, in some circumstances, we can use the AO action type = "escalate_level" instead of "new_alarm". This will raise the severity of the original alarm while keeping the rest all the fields (including dev_id).

0 Favorited
0 Files

Tags and Keywords

Related Entries and Links

No Related Resource entered.