Hello Vinay,
If you installed APM using the logical server name, and not the IP, then the point of failure is in EEM, as you mentioned.
There are probably some EEM configuration files that have the IP address stored.
If you have not already, please contact the ITAM support team, we can engage our EEM specialists to assist further.
Best Regards,
Gale Bacon
CA Technologies