exchange_monitor probe log shows a powershell data fetch error.
The probe fails to collect data from exchange server due to security issues. Data collector process fails to execute due to errors in impersonation.
Windows 2008 R2/Windows OS
- probe configuration and exchange server access/permissions
Please refer to the exchange_monitor probe release notes-> "Known Issues and Workarounds":
Solution: Manually add permission to the directory "probe/application/exchange_monitor" for the configured user.
Impersonation errors occurs because exchange_monitor uses logon type 2 (interactive logon) to access the Exchange server. So you have to add this user to local policy 'Allow log on locally.'
When the user does not have enough rights to access the earlier mentioned directory Powershell gives an error message saying "Returns POWERSHELL data fetch error". This is solved by adding the following rights allowed to this specific user: Read & execute, List folder contents, Read and Write.
See also-> http://technet.microsoft.com/en-us/library/ff367871%28v=exchg.141%29.aspx
- "Allow log on locally" on the Exchange server
- Allow read, write, execute, list folder contents file permissions on Nimsoft folder (specifically the exchange_monitor folder)
Whenever the user does not have enough rights to access->
on the machine where the probe itself is installed, then Powershell will throw an error message saying "Returns POWERSHELL data fetch error".
Also to execute the cmdlet on the exchange server, the user should also have 'Exchange View-Only Administrators' privilege.
Along with this, you need to add 'Exchange View-Only Administrators' group in 'Allow log on locally' policy of the exchange server.
To achieve this, open security settings and click on ‘User Rights Assignment.’ All the policies will be listed in the right pane. Double click on 'Allow log on locally' and add 'Exchange View-Only Administrators' group.
Note that in one other case, a cmd-let authentication issue was resolved by adding the cmd-let user to the Windows Administrators Group.