When I navigate to Dasboards | administration | agents | agents hosts, I could see my Fglam but if I try to create an agent it fails/says could not create agent.
I even tried re-starting the FgLam service, but still the same issue.
I don't want to re-install FgLam everytime my agent creation fails.
We could delete the Hyper V agent folder from process directory to see if the creation of the agent is successful.
Stop the FgLam.
Navigate (if FgLam running as client) -> FgLam_home/state/default/process/Hyper V (or any agent that fails to create)
(if FgLam is embedded) -> FMS_Home/fglam/state/default/process/Hyper V (or any agent that fails to create)
Start the Fglam.
Then come to web console go to Dasboards | administration | agents | agents hosts (after re-start it might take a while to show up on this dashboard)
Click create agent -> once successful, go to agent status -> select agent -> Edit properties -> save.
Activate the agent (hit refresh couple of times, to make sure the agent is not going to broken state)