Calling eventlog from a cloverleaf alert

Homepage Clovertech Forums Read Only Archives Cloverleaf Cloverleaf Calling eventlog from a cloverleaf alert

  • Creator
    Topic
  • #50914
    Michael Vork
    Participant

    Hello everybody,

    Hope anyone has a solution for the following problem:

    On a number of alerts that I defined within cloverleaf I call the logevent, e.g. cmd /c logevent -s W -r CloverLeaf -e 20 “Message: solve this problem).”

    In this case I use value 20 for the eventId parameter but get a message that eventId value 20 does not exist in a certain messagefile or dll (see http://support.microsoft.com/kb/315410 for details about EventId).

    Can anybody tell me where the messagefile or messageDll is kept and how I can manipulate this object (i.e. insert EventId 20 with the appropriate text).

    Thanks in advance for your response

Viewing 0 reply threads
  • Author
    Replies
    • #67996
      Ernie Saylor
      Participant

      I don’t have extensive experience with this, but your question made me curious. I found the following helpful: http://support.microsoft.com/kb/324145. I was able to create a custom event on my workstation, using eventcreate.exe. I was then able to user logevent with the error number I defined. I tried using logvent with just the error number (logevent -e 111) but it threw an error. I found that including a text message made it work (logevent -e 111 “test”).

Viewing 0 reply threads
  • The forum ‘Cloverleaf’ is closed to new topics and replies.

Forum Statistics

Registered Users
5,117
Forums
28
Topics
9,292
Replies
34,435
Topic Tags
286
Empty Topic Tags
10