Поделиться через


AD Trust Monitor doesn’t reset to Healthy State

The Active Directory Management Pack (ADMP) – version 6.0.6452.0 – contains a monitor named “AD Trust Monitoring”.  This monitor runs a VBScript which queries WMI to get the status of the Domain Trusts on the Domain Controller.  Is the trust has an error status, the Monitor should change to a critical state, when the error status goes away, it should change back to a Healthy State:

image

 

The problem is that, with default settings, once the Monitor goes into a Critical state, it will not change back to a Healthy state once the Trust problem is resolved.  This is due to a bug in the script, where the value that is used to set the “Good” state is dependent on an override being set.  Without getting into the details, just know that the only way to get the Monitor to work properly (so that state is changed from Critical to Healthy when a Trust problem is resolved), is to set the “LogSuccessEvent” override to “True”:

image

 

Setting this Override will also cause the script to log an event to the OpsMgr Event Log every time it completes successfully.

Comments

  • Anonymous
    January 01, 2003
    Are you sure you're looking at the same Monitor?  Can you email a screen shot?

  • Anonymous
    May 29, 2009
    This worked like a charm!  I had been trying to resolve for days.

  • Anonymous
    July 14, 2009
    Thanks, it did the trick for me. Martin

  • Anonymous
    August 19, 2009
    I can't find that parameter. I find all the other parameters in the picture.

  • Anonymous
    December 04, 2009
    Thanks very much. This info was the last piece of the puzzle for me to have my AD in healthy state.

  • Anonymous
    January 08, 2010
    The comment has been removed

  • Anonymous
    January 24, 2010
    Hi. Details of the script are available here: http://nocentdocent.wordpress.com/2009/10/04/ad-mp-ad-trust-monitoring-bug/

  • Anonymous
    January 29, 2010
    Thank you very much.  This has helped me tremendously

  • Anonymous
    March 24, 2010
    Nice. Cleared up some of my alerts.