CloudBees CD (CloudBees Flow) uses an enabled host licensing scheme. How can I determine who is using a host license?
The agent running on the Server does not count against the agent license limit, as long as the Resource addresses it by the name "localhost".
If, for some reason, you create multiple Resources that all point to the same agent, this scenario only counts as one agent use, as long as the strings that defines the hostname are all exactly the same.
As of v.4.2.0, a remote Webserver and a remote Repository server both require a local agent. Each of those need to be a fully configured resource and can use a host license if a job is run on it.
Current license usage statistics are available from:
The command "ectool getLicenseUsage", note the "concurrentResources" usage section
Under the GUI tab "Cloud" (formally "Resource") the subtab "Resource" summarizes the current usage statistics