Source code of Windows XP (NT5)
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.

78 lines
2.7 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 = "{5bc8d3d7-0784-4740-9a3a-3cfe74150c91}";
  10. Name = "ADREPLPV DataGroup";
  11. Description = "Monitors active directory replication";
  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 = "{fdbc94ab-a8da-409f-a7d3-1ad1f9aaf9c4}";
  25. TypeGUID = "{03B9B361-2299-11d3-BE00-0000F87A3912}";
  26. Name = "Replication connection";
  27. Description = "Monitors the replication connection from one source/NC pair";
  28. TargetNamespace = "ROOT\\MicrosoftADStatus";
  29. Context = NULL;
  30. // CollectionIntervalMultiple = 10; workaround Black Circle Bug
  31. CollectionIntervalMultiple = 60;
  32. StatisticsWindowSize = 6;
  33. // ActiveDays = 00111110B;
  34. // BeginTime = "********0600**.******+***";
  35. // EndTime = "********2300**.******+***";
  36. RequireReset = FALSE;
  37. Enabled = TRUE;
  38. Properties = {"ModifiedNumConsecutiveSyncFailures"};
  39. // 1528 StatisticsPropertyNames = {"ModifiedNumConsecutiveSyncFailures"};
  40. // 1540 Properties = {"ModifiedNumConsecutiveSyncFailures"};
  41. ObjectPath = "Microsoft_ADReplStatus";
  42. };
  43. instance of Microsoft_HMConfigurationAssociation
  44. {
  45. ParentPath = $DG1;
  46. ChildPath = $PGDE1;
  47. };
  48. // RULE(S)
  49. instance of Microsoft_HMThresholdConfiguration AS $R1
  50. {
  51. GUID = "{c8c4d8c6-a793-4b9b-85d7-e76db4e94c9e}";
  52. Name = "Replication Failing";
  53. Description = "Rule: Is this a connection from a non-deleted NC which is failing to replicate?";
  54. ID = 1234;
  55. PropertyName = "ModifiedNumConsecutiveSyncFailures";
  56. UseFlag = 0;
  57. TestCondition = 1; // ">" test
  58. CompareValue = "0";
  59. // 1528 RuleCondition = 1; // ">" test
  60. // 1528 RuleValue = "0";
  61. // 1540 TestCondition = 1; // ">" test
  62. // 1540 CompareValue = "0";
  63. ThresholdDuration = 0;
  64. State = 0; // CRITICAL
  65. CreationDate = "19990330******.000000+***";
  66. LastUpdate = "19990330******.000000+***";
  67. Message = "%CurrentValue% failures: %InstanceName%";
  68. ResetMessage = "OK: %InstanceName%";
  69. Enabled = TRUE;
  70. };
  71. instance of Microsoft_HMConfigurationAssociation
  72. {
  73. ParentPath = $PGDE1;
  74. ChildPath = $R1;
  75. };