Receiving traps in the Smarts OI server but no logfile is created
search cancel

Receiving traps in the Smarts OI server but no logfile is created

book

Article ID: 314577

calendar_today

Updated On:

Products

VMware Smart Assurance

Issue/Introduction

Symptoms:




Receiving traps in the Smarts OI server but no logfile is created

Environment

VMware Smart Assurance - SMARTS

Cause

LogFile is set to NONE (default).

Resolution

Edit SAM_BASEDIR\smarts\local\conf\icoi\trap_mgr.conf file.  Make sure the entry for the trap has a LogFile line in it.
Example:

BEGIN_TRAP .1.3.6.1.4.1.9.9.138.2.* 6 1
        ClassName:        Host
        InstanceName:     $SYS$
        EventName:        ceAlarmAsserted-$V1$-$V2$
        Severity:         1
        EventText:        ceAlarmHistEntPhysicalIndex = $V1$, ceAlarmHistAlarmType = $V2$, ceAlarmHistSeverity = $V3$, ceAlarmHistTimeStamp = $V4$
        Expiration:       0
        State:            NOTIFY
        EventType:        DURABLE
        LogFile:          my_log.txt
END_TRAP