Smarts SAM: trap-notify.conf file returns the following error when starting the service - TrapConfiguration::Trap-Configuration: Expected assignment for property 'Destinations', got: '= { {"x.x.x.252", 162, "V1"},'
book
Article ID: 331653
calendar_today
Updated On:
Products
VMware Smart Assurance
Issue/Introduction
Symptoms:
The following has been inserted in the trap-notify.conf file: serverName = "x.x.x.92:9001/AGGR-SA"11:46:07 Destinations = { {"x.x.x.252", 162, "V1"},
Upon starting the Trap Notifier Adapter, we get the following errors in the log file: [December 2, 2016 1:31:33 PM GMT+02:00 +577ms] t@1503405680 sm_notify ASL_MSG-*-ASLP-import.asl: TrapConfiguration::Trap-Configuration: Expected assignment for property 'Destinations', got: '= { {"x.x.x.252", 162, "V1"},'
[December 2, 2016 1:31:33 PM GMT+02:00 +579ms] t@1503405680 sm_notify GNA-E-EDRIVERINIT-While initializing adapter driver 'trap-Notifier' MR-CALL_ON_NULL_OBJECT-Tried to make a call on a NULL repository object
Environment
VMware Smart Assurance - SMARTS
Cause
The problem is the extra comma in the Destinations. From the above, you only have 1 destination set, but the comma after the "}" means Smarts is expecting another.
Resolution
To resolve this issue change the destinations to the following: