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. Netxms agent as snmp proxy for the node it's installed on? [SOLVED]

Netxms agent as snmp proxy for the node it's installed on? [SOLVED]

Scheduled Pinned Locked Moved Support
4 Posts 2 Posters 9.1k 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.
  • D
    D
    djex81
    wrote on last edited by
    #1

    Hi,

    I have a remote node that I would like to use snmp with. This node is on a different network. Can I use the netxms agent as a snmp proxy for the node it's installed on?

    I currently have this setup:

    Host A = netxms server
    Host B = remote server on different network

    Host B's agent is configured like this:

    EnableProxy = yes
    EnableSNMPProxy = yes
    
    MasterServers = HostA_Address
    ConfigIncludeDir = C:\NetXMS\etc\nxagentd.conf.d
    LogFile = {syslog}
    FileStore = C:\NetXMS\var
    SubAgent = winperf.nsm
    SubAgent = ups.nsm
    
    RequireAuthentication = yes
    SharedSecret = *******
    

    Then on Host A in netxms Host B's node is configured with itself as the snmp proxy.

    When I do a configuration poll the agent works 100% but the snmp times out. The port 4700 is forward on both Node A and Node B's routers.

    SNMP is working on Node B as I can snmpwalk locally without any issues. Is there any way I can have the netxms agent be an snmp proxy for the node it's installed on?

    1 Reply Last reply
    0
    • D
      D
      djex81
      wrote on last edited by
      #2

      Does any one know if this is possible?

      I found if I add a second node with the IP 127.0.0.1 and setting Host B as the SNMP proxy I can access Host B's SNMP. But this isn't ideal as I now have two nodes for Host B. One for the NetXMS agent and one for SNMP.

      I am using version 2.0-M2. Is this issue possibly a bug?

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

        Hi,

        SNMP proxy functionality was broken in 2.0-M2. I've fixed it in 2.0-M3. I've also change logic a bit so if node is proxy for itself it will use loopback address instead of primary IP address for SNMP requests - this can help avoid possible firewall problems and secure SNMP access to node by allowing only requests via loopback.

        Best regards,
        Victor

        1 Reply Last reply
        0
        • D
          D
          djex81
          wrote on last edited by
          #4

          @victor said in Netxms agent as snmp proxy for the node it's installed on? [SOLVED]:

          Hi,

          SNMP proxy functionality was broken in 2.0-M2. I've fixed it in 2.0-M3. I've also change logic a bit so if node is proxy for itself it will use loopback address instead of primary IP address for SNMP requests - this can help avoid possible firewall problems and secure SNMP access to node by allowing only requests via loopback.

          Best regards,
          Victor

          Hi Victor, Thank you for fixing this issue. SNMP in 2.0-M3 works great.

          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