Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Flatly)
  • No Skin
Collapse
Brand Logo

NetXMS Forum

  1. Home
  2. Development
  3. Windows EventLog handling error...

Windows EventLog handling error...

Scheduled Pinned Locked Moved Development
windows
3 Posts 2 Posters 31.8k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S
    S
    sodalist
    wrote on last edited by
    #1

    Hello,

    ----------------------------
    Current: .\src\agent\subagents\logwatch\eventlog.cpp is unable
    to handle any other event log beside *System.

    parser definition <file>*Security</file> for instance will try
    to get EventMessageFile value from registry on path:

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Eventlog\System\Security
    ----------------------------

    ----------------------------
    <file>*Application</file>

    should handle:
    HKLM\SYSTEM\CurrentControlSet\Services\Eventlog\Application\Application
    HKLM\SYSTEM\CurrentControlSet\Services\Eventlog\Application\<XY Application>
    ----------------------------

    ----------------------------
    Could someone pretty please fix that and attach compiled logwatch.nsm
    for v0.2.26.1 until next release.

    Curent fix (for impatient grateful users) is to copy:
    HKLM\SYSTEM\CurrentControlSet\Services\Eventlog\Security\Security
    to
    HKLM\SYSTEM\CurrentControlSet\Services\Eventlog\System\Security

    for *Application hover you must copy relavant subkey of
    HKLM\SYSTEM\CurrentControlSet\Services\Eventlog\Application\<xyz>
    to
    HKLM\SYSTEM\CurrentControlSet\Services\Eventlog\System\<xyz>
    ----------------------------

    thank you,

    Ales

    1 Reply Last reply
    0
    • S
      S
      sodalist
      wrote on last edited by
      #2

      Sory, environment is:

      • windows 2008 x64 server
      • x64 v0.2.26.1 agent

      Error was checked with Process Monitor v2.04
      http://technet.microsoft.com/en-us/sysinternals/bb896645.aspx

      Filtering was set to show nxagentd.exe Process Name and
      all failed registry query requests begining with path
      HKLM\System\CurrentControlSet\Services\Eventlog

      Ales

      1 Reply Last reply
      0
      • V
        V
        Victor Kirhenshtein
        wrote on last edited by
        #3

        Hello!

        In fact, we need completely different log readers for Windows Vista and 2008 - Microsoft changes event log API (see http://msdn.microsoft.com/en-us/library/aa964766(vs.85).aspx), and old API used by logwatch.nsm is not always compatible with new logs. I'll add support for new event log API in upcoming release.

        Best regards,
        Victor

        1 Reply Last reply
        0

        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

        With your input, this post could be even better 💗

        Register Login
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        Powered by NodeBB Contributors
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups