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.

59 lines
1.3 KiB

  1. instance of MessageBoxEventConsumer
  2. {
  3. Name = "1";
  4. Text = "MyText";
  5. Title = "MyTitle";
  6. };
  7. instance of EmailEventConsumer
  8. {
  9. Name = "1";
  10. Subject = "Subj";
  11. Message = "Mess";
  12. ToLine = "[email protected]";
  13. };
  14. instance of LogFileEventConsumer
  15. {
  16. Name = "1";
  17. Filename = "c:\\wbem\\logs\\logfile.txt";
  18. Text = "Event %__CLASS% occurred in namespace %__NAMESPACE%: %__TEXT%";
  19. };
  20. instance of NTEventLogEventConsumer
  21. {
  22. Name = "1";
  23. SourceName = "cimomerror";
  24. EventID = 239;
  25. EventType = 4;
  26. Category = 23;
  27. NumberOfInsertionStrings = 2;
  28. InsertionStringTemplates = {"%__CLASS", "Server: %__SERVER%"};
  29. };
  30. instance of ActiveScriptEventConsumer
  31. {
  32. Name = "1";
  33. ScriptingEngine = "VBScript";
  34. ScriptText =
  35. "MsgBox TargetEvent.SYSTEM__CLASS & "
  36. "\" for class \" & "
  37. "TargetEvent.TargetClass.SYSTEM__CLASS, "
  38. "vbCritical, \"Class Operation Event Notification\"";
  39. };
  40. instance of __EventFilter
  41. {
  42. Name = "1";
  43. Query = "select * from __ClassOperationEvent";
  44. QueryLanguage = "WQL";
  45. };
  46. instance of __FilterToConsumerBinding
  47. {
  48. Consumer = "ActiveScriptEventConsumer.Name=\"1\"";
  49. Filter = "__EventFilter.Name=\"1\"";
  50. };