none
Monitoring Probe - Health Sets (Get-ServerHealth) RRS feed

  • Question

  • HI,

    Please help me with  few doubts regarding checking few health sets. Is below is right or wrong,

    Test-EcpConnectivity can be checked through health set ecp( Get-ServerHealth -HealthSet ecp )

    Test-PopConnectivity can be checked through health set pop( Get-ServerHealth -HealthSet pop)

    Test-ActiveSyncConnectivity can be checked through health set activesync( Get-ServerHealth -HealthSet activesync)

    Test-ImapConnectivity can be checked through health set imap( Get-ServerHealth -HealthSet imap)

    and for

    Question 1:

     Test-WebserviceConnectivity , what is the equivalent health set name ?.

    Question 2:

    Can multiple healthsets can be executed in one run ?

    Question 3:

    Is running this cmdlets for every 10 minutes causes any problem ?

    Thanks & Regards,

    Bharani 

    Tuesday, June 18, 2019 6:30 PM

Answers

  • Hi Bharani,

    The Name parameter lists the name of monitors. We can start with the Monitor which is in an Unhealthy state to find out some issues on your Exchange server.

    Here is a blog may help you check monitors and probes: INTRODUCTION TO MANAGED AVAILABILITY: HOW TO CHECK, RECOVER, AND MAINTAIN YOUR EXCHANGE ORGANIZATION PART II

    Note: Microsoft is providing this information as a convenience to you. The sites are not controlled by Microsoft. Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. Please make sure that you completely understand the risk before retrieving any suggestions from the above link.

    Regards,

    Lydia Zhou


    Please remember to mark the replies as answers if they helped. If you have feedback for TechNet Subscriber Support, contact tnsf@microsoft.com.

    Click here to learn more. Visit the dedicated forum to share, explore and talk to experts about Microsoft Teams.

    Friday, June 21, 2019 9:27 AM
    Moderator

All replies

  • Hi Bharani,

    The test cmdlets you mentioned are used to test related virtual directories or services. Get-ServerHealth command is used to view a list of the monitors and their current health on an Exchange server.

    You can use the following command to check all the monitors for different health sets, and export the output to a csv file:

    Get-ServerHealth <server name>|export-csv C:\health.csv -NoTypeInformation 

    The available health set names:

    • related to ECP are ECP, ECP.Proxy;
    • related to POP is POP.Protocol;
    • related to ActiveSync are ActiveSync, ActiveSync.Protocol and ActiveSync.Proxy;
    • related to IMAP is IMAP.Protocol;
    • related to WebServices are EWS, EWS.Protocol and EWS.Proxy.

    All these can be checked in the output of the above command. Here is a part of the output results. You can sort the HealthSetName for better reference:

    Regards,

    Lydia Zhou


    Please remember to mark the replies as answers if they helped. If you have feedback for TechNet Subscriber Support, contact tnsf@microsoft.com.

    Click here to learn more. Visit the dedicated forum to share, explore and talk to experts about Microsoft Teams.

    Wednesday, June 19, 2019 6:19 AM
    Moderator
  • Hi,

     Thanks for your kind reply, Could be please see the below quries,

    The name attribute obtained (eg. CrashEvent.msexchangeecpapppool) from executing these cmdlets(Get-ServerHealth -HealthSet ecp) is what ?Is it a probe, if it is a probe what are all checked during this probe execution.

     Is there any websites to learn about the results obtained from these cmdlets(Get-ServerHealth) ?

     

     Thanks & Regards,

     Bharani Karthick


    • Edited by bharanii Wednesday, June 19, 2019 10:10 AM
    Wednesday, June 19, 2019 10:09 AM
  • Hi Bharani,

    The Name parameter lists the name of monitors. We can start with the Monitor which is in an Unhealthy state to find out some issues on your Exchange server.

    Here is a blog may help you check monitors and probes: INTRODUCTION TO MANAGED AVAILABILITY: HOW TO CHECK, RECOVER, AND MAINTAIN YOUR EXCHANGE ORGANIZATION PART II

    Note: Microsoft is providing this information as a convenience to you. The sites are not controlled by Microsoft. Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. Please make sure that you completely understand the risk before retrieving any suggestions from the above link.

    Regards,

    Lydia Zhou


    Please remember to mark the replies as answers if they helped. If you have feedback for TechNet Subscriber Support, contact tnsf@microsoft.com.

    Click here to learn more. Visit the dedicated forum to share, explore and talk to experts about Microsoft Teams.

    Friday, June 21, 2019 9:27 AM
    Moderator
  • Hi,

    Just checking in to see if above information was helpful. If you would like further assistance, please feel free to reply this post directly so we will be notified to follow it up.

    Regards,

    Lydia Zhou


    Please remember to mark the replies as answers if they helped. If you have feedback for TechNet Subscriber Support, contact tnsf@microsoft.com.

    Click here to learn more. Visit the dedicated forum to share, explore and talk to experts about Microsoft Teams.

    Tuesday, June 25, 2019 9:52 AM
    Moderator
  • Lydia Zhou,

     Thank you very much for you information,

     We are not able to directly get the error result from the power shell(Get-ServerHealth) cmdlet.

    1) Is errors of unhealthy monitors can only be get through  event viewer, or is there any other ways to get it from power shell directly?

    2)From microsoft documents i read that we should not execute expensive queries in   Microsoft-Exchange-ActiveMonitoring/ProbeResult   event viewer path.So is that possible to get errors often from event viewer.

    Thanks & Regards,

    Bharani Karthick

     

    Friday, July 5, 2019 10:27 AM