Processes probe messages ignore case
search cancel

Processes probe messages ignore case

book

Article ID: 274626

calendar_today

Updated On:

Products

DX Unified Infrastructure Management (Nimsoft / UIM)

Issue/Introduction

In the processes probe, custom alarm messages can be entered.  The IM GUI does not prevent duplicates from being created if they differ only in case:

<messages>
   <MsgProcessInstances_Test>
      text = Test: Process - $watcher: Wrong number of instances of process $process, expected instances $instances_op $instances_expect but found $instances_found
      level = minor
      token = process_instances
      default = yes
      i18n_token = 
      subsystem = 
   </MsgProcessInstances_Test>

   <MsgProcessInstances_TEST>
      text = TEST : Process - $watcher: Wrong number of instances of process $process, expected instances $instances_op $instances_expect but found $instances_found
      level = minor
      token = process_instances
      default = yes
      i18n_token = 
      subsystem = 
   </MsgProcessInstances_TEST>
</messages>

Only the first one of these messages is displayed in the Message Pool.

Environment

Release : 20.4
Processes probe: 4.83

Cause

The processes probe code doesn't compare text regarding case.  It sees the two following strings as equal:

MsgProcessInstances_Test = MsgProcessInstances_TEST

Resolution

Hotfix has been provided and attached to this article.  The hotfix prevents the creation of alarm messages that differ regarding case.

Attachments

processes-4.83-T1-20230929_1696522633395.zip get_app