Generic EventLog Monitoring Template

This script montors for eventlog events matching the parameters defined in argumets and outputs the description of the last event it found.

Each check will be done only from the last place it stopped (not checking for old events).

 

The parameters are: LogFile (Applicattion/System/Security/etc), EventID, Source, logfile suffix, ${IP}

Example: Application 256 VmStatsProvides, vmstat-256.txt, ${IP}

This will create the file named: c:\temp\${IP}-vmstat-256.txt

When using more than one template like this on a single server you must provide different logfile suffix for each template.


Parents Comment Children
No Data