Trap Adapter doesn't restart properly on server reboot
search cancel

Trap Adapter doesn't restart properly on server reboot

book

Article ID: 332056

calendar_today

Updated On:

Products

VMware Smart Assurance Network Observability

Issue/Introduction

When a server is rebooted the Trap Adapter (TA), registers with the Broker but doesn't process any traps as OI is not available by the time TA started.
 
Error observed in log:

[May 14, 2025 at 4:04:33 AM MDT +224ms] t@3571234624 <Primary Thread>
CI-D-EWHILE-While executing function "initialize"
 CI-EWHILE-While executing function "startConnector_U"; in file "/work/redcurrent/DMT-2.4.0.0/1/smarts/skclient/servif/SM_RestartableServer.c" at line 782
 SVIF-ESERVERUNAVAIL-Remote server 'INCHARGE-OI' is unavailable

Environment

All Smarts versions

Cause

Trap Adapter service is starting before the OI server starts

Resolution

  • This is an expected behavior in Smarts, the trap adapter will not process the incoming new traps if the OI domain specified in the service definition (--server=INCHARGE-OI) is not registered to the broker.
  • An enhancement request submitted which will allow the Trap Service to wait for the OI server to start before it starts. 

The fix the issue user to start the Trap Adapter service once the OI domain is started and registered with the broker:

./sm_service stop/start <TA/TE service>
 
Permanent fix is not available yet as of Nov 2025, wait for Enhancement Request to be approved.