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. Automatically re-discover credentials after polling failure?

Automatically re-discover credentials after polling failure?

Scheduled Pinned Locked Moved Support
4 Posts 3 Posters 26.6k 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.
  • M
    M
    Millenium7
    wrote on last edited by
    #1

    Often we install equipment with many default values including SNMP string of 'public' and at a later time we go and update them. Problem is if NetXMS has discovered the device during this install phase it will be assigned 'public' as the SNMP string, it will never discover it again. So of course after we change it a bit later on, NetXMS will continually fail to retrieve anything from that device

    Is there a way via script or other built-in method that after a node has failed to poll any data after multiple retries (or a whole day) it will re-try all the credentials listed under Network Credentials?

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

      The intended behavior of NetXMS is the following:

      • on each configuration poll we are checking, if we can comminicate with the same community string, as before
      • if we can not, then search sequence is started - first using snmp v3, then with v2c and 1 we try the community strings listen in Network credentials.
      • If working snmp community is found, it's updated into properties of the node.

      So it should be able to restore communication if community name is changed on the device.
      Check if "Prevent automatic SNMP configuration changes" is not set in node properties.
      Share output of configuration poll after community name change on a node.

      1 Reply Last reply
      0
      • M
        M
        Millenium7
        wrote on last edited by
        #3

        Hmm it definitely isn't the case
        I did check 'Prevent automatic SNMP changes' and that is not enabled

        I'll get back to you with config output, but right now if I change SNMP string on the device, it will forever fail polling in NetXMS until I either manually update the SNMP string in NetXMS to match, or I delete the node and wait 24hrs for automatic network discovery again

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

          What if you run full configuration poll on it manually? Also, do this node respond to ping or it is only accessible via SNMP?

          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