To get a count of agents, you can use this supportability metric
*SuperDomain*|Custom Metric Host (Virtual)|Custom Metric Process (Virtual)|Custom Metric Agent (Virtual)|Enterprise Manager|Connections|Number Of Agents
If you want more details about the agents, like the names, you would need to use something like CLW:
Thanks, yes, we have a count of the agents. I need a count of the servers that have agents reporting.
I was told that clw list agents may be able to do this . Else, I am not sure how it can be done
Thanks for the quick replies and suggestions. So, it sounds like there is not a metric for this count presently, but that with CLW, I will be able to gather the information for the active and unmounted agents and then just have to parse the results to get the specific information that I need regarding the hosts.
That is correct . See https://communities.ca.com/thread/241700103
What will be returned [host]|[appserver]|[agent];
Please feel free to ask additional questions as needed.