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. Instance Discovery Grace Period Issue

Instance Discovery Grace Period Issue

Scheduled Pinned Locked Moved Support
7 Posts 2 Posters 52.2k 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.
  • T
    T
    Tursiops
    wrote on last edited by
    #1

    Hi,

    I noticed that the new feature of a grace period for DCIs sets instances to disabled when they are no longer found.
    However, it does not appear to re-activate them when they re-appear, which means unless one manually goes through the nodes to locate such DCIs to re-activate them, they will simply be deleted after the grace period.

    Not sure if that is the intended behaviour?

    Cheers

    1 Reply Last reply
    0
    • S
      S
      Ēriks Jenkēvics
      wrote on last edited by
      #2

      Hi!

      Could you run instance discovery on the node manually and post a screenshot of the output?

      1 Reply Last reply
      0
      • T
        T
        Tursiops
        wrote on last edited by
        #3

        Hi,

        Of course since I posted I have not run into this again.
        The only ones that are currently staying disabled are indeed due to OID changes or similar events which trigger new instances.
        I'll let you know if/when I encounter this again.

        Cheers

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

          Hi,

          Just found one and attached a screenshot, which basically shows that nothing happened while updating instances.
          Yet, the "Hyper-V" ones had a number of Disabled instances.
          For all I can tell Instance Discovery ran at some point while the relevant service on the server wasn't up, so it couldn't generate the instance list at the time. This resulted in some garbage instances (I need to add better error handling to the external list command). Either way, those garbage instances were properly disabled once the service was back up. However, the correct instances were not re-enabled. The moment I manually switched them to "Active", they just started working without any further changes necessary.

          Cheers


          InstanceDiscovery.jpg

          1 Reply Last reply
          0
          • S
            S
            Ēriks Jenkēvics
            wrote on last edited by
            #5

            Hi,

            If you have debug level 5 enabled, please check your server logs for a message that is similar to this: "DataCollectionTarget::updateInstances(%s [%u], %s [%u]): instance \"%s\" not found, grace period started" without the "%s and %u symbols. This should indicate that the grace period was actually started as it is what triggers the re-enabling of the instance. It could be an issue that the instance went into an unsupported state for a different reason and was not re-enabled by instance discovery.

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

              I generally keep debug to level 1 (or off) unless something is wrong, as I otherwise end up with several gigabytes of logs in a matter of minutes.
              Is there a way to set debug level to 5 for this particular area only?

              1 Reply Last reply
              0
              • S
                S
                Ēriks Jenkēvics
                wrote on last edited by
                #7

                We are starting to implement tags for debug messages so that particular debug messages could be filtered, but unfortunately this has not been done yet for the messages in question.

                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