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
59 lines
1.3 KiB
|
|
instance of MessageBoxEventConsumer
|
|
{
|
|
Name = "1";
|
|
Text = "MyText";
|
|
Title = "MyTitle";
|
|
};
|
|
|
|
instance of EmailEventConsumer
|
|
{
|
|
Name = "1";
|
|
Subject = "Subj";
|
|
Message = "Mess";
|
|
ToLine = "[email protected]";
|
|
};
|
|
|
|
instance of LogFileEventConsumer
|
|
{
|
|
Name = "1";
|
|
Filename = "c:\\wbem\\logs\\logfile.txt";
|
|
Text = "Event %__CLASS% occurred in namespace %__NAMESPACE%: %__TEXT%";
|
|
};
|
|
|
|
instance of NTEventLogEventConsumer
|
|
{
|
|
Name = "1";
|
|
SourceName = "cimomerror";
|
|
EventID = 239;
|
|
EventType = 4;
|
|
Category = 23;
|
|
NumberOfInsertionStrings = 2;
|
|
InsertionStringTemplates = {"%__CLASS", "Server: %__SERVER%"};
|
|
};
|
|
|
|
instance of ActiveScriptEventConsumer
|
|
{
|
|
Name = "1";
|
|
ScriptingEngine = "VBScript";
|
|
ScriptText =
|
|
"MsgBox TargetEvent.SYSTEM__CLASS & "
|
|
"\" for class \" & "
|
|
"TargetEvent.TargetClass.SYSTEM__CLASS, "
|
|
"vbCritical, \"Class Operation Event Notification\"";
|
|
};
|
|
|
|
instance of __EventFilter
|
|
{
|
|
Name = "1";
|
|
Query = "select * from __ClassOperationEvent";
|
|
QueryLanguage = "WQL";
|
|
};
|
|
|
|
|
|
instance of __FilterToConsumerBinding
|
|
{
|
|
Consumer = "ActiveScriptEventConsumer.Name=\"1\"";
|
|
Filter = "__EventFilter.Name=\"1\"";
|
|
};
|
|
|