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. Support
  3. Windows events not sync

Windows events not sync

Scheduled Pinned Locked Moved Support
8 Posts 3 Posters 124.1k 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
    saksham.adyso
    wrote on last edited by
    #1

    Windows events that occur when an agent is disabled are not synchronized when the agent is started. The documentation says that the agent stores the value of the last event in the registry and sends all events since the last synchronization on startup.

    1 Reply Last reply
    0
    • U
      U
      uldis
      wrote on last edited by
      #2

      Hi there, we have replicated this issue and team will work to provide a fix. Thank you for your contribution.

      1 Reply Last reply
      0
      • U
        U
        uldis
        wrote on last edited by
        #3

        Hi Saksham

        This function should be explicitly enabled by setting ProcessOfflineEvents = true in LogWatch section. Please try and let us know if any further issues observed.

        1 Reply Last reply
        0
        • S
          S
          saksham.adyso
          wrote on last edited by
          #4

          Hi Uldis, I tried several possible where to specify the ProcessOfflineEvents parameter with a value of true, but none sent the event after running nxagent again.
          I tried
          First option:

          [Logwatch]
          ProcessOfflineEvents = true
          
          [WinEventSync]
          EventLog = Application
          
          [WinEventSync/Application]
          ProcessOfflineEvents = true
          WinEventSync = *
          

          Second

          [WinEventSync]
          EventLog = Application
          ProcessOfflineEvents = true
          
          [WinEventSync/Application]
          WinEventSync = *
          

           Last

          [WinEventSync]
          EventLog = Application
          
          [WinEventSync/Application]
          ProcessOfflineEvents = true
          WinEventSync = *
          

          By the way, the Logwatch section is only for the logwatch subagent, and for the Windows event is the WinEventSync section. Or this section is common for both subagents?

          1 Reply Last reply
          0
          • U
            U
            uldis
            wrote on last edited by
            #5

            Hi Saksham

            In your configuration examples, we note mix-ups between log synchronization and log watch functionalities, those are completely separate and have been such due to historical reasons and that is also reflected in documentation. Here is my LogWatch configuration

            SubAgent = logwatch
            [LOGWATCH]
            ProcessOfflineEvents = true

            I have created template "WINDOWS LOG", added Agent Policies where all Windows event IDs generate my custom event in Actions section. I stopped Agent, observed new Windows events generated in Event Viewer->Windows Logs->Security, for example, started up Agent and saw Windows backlog events processed and my custom events genearted for time span when Agent was down. Please try the above scenario from your side.

            1 Reply Last reply
            0
            • S
              S
              saksham.adyso
              wrote on last edited by
              #6

              In my environment I only use SubAgent for wineventsync.nsm. I don't use Logwatch. I also don't use the agent policy (I set everything via the INI file of the nx agent).
              So if I make a policy and use the logwatch subagent, can I also collect Windows events?

              1 Reply Last reply
              0
              • U
                U
                uldis
                wrote on last edited by
                #7

                Hi Saksham

                You would need to set your side up as per exmaple and the functionality would work. SubAgent logwatch is a must here.

                1 Reply Last reply
                0
                • F
                  F
                  Filipp Sudanov
                  wrote on last edited by
                  #8

                  To clarify this - we have two ways of dealing with windows event logs

                  • logwatch
                  • wineventsync

                  Logwatch supports parsing of offline events, while wineventsync currently does not. There is an issue in our bug tracker on this, so some day this will be fixed: https://track.radensolutions.com/issue/NX-1997

                  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