When a new custom agent is created (via Foglight Console | Agent Browser) and trying to add to a host, the agent list is blank and cannot add agents.
A bug in showagent list.
CR0235286 has been submitted to address this issue.
Issue fixed in next release. The patched version of showagentlist can be downloaded at
How to apply the binary patch on Foglight Server
 Goto <FGLHOME>/bin/SunOS5.*
 Rename showagentlist to showagentlist_original
 Place the new binary to <FGLHOME>/bin/SunOS5.* (ensure to provide permissions to the file as the per other files in this location)
 In FOC | start adding agents to the host.