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. How to disable SYS_INCORRECT_NETMASK event ?

How to disable SYS_INCORRECT_NETMASK event ?

Scheduled Pinned Locked Moved Support
7 Posts 6 Posters 39.9k 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.
  • H
    H
    hkusulja
    wrote on last edited by
    #1

    Hi,
    sometimes we have routers that have configured public ip with /32, this is for a reason (VRRP for example), and in that case, NetXMS reports new Event - SYS_INCORRECT_NETMASK - "Invalid network mask 255.255.255.255 on interface eth1" should be ....". This is wrong in our case and I want to turn this check off completely.

    I have disabled Event processing policy to stop creating alerts.

    However, is there a way to disable such NetXMS-integrated event to stop showing in Event Monitor at all ?

    Thank you

    1 Reply Last reply
    0
    • Y
      Y
      yshiro
      wrote on last edited by
      #2

      Hi, you can disable it on "Configuration\Event processing Policy" just look for "Generate alarm when incorrect network mask detected on interface" and disable this policy.

      Regards.

      1 Reply Last reply
      0
      • H
        H
        hkusulja
        wrote on last edited by
        #3

        @yshiro said in How to disable SYS_INCORRECT_NETMASK event ?:

        Hi, you can disable it on "Configuration\Event processing Policy" just look for "Generate alarm when incorrect network mask detected on interface" and disable this policy.

        Hi, thank you for a tip, however as I said, I have already disabled in Event processing policy. The issue is that NetXMS Agents are still generating this Events, and if you look real-time Event monitor, there are lot of them, so I am trying to disable this feature / event log generation for this.

        Thank you

        1 Reply Last reply
        0
        • J
          J
          joni
          wrote on last edited by
          #4

          +1 how to disable sys_* (all system) events ? or how to owerwrite it?

          1 Reply Last reply
          0
          • A
            A
            Alex Kirhenshtein
            wrote on last edited by
            #5

            Short answer - you can't. You can, however, disable saving them to event log (Event Configuration -> edit SYS_INCORRECT_NETMASK -> uncheck "Write to event log").

            If you really want to disable them, change src/server/core/node.cpp, lines 1016 and 5699, remove "PostEvent" call (all 3 lines) and recompile.

                     PostEvent(EVENT_INCORRECT_NETMASK, m_id, "idsaa", pInterface->getId(),
                               pInterface->getIfIndex(), pInterface->getName(),
                               pInterface->getIpNetMask(), pSubnet->getIpNetMask());
            

            P.S. I highly recommend you to fix invalid netmask on servers/routers instead of muting them in monitoring.

            @hkusulja said in How to disable SYS_INCORRECT_NETMASK event ?:

            @yshiro said in How to disable SYS_INCORRECT_NETMASK event ?:

            Hi, you can disable it on "Configuration\Event processing Policy" just look for "Generate alarm when incorrect network mask detected on interface" and disable this policy.

            Hi, thank you for a tip, however as I said, I have already disabled in Event processing policy. The issue is that NetXMS Agents are still generating this Events, and if you look real-time Event monitor, there are lot of them, so I am trying to disable this feature / event log generation for this.

            Thank you

            1 Reply Last reply
            0
            • H
              H
              Harun
              wrote on last edited by
              #6

              @alk said in How to disable SYS_INCORRECT_NETMASK event ?:

              P.S. I highly recommend you to fix invalid netmask on servers/routers instead of muting them in monitoring.

              This approach does not work if I use vrf (virtual routing and forwarding).

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

                Probably best to leave the events to be generated, and instead modify EPP (event processing policy) to not create alarms for these events from certain nodes where you know this is supposed to happen.

                This is better then disabling the event generation all together.

                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