sysedge sendtrap will be utilized to send alerts to UIM (how do I alter the severity)
search cancel

sysedge sendtrap will be utilized to send alerts to UIM (how do I alter the severity)

book

Article ID: 205422

calendar_today

Updated On:

Products

DX Unified Infrastructure Management (Nimsoft / UIM)

Issue/Introduction

How do I alter the severity of alerts that show up in UIM using something like this. The traps are going to UIM but how do I change the severity of the alarm in UIM?

$ cat snmp-warning-test-trap.sh
#!/bin/sh

traphost=<hostname of device>
NODE=`hostname`
community=public
montrapOID="1.3.6.1.4.1.546.1.1 6 1 1.3.6.1.4.1.546.11.1.1 -i 42 1.3.6.1.4.1.546.11.1.2 -s 'str'"

/opt/CA/SystemEDGE/bin/sendtrap -f $NODE -v 2c -h $traphost -c $community $montrapOID
if [ $? -eq 0 ] ; then
   echo "WARNING test trap sent. `date`"
fi
$

Environment

Release: 20.1
Component: nas

Resolution

You can use the nas to escalate (increase) or de-escalate (decrease) the alarm severity. To increase the severity, use an action type to escalate it. You can use one or more filters but an easy way to do it is using a Message string filter, format such as /.*<substring>.*/ and filter on the host, OID, etc.

Alternatively, you can use a nas preprocessing (custom) rule:

Change severity of an alarm using a nas preprocessing rule

https://knowledge.broadcom.com/external/article/34685/change-severity-of-an-alarm-using-a-nas.html