The VMware Smart Assurance IP Manager Reference Guide shows how the custom-end-system.asl script identifies systems for processing. The discovery process automatically assigns the following value to the AgentName variable:

Name of SNMP agent that is hosted by the system that is currently being discovered

The custom-end-system.asl script uses the value of AgentName to obtain the name of the system by invoking the getSystem() operation on the SNMP agent object.

The custom-start-system.asl script uses the same method to identify systems for processing.