search cancel

Create Custom-Alert from fetchmsg

book

Article ID: 187245

calendar_today

Updated On:

Products

DX Unified Infrastructure Management (Nimsoft / UIM)

Issue/Introduction

Sometime for iSeries servers, there are two different alerts getting triggered for 1 backup job failure.

Team want to have single alerts ( For Auto- incident) whenever “both the two backup job failure” alerts get triggered.

We wish a single alarm raised regardless of whether one or both messages are seen

Environment

Release : 9.0.2

Component : UIM - FETCHMSG

Resolution

You have created separate profiles for these 2 messages

active = yes
check_answered = no
check_description = no
check_id = yes
check_severity = no
check_text = no
check_type = no
min_severity = 0
regexp_id = CPF1240
check_job_name = no
check_user_profile_name = no
in_queue = qSysOpr
message = P4
if_not_matched_by_other = no
action_send_alarm = yes
action_answer_message = no
time_frame =
msg_condition =
msg_count =
answer_limit_alarm = yes
supp_key = $profile/$key

active = yes
check_answered = no
check_description = no
check_id = yes
check_severity = no
check_text = no
check_type = no
min_severity = 0
regexp_id = RB16404
check_job_name = no
check_user_profile_name = no
in_queue = qSysOpr
message = MsgMajor
if_not_matched_by_other = no
action_send_alarm = yes
action_answer_message = no
time_frame =
msg_condition =
msg_count =
answer_limit_alarm = yes
supp_key = $profile/$key

Because of this, the probe sends separate alarms for these messages

If you want both messages to create alarms that are treated as the same alarm, then you need to define a profile that will select both in the regexp_id field

For example:

active = yes
check_answered = no
check_description = no
check_id = yes
check_severity = no
check_text = no
check_type = no
min_severity = 0
regexp_id = CPF1240|Profile_name
check_job_name = no
check_user_profile_name = no
in_queue = qSysOpr
message = P4
if_not_matched_by_other = no
action_send_alarm = yes
action_answer_message = no
time_frame =
msg_condition =
msg_count =
answer_limit_alarm = yes
supp_key = $profile/$key


This will send the alerts with the same suppression key and thus the nas will treat them as the same alarm

When configuring the profile in IM or AC this field regexp_id equates to the :

'When Matching:'

Field in the profile.

Please create this new profile and deactivate the original.