VIOM 9.1 SNMP Traps Not Generating ServiceNow Incidents After CMS Upgrade from 8.0.2 to 9.1

book

Article ID: 1000766277

calendar_today

Updated On:

Description

SYMPTOMS

  • SNMP traps are sent successfully from VIOM CMS (confirmed via actionagent.log and manual testing using sendSnmpv3Trap.py).

  • ServiceNow receives the traps but events land in Error state with the message:
    severity: Invalid value

  • Non-working events show:

    • Source: Trap From Enterprise 1302

    • Event Rule Applied: Veritas ops center event rule -1

    • State: Error

  • Working events (pre-upgrade) showed:

    • Source: snmpTrapEnterprise

    • Event Rule Applied: VOM Event rule for Issue

    • Mapping Rule Applied: VOM Severity Mapping

    • State: Processed

  • No automated incident creation from VIOM alerts since the upgrade date.

  • Manual monitoring is the only available workaround.

ENVIRONMENT

Component

Details

Product

InfoScale Unix/Linux - Operations Manager (IOM)

VIOM Version

9.1 (upgraded from 8.0.2)

OS

Linux

Python Version

3.11 (/usr/bin/python3.11)

pysnmpcrypto

0.1.0

SNMP Script Path

/opt/VRTSsfmh/bin/sendSnmpv3Trap.py

SNMPv3 Auth Protocol

SHA256

SNMPv3 Privacy Protocol

AES128

Enterprise OID (old)

1.3.6.1.4.1.1302.3.14.10

ServiceNow SNMP Collector

VIOM Veritas (v3, authPriv, UDP port 1170)

 

Cause

The source OID in the action.pl file changed between VIOM CMS versions 8.0.2 and 9.1. After the upgrade, the OID used in action.pl was still set to the old value (1.3.6.1.4.1.1302.3.14.10.2.1), which causes ServiceNow to identify the trap source as "Trap From Enterprise 1302" instead of "snmpTrapEnterprise". This mismatch causes the wrong ServiceNow event rule to be applied, which cannot map the severity value, resulting in the "severity: Invalid value" error.

Resolution

Modify the source OID in the action.pl file on the VIOM CMS server.

Step 1 — Locate the action.pl file

 
 
 
find /opt/VRTSsfmh/bin/ -name "action.pl"

Step 2 — Verify the current (incorrect) OID

 
 
 
cat /opt/VRTSsfmh/bin/action.pl | grep -i 1.3.6.1.4.1.1302.3.14.10.2.1
Expected output (old/broken):
 
 
 
my @alertArg = ($time,'1.3.6.1.4.1.1302.3.14.10.2.1',$eventTime,...);
push ( @oidvalues, '1.3.6.1.4.1.1302.3.14.10.2.1');

Step 3 — Replace the OID with the correct value

Replace all occurrences of:

 
 
 
1.3.6.1.4.1.1302.3.14.10.2.1

with:

 
 
 
1.3.6.1.6.3.1.1.4.3

You can use sed to do this in-place:

 
 
 
sed -i 's/1\.3\.6\.1\.4\.1\.1302\.3\.14\.10\.2\.1/1.3.6.1.6.3.1.1.4.3/g' /opt/VRTSsfmh/bin/action.pl

Step 4 — Verify the change

 
 
 
cat /opt/VRTSsfmh/bin/action.pl | grep -i 1.3.6.1.6.3.1.1.4.3

Expected output (new/working):

 
 
 
my @alertArg = ($time,'1.3.6.1.6.3.1.1.4.3',$eventTime,...);

Issue/Introduction

After upgrading VIOM CMS from version 8.0.2 to 9.1, SNMP alerts are no longer generating ServiceNow incidents/tickets. VIOM CMS sends SNMPv3 traps successfully, but ServiceNow event rules fail to map them correctly, resulting in no automated incident creation.

Additional Information

Ref : STESC-10096

  • Python 3.9 or higher is required for VIOM 9.1. Python 3.6 is not compatible.

    • Install Python 3.11: yum install python3.11 or equivalent

  • Required Python packages: pysnmpcrypto 0.1.0, cryptography ≥43.0.1, cffi ≥2.0.0, pycparser 3.0

  • SNMPv3 auth/priv protocols must be updated from MD5/DES (8.0.2) to SHA256/AES128 (9.1)