The CPU/Memory/Disk metrics on the home page of the instance were shown but on the global DB2 dashboard the CPU/Memory/Disk metrics
were missing. See attachment ( the first one is shown the second one is missing.)
1. Download groovy script from attachment.
2. Run it from the Foglight script editor view,
Before running the script, you need to change the line of the "inputs" and set your agent name:
def agentName = ""; ( //example for how to fill the array: agentName = "agent 1";)
If the script succeeds, you'll see an output: "Finished updating the DB2_Instance monitoredHost."
Also this will be written to the FMS log. Once this is done you will see that the DB2 host name was changed in the agent ASP and in GlobalView as well.