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. Since V2.2.3 No source node in events from syslog parser on server

Since V2.2.3 No source node in events from syslog parser on server

Scheduled Pinned Locked Moved Support
9 Posts 3 Posters 49.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.
  • Dani@M3TU
    Dani@M3TU
    Dani@M3T
    wrote on last edited by
    #1

    Hi

    Since update from 2.2.2 to 2.2.3 we have a problem in events generated from syslog parser on NetXMS server. The source node information is missing. The syslog messages in NetXMS has source node information. It only lacks in events. No change in syslog parser config since update.
    Is it a known error? What can we do?

    best regards
    Dani

    1 Reply Last reply
    0
    • T
      T
      tomaskir
      wrote on last edited by
      #2

      Confirming this on using 2.2.3.

      In syslog monitor, correct node is seen.
      However, looking at event log on the node itself, the event is not assigned to the node.

      Event does seem to enter EPP, but $node is not set, so using action with NXSL scripts that use $node generates an NXSL error.
      (function or operation is not an object)

      So it seems events are generated, just don't have NODE internally set to them.
      They then correctly go to EPP, but since there is no NODE, alarms will not be generated on the node, NXSL scripts using $node will fail, etc.

      1 Reply Last reply
      0
      • Dani@M3TU
        Dani@M3TU
        Dani@M3T
        wrote on last edited by
        #3

        Hi Tomas

        I can confirm your findings

        Dani

        1 Reply Last reply
        0
        • T
          T
          tomaskir
          wrote on last edited by
          #4

          Just an update, this is now fixed in master and stable-2.2 branches.

          The fix will also be out in the next release of NetXMS of course 🙂

          1 Reply Last reply
          0
          • Dani@M3TU
            Dani@M3TU
            Dani@M3T
            wrote on last edited by
            #5

            Hi Tomas

            Is there a interim fix when I compile server from sources. Otherwise I have all these events without source node in the database and can't use them. Is there a near ETA for next (fixed) release?

            thanks
            Dani

            1 Reply Last reply
            0
            • T
              T
              tomaskir
              wrote on last edited by
              #6

              You can build from sources and it will work.
              https://github.com/netxms/netxms/tree/stable-2.2

              Previous events in the DB will stay without node set.
              (not sure if there is a way to recover which nodes the events came from - would guess not)

              As to when next release happens - I don't know, Victor will need to tell us 🙂

              1 Reply Last reply
              0
              • Dani@M3TU
                Dani@M3TU
                Dani@M3T
                wrote on last edited by
                #7

                so complete recompile is necessairy with all new sources? Not isolated to one or two source files. I will have a look at that. Github is not my daily business. Can I get the sources with wget as the normal tar-balls?

                Dani

                1 Reply Last reply
                0
                • T
                  T
                  tomaskir
                  wrote on last edited by
                  #8

                  Victor could probably provide a patch to just fix this issue - where you wouldn't have to rebuild everything.

                  May be best to contact him directly.

                  I personally build and package the entire server almost daily - when there are new commits to the NetXMS GIT repo.
                  (not manually, I automated the build/package process)

                  We have an apt repo where I push the packages to.
                  We then update our system (and our customer systems) as required off that apt repo.

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

                    Hi,

                    we will release 2.2.4 with a fix this week.

                    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