You are seeing the following Error in the Lync Servers and users gathering.
The following error occurred during the processing of a given gathering: Connecting to remote server failed with the following error message : The server certificate on the destination computer (LyncPoolNameFQDN:443) has the following errors: The SSL certificate contains a common name (CN) that does not match the hostname. For more information, see the about_Remote_Troubleshooting Help topic.. Ensure you are using correct credentials. If you are connecting to Exchange 2013, ensure that you are using MAPI & CDO version 6.5.8320.0 (released 2013-05-17).
Verify that you typed in the correct pool name under LYnc & OCS Server Pool Details. If this is correct verify if you can connect to the pool with Powershell.
Below is how you can create a remote powershell connection to the Lync pool (Front end server)
1. $cred = Get-Credential
2. $session = New-PSSession -Computername <FQDN_of_Lync_Pool> -Credential $cred -Port 443 -ApplicationName /OcsPowershell -UseSSL -ConfigurationName http://schemas.microsoft.com/powershell/Microsoft.PowerShell
3. Import-PSSession $session
4. Get-csPool -Identity <FQDN_of_Lync_Pool>
If you are seeing the same error as above powershell can not create a remote sesssion to the lync pool\Front End server and this is something that will have to be fixed before MessageStats can gather the Lync Servers and Users data.