Smarts OI/SAM: Cannot retrieve the name of a device sending traps in Smarts ASL; SYSNAMEORADDR returns IP address instead of device name
search cancel

Smarts OI/SAM: Cannot retrieve the name of a device sending traps in Smarts ASL; SYSNAMEORADDR returns IP address instead of device name

book

Article ID: 304075

calendar_today

Updated On:

Products

VMware Smart Assurance

Issue/Introduction

Symptoms:




Cannot retrieve the name of a device sending traps in Smarts Automated Script Language (ASL).
Smarts ASL SYSNAMEORADDR returns IP address instead of device name

Smarts ASL INSTANCENAME, SYSNAMEORADDR return IP address and not device name

Environment

VMware Smart Assurance - SMARTS

Cause

This issue is seen when the device is in the Smarts OI domain, but the Smarts OI domain hasn't been synchronized with the Smarts AM-PM domain for some reason. So, the IP address for the received trap is not in the OI domain toplogy. When this happens, the INSTANCENAME or SYSNAMEORADDR will return the IP address but not the device name in ASL.

Resolution

To resolve this issue, you must link the OI domain to the AM-PM domain through the Global Configuration Console and use the Reconfigure button to apply the change. The reconfiguration will create the relationship between the SNMPAgent IP Address and the device in the topology. Once this has been done, you should be able to use the SYSNAMEORADDR or the INSTANCENAME to retrieve the name of the sending device of a trap in an ASL script.