Constant error messages seen in the Trap Adapter log related to timestamp
search cancel

Constant error messages seen in the Trap Adapter log related to timestamp

book

Article ID: 322898

calendar_today

Updated On:

Products

VMware Smart Assurance Network Observability

Issue/Introduction

Symptoms:

Constant Error messages in the Trap Adapter log related to timestamp
The following errors are seen in the logs:

<Date & Time> trap_mgr_parse.asl[00]: START : Timestamp 'Invalid time value' is invalid, using 'DD-MM-YYYY 12:11:35 GTB Daylight Time' instead.

Environment

All Supported Smarts Releases

Cause

The flag "USE_CURRENT_TIME" determines whether the timestamp contained in the trap or the time the trap was received will be used when creating notifications.

  • If this option is set (or defaulted) to 'FALSE', then the timestamp from the trap will be honored, unless it is invalid.
  • If this option is set to 'TRUE', the timestamp from the trap will be discarded and the current time will be used when creating notifications.

When using threads, traps can appear to come in out of order if this switch is enabled. CLEAR traps will be reordered, but other traps will appear to occur at the time they were processed.

Resolution

To resolve this issue, do the following:

  1. Open the trap_mgr.conf file found here: <Base-Dir>/smarts/local/conf/icoi/trap_mgr.conf
  2. Change the USE_CURRENT_TIME = FALSE to USE_CURRENT_TIME = TRUE
  3. Save and close the the trap_mgr.conf file.
  4. Restart the trap manager.