Hi Andy,
Here are my settings. I have been changing the tgtDomain to try to break it, but I cannot replicate your error. There were two ways that I could replicate your error.
1. Typo in tgtDomain versus domain name, i.e. tgtDomain="CA" and domain name="CAASM"
2. Case sensitivity. tgtDomain="CA" and domain name="ca"
I can get it working by doing the following:
1. Setting MOM domains.xml and MOM agentclusters.xml to the below and let MOM dynamically send the domains over.
2. Setting MOM and all Collectors domains.xml manually and set MOM agentclusters.xml to the below.
3. Using #1 or #2 above and stopping all EM's in the cluster, make the changes and start Collectors first and after they come up, start MOM
4. Using #1 or #2 above and stopping all EM's in the cluster, make the changes and start MOM first and after that comes up, start the Collectors
My domains.xml
<domain name="CA" description="Test Adding Cloud Monitor to Domain">
<agent mapping=""/>
</domain>
My agentclusters.xml
<agent-cluster name="Test_CloudMonitor_VirtualAgent" domain="SuperDomain" tgtDomain="CA">
<agent-specifier>.*\|APMCloudMonitor\|APMCloudMonitorAgent</agent-specifier>
<metric-specifier>APM Cloud Monitor\|CNN\|.*</metric-specifier>
</agent-cluster>
So it is hard to say what is causing your issue. What I would do is this.
1. Verify that your 'tgtDomain' and 'domain name' are the same including case. The parser is case sensitive.
2. If everything looks good, then enable DEBUG in MOM, restart MOM and let that error happen again. Then open an issue with CA Support and upload the MOM debug, domains.xml and agentclusters.xml
Thanks,
Matt