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. SNMP configuration lost

SNMP configuration lost

Scheduled Pinned Locked Moved Support
7 Posts 2 Posters 30.0k 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

    we have a strange phenomena:
    We have a node in NetXMS which losts his SNMP conficuration. I set the SNMP settings in 'Communications' to SNMPv3 with authentication and encryption in the java console. Then I finish with 'ok'. When I just reopen the node properties the settings are still there. A few minutes later I open the properties again and the SNMP settings are reseted to SNMP version 2c community string 'public'.
    Very strange, I never saw that on other nodes before. How is this possible? and how can I fix this. Please help.

    thanks
    Dani

    (NetXMS 2.0M1 installed from sources on linux 64bit, but also saw this on V1.2.17)

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

      Do you have 'public' as one of your SNMP discovery communities?

      Is it possible the node actually responds to SNMP v2 using the public community?

      Can you do nxsnmpwalk on the node using v2 public?

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

        Thanks for your fast reply.

        The DefaultCommunityString in server configuration is something different.
        Network Discovery is disabled but there is still one of the community strings 'public'.

        I tested the affected node with nxsnmpwalk and SNMPv2 community string 'public'. And yes I was surprised this node replyed to SNMPv2 and public too!
        I have two other switches (the same modell, same software, same SNMP-configuration but different port number), these other switches do not reply to SNMPv2 and 'public'. That part of the problem must be a bug in the switch software.

        Than I deleted 'public' from Network Discovery and waited a few minutes. Till now no change to 'public' in the affected node. Is this a bug or a feature? And if it is a feaure, is it in documentation?

        Then I restarted the SNMP feature in the switch. The next test with nxsnmpwalk and 'public' doesn't worked anymore.

        A little bit strange. It must be a combination between a bug in the switch and the part in NetXMS where I don't know is it a bug or feature 🙂

        thanks
        Dani

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

          Its a NetXMS feature to use all SNMP communities configured in network discovery.

          Here is how it works:
          During a configuration poll (which happens when a node is added), ALL v2 communities and all v3 user/pass combinations are tested against a node.
          If a working one is found, its used for that node.
          This is so you can have different sets of SNMP settings for different nodes - NetXMS will automatically discover what SNMP setting to use for a particular node.

          I'm pretty sure its documented in the wiki or the admin manual.

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

            I know that but only in descovery.
            But this affected node is an existing node. SNMP was switched off on this node but later I set SNMP to SNMPv3 with credentials (explicit on this node) and activated snmp polling for this node.
            Then after a while (I think after the first configuration poll) the settings where resetted to SNMPv2 and 'public'. So NetXMS changed my explicit settings on this node. That is the surprise for me.
            I think it also based on a bug in the physical node (switch), as the switch answered suddeny only on SNMPv2 and 'public' and not on SNMPv3 as before (no configuration change).

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

              During every configuration poll, if a node doesnt answer on the pre-defined SNMP settings in the node's "Communication" settings tab; all known SNMP communities and user/pass combinations are tested against a node.
              If new functional SNMP settings are found, they are applied to the node.

              So yes, switch had a bug, but NetXMS behaved as expected.

              This is expected from NetXMS and good, since imagine if you needed to change your SNMP community on 100 devices. You would just add your new community in discovery, and NetXMS would automatically find out it needs to use it on all nodes, and you dont have to change the settings of a 100 nodes in NetXMS.
              Of course, you would have to reconfigure the SNMP agent on all of the nodes, but NetXMS would pick up the change automatically.

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

                ok, thank you tomaskir!

                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