Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

68 lines
2.4 KiB

  1. #pragma namespace("\\root\\cimv2\\microsoftHealthMonitor")
  2. // 1528: #pragma namespace("\\root\\HealthMon")
  3. // 1540: #pragma namespace("\\root\\cimv2\\microsoftHealthMonitor")
  4. ////////////////////////////////////////////////////////////////////////////////
  5. // A TOP LEVEL DATA GROUP
  6. ////////////////////////////////////////////////////////////////////////////////
  7. instance of Microsoft_HMDataGroupConfiguration AS $DG1
  8. {
  9. GUID = "{383fa354-3f37-4bf0-a4f5-42f4d069416e}";
  10. Name = "Inter-Domain Trust";
  11. Description = "Monitors Trust Relationships";
  12. Enabled = TRUE;
  13. };
  14. instance of Microsoft_HMConfigurationAssociation
  15. {
  16. ParentPath = "Microsoft_HMSystemConfiguration=@";
  17. ChildPath = $DG1;
  18. };
  19. ////////////////////////////////////////////////////////////////////////////////
  20. // POLLED GET OBJECT DATA ELEMENT - FOR A SINGLE INSTANCE
  21. ////////////////////////////////////////////////////////////////////////////////
  22. instance of Microsoft_HMPolledGetObjectDataCollectorConfiguration AS $PGDE1
  23. {
  24. GUID = "{78b41c94-bce7-486c-9c62-01cde6f02f12}";
  25. TypeGUID = "{03B9B361-2299-11d3-BE00-0000F87A3912}";
  26. Name = "Trust Status";
  27. Description = "Monitors an inter-domain trust to see if it is still OK";
  28. TargetNamespace = "ROOT\\MicrosoftADStatus";
  29. Context = NULL;
  30. // CollectionIntervalMultiple = 1800;
  31. CollectionIntervalMultiple = 120;
  32. CollectionTimeOut = 60;
  33. StatisticsWindowSize = 6;
  34. RequireReset = FALSE;
  35. Enabled = TRUE;
  36. Properties = {"TrustStatus"};
  37. ObjectPath = "Microsoft_DomainTrustStatus";
  38. };
  39. instance of Microsoft_HMConfigurationAssociation
  40. {
  41. ParentPath = $DG1;
  42. ChildPath = $PGDE1;
  43. };
  44. // THRESHOLD(S)
  45. instance of Microsoft_HMThresholdConfiguration AS $R1
  46. {
  47. GUID = "{99ed119f-8dd8-4b21-9f40-d08d7fafcfed}";
  48. Name = "Polled Trust Events";
  49. Description = "If the inter-domain trust is OK, then the returned status will be zero. A non-zero status is reported as an error.";
  50. ID = 1234;
  51. PropertyName = "TrustStatus";
  52. UseFlag = 0;
  53. TestCondition = 1; // ">" test
  54. CompareValue = "0";
  55. ThresholdDuration = 0;
  56. State = 9; // CRITICAL
  57. Message = "Failed: %InstanceName%, error: %CurrentValue%: %EmbeddedInstance.TrustStatusString%";
  58. ResetMessage = "%InstanceName%: %EmbeddedInstance.TrustStatusString%";
  59. Enabled = TRUE;
  60. };
  61. instance of Microsoft_HMConfigurationAssociation
  62. {
  63. ParentPath = $PGDE1;
  64. ChildPath = $R1;
  65. };