Smarts SAM: How can we differentiate between Watch4Net APG trap severities sent to the Smarts SAM Server?
search cancel

Smarts SAM: How can we differentiate between Watch4Net APG trap severities sent to the Smarts SAM Server?

book

Article ID: 327682

calendar_today

Updated On:

Products

VMware

Issue/Introduction

Symptoms:


How can we differentiate between Watch4Net APG trap severities sent to the Smarts Service Assurance Manager (Smarts SAM) Server?

When sending traps from Watch4Net APG to Smarts SAM server, only severity "2 - notify" and "4 - clear" are recognized

Environment

VMware Smart Assurance - SMARTS

Cause

Without the code modification in the following Fix statement, Watch4Net APG sent to Smarts SAM server will recognize only severity "2 - notify" and "4 - clear".

Resolution

The following code example from the Smarts trap_mgr.conf configuration file shows how to configure Smarts SAM to recognize all Watch4Net APG trap severities:

# Repeater Trap Defintions

# ------------------------

BEGIN_TRAP .1.3.6.1.2.1.22.* 6 1

ClassName: Host

InstanceName: $SYS$

EventName: rptrHealth

Severity: 1

EventText: Repeater Operational Status = $V1$

Map: {

V1

1 = other

2 = ok

3 = rptrFailure

4 = groupFailure

5 = portFailure

6 = generalFailure

}

Expiration: 600

State: NOTIFY

EventType: MOMENTARY

END_TRAP