locked
Always On discovery script failed - SQL 2012 Always on RRS feed

  • Question

  • We have been having these 'Always On discovery script failed' for SQL 2012 always on for quite long. 

    Appreciate if anyone could help me figure the issue and any resolutions for the same.

    Below is the alert description for the alerts: 

    Always On discovery script failed. Reason: Event ID: 4101. Management Group: --. Script: Main Module: AvailabilityGroupMonitoring.ps1 Version: 7.0.2.0 : Error occurred during Always On monitoring.
    Computer : <<>>
    Reason: Exception calling "LoadAllAlwaysOnPolicies" with "0" argument(s): "Data is Null. This method or property cannot be called on Null values."
    Position:215
    Offset:2
    Instance:<<>>
    Detailed error output: Exception calling "LoadAllAlwaysOnPolicies" with "0" argument(s): "Data is Null. This method or property cannot be called on Null values."

    REgards,

    Swapna M

    Wednesday, July 8, 2020 12:10 PM