Knowledge Base

Posting notifications into the Event Log with IPCheck Server Monitor

Questa pagina anchora non esiste in Italiano. Confidiamo nella Vs. comprensione.

Using a free command line utility you can post notifications from IPCheck Server Monitor into the Event Log of a Windows system.

To write a message into the Event Log of a Windows system in this sample we use a command line tool from the Windows NT 4.0 Resource Kit. Unfortunately Microsoft decided to discontinue this command line tool in later Resource Kits.

You can download the Windows NT4 Resource kit from:

http://download.microsoft.com/download/winntsrv40/rktools/1.0/NT4/EN-US/sp4rk_i386.Exe

After installation you will find the logevent.exe file in the Resource Kit's installationfolder (default is c:\program files\rksupport).

  • Create a new notification (or edit an existing one)
  • Scroll down to the Execute Program section
  • For Program File enter the full path to the logevent.exe file (e.g. c:\program files\rksupport\logevent.exe)
  • For Parameters enter

    -r "IPCheck Server Monitor" "%server %name %status %down (%msg)"
  • To add the log entry to the log of another computer add  -m \\serverName
  • Save the notification and run a test
  • Using Event Viewer you should now see a new entry in your Application Log

More information about logevent.exe can be found in the Microsoft Knowledge Base:
http://support.microsoft.com/default.aspx?scid=315410