Alarms are missing the message.
search cancel

Alarms are missing the message.

book

Article ID: 218390

calendar_today

Updated On:

Products

DX Unified Infrastructure Management (Nimsoft / UIM)

Issue/Introduction

After the upgrade to 20.3.3 we are experiencing many alerts coming in without messages, for events created from the cdm probe.  This is not happening for all servers, but is consistently happening on multiple. 

The alarm message has: | || 

Environment

Release : 20.3

Component : UIM NAS

Cause

A problem with a script. 

Resolution

Here is the process for determining the cause. 
Set nas for log level 3 and log size 10000. 
Wait for another one of these alarms to show up in the IM console Alarm Window. 
Search nas.log for ||. 
When found search on the nimid in the line with || for the full alarm trail. 

Jun 25 13:07:51:927 [9760] 3 nas: Validating rule: Add FQDN to 'Average' message updates nimid = EQ86537449-93938 
Jun 25 13:07:51:931 [9760] 3 nas: alarm.set: UPDATE NAS_ALARMS SET custom_2=' ',message='  |   ||',change_id='2934A594D71D59DEBFA92BA9BE295A1D',event_type=2 WHERE nimid='EQ86537449-93938';
Jun 25 13:07:51:932 [9760] 3 nas: ExecEvent: Rule='Add FQDN to 'Average' message updates' on nimid='EQ86537449-93938' with ACTION:script, age:0s, status:OK
Jun 25 13:07:51:932 [9760] 3 nas: Validating rule: Add FQDN to 'Average' message updates nimid = EQ86537449-93938 
Jun 25 13:07:51:935 [9760] 3 nas: alarm.set: UPDATE NAS_ALARMS SET custom_2=' ',message='  |   ||',change_id='2934A594D71D59DEBFA92BA9BE295A1D',event_type=2 WHERE nimid='EQ86537449-93938';
Jun 25 13:07:51:936 [9760] 3 nas: ExecEvent: Rule='Add FQDN to 'Average' message updates' on nimid='EQ86537449-93938' with ACTION:script, age:0s, status:OK

In this case it is a profile with the name 'Average' message updates'. 
Search nas.cfg for that string, which shows:
      <Add FQDN to 'Average' message updates>
         active = yes
         action = script assigntonimsoftandpassfqdn

The script assigntonimsoftandpassfqdn was changing these alarm messages to | ||