Hi Senthil, I have found different log readers(siteminder, plsql, sunone, gc) but unfortunately not a generic one that can be used to ready log/window events. Please find a summary of all the options I have found: a) get the messages from the windows event log using Perl and EPAgent
http://docs.activestate.com/activeperl/5.8/lib/Win32/EventLog.html b) see if EPAgent IIS Log File reader can help it is bundled with EPAagent. c) check if the following communicaiton helps: ****
Here is a simple and straight forward vb script EPA plugin that will watch for a specific source, from the Windows Event log view, and set a count, based on target instance and sourcename. This allows for setting of alerts based on this happening. This is setup to run, and keep running, it acts as a registered collector of WMI/Event log events. In the script the sample source for the event is OLS.' Script to Receive specific events from the Event Log for application errors
' Larry Morgan - May 23, 2007
set events = GetObject("winmgmts:{impersonationLevel=impersonate}").ExecNotificationQuery ("select * from __instancecreationevent where targetinstance isa 'Win32_NTLogEvent'")
if err 0 then
WScript.Echo Err.Description, Err.Number, Err.Source
end if
' Note this next call will wait indefinitely - a timeout can be specified
do
set NTEvent = events.nextevent
if err 0 then
WScript.Echo Err.Number, Err.Description, Err.Source
Exit Do
else
If InStr(NTEvent.TargetInstance.SourceName, "OLS") 0 Then
WScript.Echo " "
end if
end if
loop
**** I hope this helps, Regards, Sergio