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.

641 lines
42 KiB

  1. ��////////////////////////////////////////////////////////////////////////////////
  2. // HMDefaults.Mof
  3. // Copyright (c)2000 Microsoft Corporation, All Rights Reserved
  4. //
  5. #pragma namespace("\\\\.\\ROOT\\CIMV2\\MicrosoftHealthMonitor")
  6. #pragma autorecover
  7. ////////////////////////////////////////////////////////////////////////////////
  8. // STATIC HIDDEN INSTANCES TO USE AS DEFAULT VALUES
  9. ////////////////////////////////////////////////////////////////////////////////
  10. ////////////////////////////////////////////////////////////////////////////////
  11. // PERFORMANCE MONITOR
  12. ////////////////////////////////////////////////////////////////////////////////
  13. instance of MicrosoftHM_PolledGetObjectDataCollectorConfiguration AS $DC1
  14. {
  15. GUID = "{03B9B361-2299-11d3-BE00-0000F87A3912}";
  16. TypeGUID = "{03B9B361-2299-11d3-BE00-0000F87A3912}";
  17. Name = "Performance Monitor";
  18. Description = "Monitors Performance Counter Data";
  19. CollectionIntervalMsecs = 60000;
  20. StatisticsWindowSize = 6;
  21. ObjectPath = "";
  22. Properties = {};
  23. RequireReset = FALSE;
  24. TargetNamespace = "root\\cimv2\\MicrosoftHealthmonitor\\perfmon";
  25. Enabled = FALSE;
  26. Hidden = TRUE;
  27. Message = "%Name% : %State% condition. (WMI Status: %CollectionErrorCode% %CollectionErrorDescription%)";
  28. ResetMessage = "%Name% is Ok.";
  29. };
  30. instance of MicrosoftHM_ThresholdConfiguration AS $DC1T1
  31. {
  32. GUID = "{4DC9E556-8711-4944-B7C3-E8E8A679BBB9}";
  33. Name = "Error Code (from WMI) != 0";
  34. Description = "Verify the return error code from the Collection";
  35. PropertyName = "CollectionErrorCode";
  36. UseFlag = 0;
  37. TestCondition = 3; // "!=" test
  38. CompareValue = "0";
  39. ThresholdDuration = 0;
  40. State = 9; // CRITICAL
  41. Enabled = TRUE;
  42. };
  43. instance of MicrosoftHM_ConfigurationAssociation
  44. {
  45. ParentPath = $DC1;
  46. ChildPath = $DC1T1;
  47. };
  48. ////////////////////////////////////////////////////////////////////////////////
  49. // COM+ MONITOR
  50. ////////////////////////////////////////////////////////////////////////////////
  51. instance of MicrosoftHM_PolledGetObjectDataCollectorConfiguration AS $DC2
  52. {
  53. GUID = "{E2F3E715-AEE4-454e-AB05-D062DBBFAA0F}";
  54. Name = "COM+ Application Monitor";
  55. Description = "Monitors COM+ Data Objects";
  56. CollectionIntervalMsecs = 60000;
  57. StatisticsWindowSize = 6;
  58. ObjectPath = "MicrosoftComPlus_AppStats.AppName=\"\",MaxIdleTimeSeconds=180";
  59. Properties = {"AbortedTransactionsPerSecond", "AdminShutdowns", "AppName", "CommittedTransactionsPerSecond", "FailureShutdowns", "HandleCount", "ObjectActivationsPerSecond", "ObjectCreationsPerSecond", "ObjectPoolTimeouts", "ThreadCount", "TimeoutShutdowns", "TotalAbortedTransactions", "TotalCommittedTransactions", "TotalShutdowns", "VirtualSize", "WorkingSetSize"};
  60. RequireReset = FALSE;
  61. TargetNamespace = "root\\cimv2\\MicrosoftHealthmonitor";
  62. TypeGUID = "{E2F3E715-AEE4-454e-AB05-D062DBBFAA0F}";
  63. Hidden = TRUE;
  64. Enabled = FALSE;
  65. Message = "%EmbeddedCollectedInstance.AppName% Application: %State% condition. (WMI Status: %CollectionErrorCode% %CollectionErrorDescription%)";
  66. ResetMessage = "%Name% is Ok.";
  67. };
  68. instance of MicrosoftHM_ThresholdConfiguration AS $DC2T1
  69. {
  70. GUID = "{C5F4BF3C-4115-4af6-BE88-289A0A310B93}";
  71. Name = "Failure Shutdowns > 0";
  72. Description = "Unexpected shutdowns since monitoring began.";
  73. PropertyName = "FailureShutdowns";
  74. TestCondition = 1; // >
  75. CompareValue = "0";
  76. State = 9;
  77. ThresholdDuration = 0;
  78. UseFlag = 0;
  79. Hidden = TRUE;
  80. };
  81. instance of MicrosoftHM_ConfigurationAssociation
  82. {
  83. ParentPath = $DC2;
  84. ChildPath = $DC2T1;
  85. };
  86. instance of MicrosoftHM_ThresholdConfiguration AS $DC2T2
  87. {
  88. GUID = "{D9F360C9-6D23-4c9e-B0A2-1E200824B1DE}";
  89. Name = "Aborted Transactions/Sec > 0";
  90. Description = "Aborted transactions per second since the last query.";
  91. PropertyName = "AbortedTransactionsPerSecond";
  92. TestCondition = 1; // >
  93. CompareValue = "0";
  94. State = 8;
  95. ThresholdDuration = 0;
  96. UseFlag = 0;
  97. Hidden = TRUE;
  98. };
  99. instance of MicrosoftHM_ConfigurationAssociation
  100. {
  101. ParentPath = $DC2;
  102. ChildPath = $DC2T2;
  103. };
  104. instance of MicrosoftHM_ThresholdConfiguration AS $DC2T3
  105. {
  106. GUID = "{EE354542-4D17-4860-B963-5BD41069B1D7}";
  107. Name = "Error Code (from WMI) != 0";
  108. Description = "Verify the return error code from the Collection";
  109. PropertyName = "CollectionErrorCode";
  110. UseFlag = 0;
  111. TestCondition = 3; // "!=" test
  112. CompareValue = "0";
  113. ThresholdDuration = 0;
  114. State = 9; // CRITICAL
  115. Enabled = TRUE;
  116. };
  117. instance of MicrosoftHM_ConfigurationAssociation
  118. {
  119. ParentPath = $DC2;
  120. ChildPath = $DC2T3;
  121. };
  122. ////////////////////////////////////////////////////////////////////////////////
  123. // HTTP MONITOR
  124. ////////////////////////////////////////////////////////////////////////////////
  125. instance of MicrosoftHM_PolledGetObjectDataCollectorConfiguration AS $DC3
  126. {
  127. GUID = "{C90CD4CD-2297-11d3-BE00-0000F87A3912}";
  128. Name = "Default HTTP Monitor";
  129. Description = "HTTP Monitor";
  130. ObjectPath = "HTTPProvider.Method=\"GET\",Url=\"http://\",TimeoutMSecs=30000,AuthType=0,FollowRedirects=1,ExtraHeaders=\"User-Agent: Mozilla/4.0 (compatible; MSIE 5.01; Windows 5.0; HealthMon 2.1)%0D%0A\"";
  131. Properties = {"StatusCode", "StatusText", "ResponseTime", "ErrorDescription", "ContentLength", "TextResponse", "RawHeaders", "ContentType", "Cookie", "LastModified"};
  132. RequireReset = FALSE;
  133. TargetNamespace = "root\\cimv2\\MicrosoftHealthmonitor";
  134. TypeGUID = "{C90CD4CD-2297-11d3-BE00-0000F87A3912}";
  135. Hidden = TRUE;
  136. Enabled = FALSE;
  137. Message = "%EmbeddedCollectedInstance.URL% request failed: %State% condition. HTTP Status: %EmbeddedCollectedInstance.StatusCode% %EmbeddedCollectedInstance.StatusText% %EmbeddedCollectedInstance.ErrorDescription%. Response Time (msec): %EmbeddedCollectedInstance.ResponseTime%. (WMI Status: %CollectionErrorCode% %CollectionErrorDescription%)";
  138. ResetMessage = "%EmbeddedCollectedInstance.URL% request succeeded in %EmbeddedCollectedInstance.ResponseTime% msecs";
  139. };
  140. instance of MicrosoftHM_ThresholdConfiguration AS $DC3T1
  141. {
  142. GUID = "{9AB87A44-478A-4f3a-A61E-BC0A1A80B7B3}";
  143. Name = "Status code (HTTP) >= 400";
  144. Description = "Test if the return status code is okay.";
  145. PropertyName = "StatusCode";
  146. TestCondition = 4; // >=
  147. CompareValue = "400";
  148. State = 9;
  149. ThresholdDuration = 0;
  150. UseFlag = 0;
  151. Hidden = TRUE;
  152. };
  153. instance of MicrosoftHM_ConfigurationAssociation
  154. {
  155. ParentPath = $DC3;
  156. ChildPath = $DC3T1;
  157. };
  158. instance of MicrosoftHM_ThresholdConfiguration AS $DC3T2
  159. {
  160. GUID = "{308C10D4-DDFE-4127-8214-9D827517E770}";
  161. Name = "ResponseTime > 30";
  162. Description = "Test if the response time is too high";
  163. PropertyName = "ResponseTime";
  164. TestCondition = 1; // >
  165. CompareValue = "30000";
  166. State = 9;
  167. ThresholdDuration = 0;
  168. UseFlag = 0;
  169. Hidden = TRUE;
  170. };
  171. instance of MicrosoftHM_ConfigurationAssociation
  172. {
  173. ParentPath = $DC3;
  174. ChildPath = $DC3T2;
  175. };
  176. instance of MicrosoftHM_ThresholdConfiguration AS $DC3T3
  177. {
  178. GUID = "{AD03BA50-67FC-4308-BDB7-F194D6948356}";
  179. Name = "Error Code (from WMI) != 0";
  180. Description = "Verify the return error code from the Collection";
  181. PropertyName = "CollectionErrorCode";
  182. UseFlag = 0;
  183. TestCondition = 3; // "!=" test
  184. CompareValue = "0";
  185. ThresholdDuration = 0;
  186. State = 9; // CRITICAL
  187. Enabled = TRUE;
  188. };
  189. instance of MicrosoftHM_ConfigurationAssociation
  190. {
  191. ParentPath = $DC3;
  192. ChildPath = $DC3T3;
  193. };
  194. ////////////////////////////////////////////////////////////////////////////////
  195. // WMI Instance
  196. ////////////////////////////////////////////////////////////////////////////////
  197. instance of MicrosoftHM_PolledGetObjectDataCollectorConfiguration AS $DC4
  198. {
  199. CollectionIntervalMsecs = 60000;
  200. Description = "WMI Instance Data Monitor";
  201. GUID = "{C90CD4CA-2297-11d3-BE00-0000F87A3912}";
  202. Name = "WMI Instance Monitor";
  203. ObjectPath = "";
  204. Properties = {};
  205. RequireReset = FALSE;
  206. StatisticsWindowSize = 6;
  207. TargetNamespace = "ROOT\\CIMV2";
  208. TypeGUID = "{C90CD4CA-2297-11d3-BE00-0000F87A3912}";
  209. Enabled = FALSE;
  210. Hidden = TRUE;
  211. Message = "%Name% : %State% condition. (WMI Status: %CollectionErrorCode% %CollectionErrorDescription%)";
  212. ResetMessage = "%Name% is Ok.";
  213. };
  214. instance of MicrosoftHM_ThresholdConfiguration AS $DC4T1
  215. {
  216. GUID = "{92C94FA3-EE0A-4a50-9AC4-1C281A37CDE6}";
  217. Name = "Error Code (from WMI) != 0";
  218. Description = "Verify the return error code from the Collection";
  219. PropertyName = "CollectionErrorCode";
  220. UseFlag = 0;
  221. TestCondition = 3; // "!=" test
  222. CompareValue = "0";
  223. ThresholdDuration = 0;
  224. State = 9; // CRITICAL
  225. Enabled = TRUE;
  226. };
  227. instance of MicrosoftHM_ConfigurationAssociation
  228. {
  229. ParentPath = $DC4;
  230. ChildPath = $DC4T1;
  231. };
  232. ////////////////////////////////////////////////////////////////////////////////
  233. // Ping (ICMP) Monitor
  234. ////////////////////////////////////////////////////////////////////////////////
  235. instance of MicrosoftHM_PolledMethodDataCollectorConfiguration AS $DC5
  236. {
  237. Arguments = {
  238. instance of MicrosoftHM_Context
  239. {
  240. Name = "IPAddress";
  241. Type = 8;
  242. Value = "";
  243. },
  244. instance of MicrosoftHM_Context
  245. {
  246. Name = "TimeOut";
  247. Type = 19;
  248. Value = "10";
  249. },
  250. instance of MicrosoftHM_Context
  251. {
  252. Name = "Tries";
  253. Type = 19;
  254. Value = "4";
  255. }};
  256. GUID = "{D442E727-971E-11d3-BE93-0000F87A3912}";
  257. MethodName = "Ping";
  258. Name = "Ping (ICMP) Monitor";
  259. ObjectPath = "HMPingPoller";
  260. Properties = {"Status"};
  261. RequireReset = FALSE;
  262. TargetNamespace = "root\\cimv2\\MicrosoftHealthmonitor";
  263. TypeGUID = "{D442E727-971E-11d3-BE93-0000F87A3912}";
  264. Enabled = FALSE;
  265. Hidden = TRUE;
  266. Message = "%Name%: ping failed. (WMI Status: %CollectionErrorCode% %CollectionErrorDescription%)";
  267. ResetMessage = "%Name%: ping succeeded.";
  268. };
  269. instance of MicrosoftHM_ThresholdConfiguration AS $DC5T1
  270. {
  271. GUID = "{0C844BCD-111D-42f5-AC5C-A5EBBEE357AA}";
  272. Name = "Status != 0";
  273. Description = "Tests the return status being OK.";
  274. PropertyName = "Status";
  275. TestCondition = 3; // !=
  276. CompareValue = "0";
  277. State = 9;
  278. ThresholdDuration = 0;
  279. UseFlag = 0;
  280. Hidden = TRUE;
  281. };
  282. instance of MicrosoftHM_ConfigurationAssociation
  283. {
  284. ParentPath = $DC5;
  285. ChildPath = $DC5T1;
  286. };
  287. instance of MicrosoftHM_ThresholdConfiguration AS $DC5T2
  288. {
  289. GUID = "{A453D98E-8774-48b0-A80A-03F4117AE91C}";
  290. Name = "Error Code (from WMI) != 0";
  291. Description = "Verify the return error code from the Collection";
  292. PropertyName = "CollectionErrorCode";
  293. UseFlag = 0;
  294. TestCondition = 3; // "!=" test
  295. CompareValue = "0";
  296. ThresholdDuration = 0;
  297. State = 9; // CRITICAL
  298. Enabled = TRUE;
  299. };
  300. instance of MicrosoftHM_ConfigurationAssociation
  301. {
  302. ParentPath = $DC5;
  303. ChildPath = $DC5T2;
  304. };
  305. ////////////////////////////////////////////////////////////////////////////////
  306. // Service Monitor
  307. ////////////////////////////////////////////////////////////////////////////////
  308. instance of MicrosoftHM_PolledGetObjectDataCollectorConfiguration AS $DC8
  309. {
  310. GUID = "{C90CD4CF-2297-11d3-BE00-0000F87A3912}";
  311. Name = "Service Monitor";
  312. Properties = {"Started", "State", "Status"};
  313. ObjectPath = "Win32_Service.Name=\"\"";
  314. RequireReset = FALSE;
  315. TargetNamespace = "root\\cimv2";
  316. TypeGUID = "{C90CD4CF-2297-11d3-BE00-0000F87A3912}";
  317. Enabled = FALSE;
  318. Hidden = TRUE;
  319. Message = "%EmbeddedCollectedInstance.Name% service is %EmbeddedCollectedInstance.State%: %State% condition. (WMI Status: %CollectionErrorCode% %CollectionErrorDescription%)";
  320. ResetMessage = "%Name% is Ok.";
  321. };
  322. instance of MicrosoftHM_ThresholdConfiguration AS $DC8T1
  323. {
  324. GUID = "{48C4F538-60CD-4C03-A41C-A90DE6BEA5A7}";
  325. Name = "Started != True";
  326. Description = "Verifies that the service is always in started state";
  327. State = 9;
  328. PropertyName = "Started";
  329. TestCondition = 3; // !=
  330. CompareValue = "1";
  331. ThresholdDuration = 0;
  332. UseFlag = 0;
  333. Hidden = TRUE;
  334. };
  335. instance of MicrosoftHM_ConfigurationAssociation
  336. {
  337. ParentPath = $DC8;
  338. ChildPath = $DC8T1;
  339. };
  340. instance of MicrosoftHM_ThresholdConfiguration AS $DC8T2
  341. {
  342. GUID = "{88494FA4-66C2-41a5-9B3C-8A26CFC6267B}";
  343. Name = "Error Code (from WMI) != 0";
  344. Description = "Verify the return error code from the Collection";
  345. PropertyName = "CollectionErrorCode";
  346. UseFlag = 0;
  347. TestCondition = 3; // "!=" test
  348. CompareValue = "0";
  349. ThresholdDuration = 0;
  350. State = 9; // CRITICAL
  351. Enabled = TRUE;
  352. };
  353. instance of MicrosoftHM_ConfigurationAssociation
  354. {
  355. ParentPath = $DC8;
  356. ChildPath = $DC8T2;
  357. };
  358. ////////////////////////////////////////////////////////////////////////////////
  359. // WMI Query
  360. ////////////////////////////////////////////////////////////////////////////////
  361. instance of MicrosoftHM_PolledQueryDataCollectorConfiguration AS $DC10
  362. {
  363. GUID = "{EF1D6A51-2759-11d3-9390-00A0CC406605}";
  364. Name = "WMI Data Query";
  365. Properties = {};
  366. Query = "";
  367. RequireReset = FALSE;
  368. TargetNamespace = "ROOT\\CIMV2";
  369. TypeGUID = "{EF1D6A51-2759-11d3-9390-00A0CC406605}";
  370. Enabled = FALSE;
  371. Hidden = TRUE;
  372. Message = "%Name% : %State% condition. Instance: %InstanceName% (WMI Status: %CollectionErrorCode% %CollectionErrorDescription%)";
  373. ResetMessage = "%Name% Instance: %InstanceName% is Ok.";
  374. };
  375. instance of MicrosoftHM_ThresholdConfiguration AS $DC10T1
  376. {
  377. GUID = "{240C3B2B-8439-49ed-BD78-6549DBCB0524}";
  378. Name = "Error Code (from WMI) != 0";
  379. Description = "Verify the return error code from the Collection";
  380. PropertyName = "CollectionErrorCode";
  381. UseFlag = 0;
  382. TestCondition = 3; // "!=" test
  383. CompareValue = "0";
  384. ThresholdDuration = 0;
  385. State = 9; // CRITICAL
  386. Enabled = TRUE;
  387. };
  388. instance of MicrosoftHM_ConfigurationAssociation
  389. {
  390. ParentPath = $DC10;
  391. ChildPath = $DC10T1;
  392. };
  393. ////////////////////////////////////////////////////////////////////////////////
  394. // Windows Event Log Monitor
  395. ////////////////////////////////////////////////////////////////////////////////
  396. // Note:the query below won t work on non-english machines due to a problem
  397. // with how the Type field is localized (as a property value) by WMI.
  398. // For Beta, it s acceptable to leave this as-is, for RTM see #63004.
  399. instance of MicrosoftHM_EventQueryDataCollectorConfiguration AS $DC11
  400. {
  401. Description = "";
  402. GUID = "{A89E51F1-229F-11d3-BE00-0000F87A3912}";
  403. Name = "Windows Event Monitor";
  404. Properties = {"EventCode", "SourceName", "Type", "Message", "TimeGenerated", "CategoryString", "User", "LogFile", "CollectionInstanceCount"};
  405. Query = "select * from __instancecreationevent where targetinstance isa \"Win32_NtLogEvent\" AND TargetInstance.Logfile=\"\" AND (TargetInstance.Type=\"error\" OR TargetInstance.Type=\"warning\" OR TargetInstance.Type=\"audit failure\")";
  406. RequireReset = FALSE;
  407. TargetNamespace = "root\\cimv2";
  408. Local = "ms_409";
  409. TypeGUID = "{A89E51F1-229F-11d3-BE00-0000F87A3912}";
  410. Enabled = FALSE;
  411. Hidden = TRUE;
  412. CollectionIntervalMsecs = 1000;
  413. Message = "%Name%: event received. %State% condition. (WMI Status: %CollectionErrorCode% %CollectionErrorDescription%)";
  414. ResetMessage = "%Name% is Ok.";
  415. };
  416. instance of MicrosoftHM_ThresholdConfiguration AS $DC11T1
  417. {
  418. GUID = "{CF089291-D011-47D7-94D6-64A55267FF29}";
  419. Name = "# of Instances Collected > 0";
  420. Description = "";
  421. State = 9;
  422. PropertyName = "CollectionInstanceCount";
  423. TestCondition = 1; // >
  424. CompareValue = "0";
  425. ThresholdDuration = 0;
  426. UseFlag = 0;
  427. Hidden = TRUE;
  428. };
  429. instance of MicrosoftHM_ConfigurationAssociation
  430. {
  431. ParentPath = $DC11;
  432. ChildPath = $DC11T1;
  433. };
  434. instance of MicrosoftHM_ThresholdConfiguration AS $DC11T2
  435. {
  436. GUID = "{DB925564-8CF7-46f8-8291-238F289DCF7E}";
  437. Name = "Error Code (from WMI) != 0";
  438. Description = "Verify the return error code from the Collection";
  439. PropertyName = "CollectionErrorCode";
  440. UseFlag = 0;
  441. TestCondition = 3; // "!=" test
  442. CompareValue = "0";
  443. ThresholdDuration = 0;
  444. State = 9; // CRITICAL
  445. Enabled = TRUE;
  446. };
  447. instance of MicrosoftHM_ConfigurationAssociation
  448. {
  449. ParentPath = $DC11;
  450. ChildPath = $DC11T2;
  451. };
  452. ////////////////////////////////////////////////////////////////////////////////
  453. // WMI Event Query
  454. ////////////////////////////////////////////////////////////////////////////////
  455. instance of MicrosoftHM_EventQueryDataCollectorConfiguration AS $DC12
  456. {
  457. GUID = "{C90CD4CB-2297-11d3-BE00-0000F87A3912}";
  458. Name = "WMI Event Query";
  459. Description = "";
  460. Properties = {"CollectionInstanceCount"};
  461. Query = "";
  462. RequireReset = FALSE;
  463. TargetNamespace = "ROOT\\CIMV2";
  464. TypeGUID = "{C90CD4CB-2297-11d3-BE00-0000F87A3912}";
  465. Enabled = FALSE;
  466. Hidden = TRUE;
  467. CollectionIntervalMsecs = 1000;
  468. Message = "%Name% : %State% condition. (WMI Status: %CollectionErrorCode% %CollectionErrorDescription%)";
  469. ResetMessage = "%Name% is Ok.";
  470. };
  471. instance of MicrosoftHM_ThresholdConfiguration AS $DC12T1
  472. {
  473. GUID = "{2077B2B0-62FC-40a1-8B6D-ABD54C1BBE46}";
  474. Name = "# of Instances Collected > 0";
  475. Description = "";
  476. State = 9;
  477. PropertyName = "CollectionInstanceCount";
  478. TestCondition = 1;
  479. CompareValue = "0";
  480. ThresholdDuration = 0;
  481. UseFlag = 0;
  482. Hidden = TRUE;
  483. };
  484. instance of MicrosoftHM_ConfigurationAssociation
  485. {
  486. ParentPath = $DC12;
  487. ChildPath = $DC12T1;
  488. };
  489. instance of MicrosoftHM_ThresholdConfiguration AS $DC12T2
  490. {
  491. GUID = "{61F1553A-8379-4a0f-8845-DC70153F8BF3}";
  492. Name = "Error Code (from WMI) != 0";
  493. Description = "Verify the return error code from the Collection";
  494. PropertyName = "CollectionErrorCode";
  495. UseFlag = 0;
  496. TestCondition = 3; // "!=" test
  497. CompareValue = "0";
  498. ThresholdDuration = 0;
  499. State = 9; // CRITICAL
  500. Enabled = TRUE;
  501. };
  502. instance of MicrosoftHM_ConfigurationAssociation
  503. {
  504. ParentPath = $DC12;
  505. ChildPath = $DC12T2;
  506. };
  507. ////////////////////////////////////////////////////////////////////////////////
  508. // Process Monitor
  509. ////////////////////////////////////////////////////////////////////////////////
  510. instance of MicrosoftHM_PolledQueryDataCollectorConfiguration AS $DC14
  511. {
  512. GUID = "{0DD537C8-CA9D-4731-93C2-3154D248EC60}";
  513. Name = "Process Monitor";
  514. Properties = {"State", "Status"};
  515. Query = "select * from Win32_Process where Name=\"\"";
  516. RequireReset = FALSE;
  517. TargetNamespace = "root\\cimv2";
  518. TypeGUID = "{0DD537C8-CA9D-4731-93C2-3154D248EC60}";
  519. Enabled = FALSE;
  520. Hidden = TRUE;
  521. Message = "%Name%: %State% condition. (WMI Status: %CollectionErrorCode% %CollectionErrorDescription%)";
  522. ResetMessage = "%Name% is Ok.";
  523. };
  524. instance of MicrosoftHM_ThresholdConfiguration AS $DC14T1
  525. {
  526. GUID = "{2A838470-AB97-4337-A5D6-E62FE7DE786C}";
  527. Name = "Error Code (from WMI) != 0";
  528. Description = "Verify the return error code from the Collection";
  529. PropertyName = "CollectionErrorCode";
  530. UseFlag = 0;
  531. TestCondition = 3; // "!=" test
  532. CompareValue = "0";
  533. ThresholdDuration = 0;
  534. State = 9; // CRITICAL
  535. Enabled = TRUE;
  536. };
  537. instance of MicrosoftHM_ConfigurationAssociation
  538. {
  539. ParentPath = $DC14;
  540. ChildPath = $DC14T1;
  541. };
  542. ////////////////////////////////////////////////////////////////////////////////
  543. // TCPIP MONITOR
  544. ////////////////////////////////////////////////////////////////////////////////
  545. instance of MicrosoftHM_PolledGetObjectDataCollectorConfiguration AS $DC15
  546. {
  547. GUID = "{B2FB1104-5F35-4167-BF1E-C9D008385138}";
  548. TypeGUID = "{B2FB1104-5F35-4167-BF1E-C9D008385138}";
  549. Name = "TCP/IP Port Monitor";
  550. Description = "";
  551. ObjectPath = "TcpPortConnect.Method=\"GET\",TimeoutMsecs=10000";
  552. Properties = {"Server", "Port", "TimeoutMsecs", "ResponseTimeMsecs", "ErrorCode", "ErrorDescription"};
  553. RequireReset = FALSE;
  554. TargetNamespace = "root\\cimv2\\MicrosoftHealthmonitor";
  555. Enabled = FALSE;
  556. Hidden = TRUE;
  557. Message = "%EmbeddedCollectedInstance.Server%:%EmbeddedCollectedInstance.Port% connect failed. Response Time (msec): %EmbeddedCollectedInstance.ResponseTimeMsecs%. Error Code: %EmbeddedCollectedInstance.ErrorCode%. Error Description: %EmbeddedCollectedInstance.ErrorDescription%. (WMI Status: %CollectionErrorCode% %CollectionErrorDescription%)";
  558. ResetMessage = "%EmbeddedCollectedInstance.Server%:%EmbeddedCollectedInstance.Port% connected Ok.";
  559. };
  560. instance of MicrosoftHM_ThresholdConfiguration AS $DC15T1
  561. {
  562. GUID = "{0925C491-3323-11d4-928F-006097919914}";
  563. Name = "Error Code (from WMI) != 0";
  564. Description = "Verify the return error code from the Collection";
  565. PropertyName = "CollectionErrorCode";
  566. UseFlag = 0;
  567. TestCondition = 3; // "!=" test
  568. CompareValue = "0";
  569. ThresholdDuration = 0;
  570. State = 9; // CRITICAL
  571. };
  572. instance of MicrosoftHM_ConfigurationAssociation
  573. {
  574. ParentPath = $DC15;
  575. ChildPath = $DC15T1;
  576. };
  577. instance of MicrosoftHM_ThresholdConfiguration AS $DC15T2
  578. {
  579. GUID = "{59DD2B7C-A2B7-442a-A06A-2E0FC123E4F4}";
  580. Name = "TCP Error Code != 0";
  581. Description = "Verify the return error code from the Instance";
  582. PropertyName = "ErrorCode";
  583. UseFlag = 0;
  584. TestCondition = 3; // "!=" test
  585. CompareValue = "0";
  586. ThresholdDuration = 0;
  587. State = 9; // CRITICAL
  588. };
  589. instance of MicrosoftHM_ConfigurationAssociation
  590. {
  591. ParentPath = $DC15;
  592. ChildPath = $DC15T2;
  593. };
  594. instance of MicrosoftHM_ThresholdConfiguration AS $DC15T3
  595. {
  596. GUID = "{9A12D556-BAC3-4126-AD58-F25F00065713}";
  597. Name = "Response Time (milliseconds) > 15000";
  598. Description = "";
  599. PropertyName = "ResponseTimeMsecs";
  600. UseFlag = 0;
  601. TestCondition = 1; // > test
  602. CompareValue = "15000";
  603. ThresholdDuration = 0;
  604. State = 9; // CRITICAL
  605. };
  606. instance of MicrosoftHM_ConfigurationAssociation
  607. {
  608. ParentPath = $DC15;
  609. ChildPath = $DC15T3;
  610. };