ITM : Testing Windows Event Logs

July 7th, 2009
by jimsander

In a nutshell: use theeventcreate

I had an issue with ITM Windows Agent creating events which I was then sending out email alerts via a UNIX script.

The simple problem was backslashes in windows paths where the “Take Action” notification script was literalizing characters which might be part of the EventLog Description

For example:

"c:\Damned these\nagging\slashes\argh"

became

c:\Damned these
agging\slashesrgh

Yes, simply quoting my string would have solved most of my problem, IT DID HOWEVER lead me to a handy windows command for testing, calledeventcreateid

Example : eventcreate /ID 101 /SO FooBar /D “Test Message for ITM” /T ERROR /L Application

  • Share/Bookmark

Tags: , , , , , , , , , , , , , ,
Posted in ITM6.x, WindozeMiscellaneous | Comments (0)

No comments yet

Leave a Reply

  • LinkedIn

    If you want to see my LinkedIn profile, click on this button:

    Jim Sander
  • Save MySQL

JDS Media is Digg proof thanks to caching by WP Super Cache