Creating a fake event to test monitoring software?

Discussion in 'Active Directory' started by maximillianx, Aug 23, 2005.

  1. maximillianx

    maximillianx Guest

    Does anyone know of a utility, procedure, or script that would generate a
    "fake" event, source, event ID, etc. in order to test monitoring software?

    For example, I have a service 'MSExchangeNOTES ' that hangs occasionally
    (but the process stays running). When it hangs, it produces an event 41220
    or 510 in the application log and I want my server monitoring software to
    alert me when it appears. However, I don't want to wait for the crash, nor
    do I really want to change my network monitoring software to watch for
    another event that occurs frequently as the test. I want to test it with
    the exact error that will appear in the log.

    Anyone have any ideas?

    Thanks everyone -
    maximillianx, Aug 23, 2005
    1. Advertisements

  2. Hello,
    eventcreate is a command line utility which is delivered in Windows Server
    2003 and XP. This tool can be found in the system32 folder and allows to
    generate custom entries in the event log.
    Best greetings from Germany
    Olaf Engelke [MVP Windows Server], Aug 23, 2005
    1. Advertisements

  3. maximillianx

    maximillianx Guest

    Great - Thank you! I did not even realize that Microsoft had a tool for
    this purpose.

    You know, I should really start browsing through those CDs more often...


    Greetings from Rockford, IL!
    maximillianx, Aug 23, 2005
  4. maximillianx

    maximillianx Guest

    or rather, the system32 folder ... :)

    maximillianx, Aug 23, 2005
  5. maximillianx

    Adam Piggott Guest

    Hash: SHA1
    WSH's LogEvent Method might help you out.

    - --
    Adam Piggott, Proprietor, Proactive Services (Computing).

    Please replace dot invalid with dot uk to email me.
    Apply personally for PGP public key.
    Version: GnuPG v1.4.0 (MingW32)

    -----END PGP SIGNATURE-----
    Adam Piggott, Aug 24, 2005
  6. maximillianx

    maximillianx Guest

    Yeah - I had thought about this, but it generates from the same source every
    time...I answered my manager a bit too quickly thinking it would. :)

    This eventcreate utility is just what I need - can't wait to try it out
    today. :)

    maximillianx, Aug 24, 2005
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.