Smarts SAM Adapters: What are the Default setting rule requirements in TRAP definitions, including UnknownAgent?
search cancel

Smarts SAM Adapters: What are the Default setting rule requirements in TRAP definitions, including UnknownAgent?

book

Article ID: 303984

calendar_today

Updated On:

Products

VMware

Issue/Introduction

Symptoms:





This article addresses the following questions:
  • What is the default value for UnknownAgent in the TRAP definition?
  • Does the UnknownAgent value in trap_mgr.conf need to be specified?


Environment

VMware Smart Assurance - SMARTS

Resolution

The Smarts SAM adapter trap_mgr.conf file should include the default rule settings before any TRAP Defintion. The default rule is mandatory and should include the default value for the UnknownAgent setting.

UnknownAgent values
The default value for UnknownAgent is "IGNORE" if a trap comes in from a source unknown to Smarts, the Smarts OI server will drop the trap, it will not send it to Smarts SAM.  If you set the value to "CREATE", the Smarts OI server will create a local IP instance in its rps and use the ElementInstance name from the notification as the IP->HostedBy attribute.

Default rule example
The following is an example of the default rule:

BEGIN_DEFAULTS

ClassName: SNMPTrap

InstanceName: $SYS$

EventName: $E$ $N$ $S$

Severity: 2

EventText: Varbinds: $V*$

Expiration: 7200

State: NOTIFY

InMaintenance: FALSE

ClearOnAcknowledge: TRUE

EventType: MOMENTARY

SysNameOrAddr: $A$

UnknownAgent: IGNORE (This is the default value)

LogFile: NONE

END_DEFAULTS