Saturday 3 February 2007

Alert: Windows EventLog

I can send you a message when an entry is written to the Windows EventLog (useful to monitor a server)
Open the "<installDir>/Addins/LogWatcher.xml" file:



Configure the Watcher elements (here we are monitoring the "Application" log for "Warning" and "Error" messages only).
Use the "logwatch" command to start monitoring:



You can type "logwatch /list" to display the list of monitored logs, and "logwatch /stop" to stop monitoring.

Command: help

You can type "help" to display all available commands and your own aliases: