MS Office SharePoint Monitor - FAQ

MS Office SharePoint Monitor - FAQ

1. What are the ports used in SharePoint Server monitoring?

  1. WMI mode:
    1. Remote Procedure Call (RPC): Port 135 (default)
    2. Dynamic DCOM  Ports: WMI uses DCOM for remote communication, which typically involves a random port number above 1024 for the server response. Refer here for more details.
  2. PowerShell mode:
    1. PowerShell remoting: TCP 5985 (HTTP) | TCP 5986 (HTTPS)

2. What to do if data is retrieved when running the script manually, but not collected by the SharePoint Server monitor in Applications Manager? 

  1. Verify the Host Reference: Check whether the prerequisites were executed using the hostnameIP address, or FQDN. Confirm which of these was used during manual execution, and ensure the same value is configured in the SharePoint Server monitor settings in Applications Manager. A mismatch here can lead to data collection failures.
  2. Run the script from the Applications Manager Server: Open Command Prompt as Administrator on the Applications Manager server and run the script in the following format to identify issues:
Info
Command: 
powershell.exe -ExecutionPolicy Bypass -NoLogo -NonInteractive -NoProfile "&{& '<script-with-full-path>' <arguments>}"
Example: 
powershell.exe -ExecutionPolicy Bypass -NoLogo -NonInteractive -NoProfile "&{& '<AppManager-Home>\working\conf\application\scripts\powershell\TestConnectivity.ps1' 'host' 'username' 'password'}"
Note:
Refer to this KB for the list of scripts which are used to fetch the data in SharePoint Server monitor.
  1. Refer to this KB article for additional troubleshooting steps.

3. When should CredSSP Authentication be enabled in the SharePoint Server monitor?

CredSSP Authentication should be enabled in the SharePoint Server monitor in PowerShell mode under the following scenarios:
  1. When the Installation Type is set to SharePoint Farm Server, allowing the monitored server to discover other servers in the farm.
  2. When the Installation Type is set to SharePoint Server, but: 
    1. The monitored server is a part of a SharePoint Farm, or
    2. The monitored server is belongs to a different domain than the Applications Manager domain
Notes
Refer this KB article for prerequisites and steps to configure CredSSP.

4. How do I change the SharePoint Farm discovery interval?

From Applications Manager version 175900 onwards, SharePoint Farm discovery is performed once every 12 hours.
  1. To change this value, navigate to Settings → Performance polling → Optimize Data Collection
  2. Under Monitor Type, select MS Office SharePoint.
  3. Select Performance under Metric Name
  4. Update the value for SharePoint Farm discovery interval in hours and click on Save.
You can set the interval to any value in between 1 and 168 hours (up to 7 days).

5. How to disable alerts for missing WMI classes or PowerShell commands in the SharePoint Server?

From Applications Manager version 175900 onwards, if certain WMI classes or PowerShell commands are unavailable or return no data during SharePoint Server monitoring, an alert stating "Unable to collect data as there is no data returned" will be displayed. 
To avoid receiving this alert:
  1. Go to Settings → Performance polling → Optimize Data Collection
  2. Under Monitor Type, select MS Office SharePoint.
  3. Choose Performance as the Metric Name.
  4. Uncheck the Enable alert for no data collected option and click on Save.
Notes
This will only suppress alerts only when there is no data in the SharePoint Server. Alerts for other data collection errors will still be triggered. 

                  New to ADSelfService Plus?