Hi All, Thanks in advance,
I have requirement if a SQL Profiler trace is started by a user and its not ended with in 30 minutes i need to receive a SCOM alert.
Event ID 19030 is generated in Application log if a SQL profiler is started.
"SQL Trace ID 5 was started by login "Blow\sqlmps08gtr"
<in between we may receive SQL Trace stopped event ID's(19031) for different trace id's>
Event ID 19031 is generated if SQL profiler is stopped
"SQL Trace stopped. trace ID = '5'. Login Name = 'Blow\sqlmps08gtr"
The condition to correlate the starting event and stopping of the profiler should use the Trace ID also.
Condition Event 19030 + Data[0] should match event 19031 + Data[0] where Data[0] = 'SAL Trace ID"
how can i achieve this.
Thanks,
Anupvtr