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 SNMP Proxy

NetXMS SNMP Proxy

Scheduled Pinned Locked Moved Support
7 Posts 2 Posters 42.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.
  • P
    P
    Player1
    wrote on last edited by
    #1

    Hello,

    i'm trying to setup a netxms agent as a snmp proxy. the scenario is:

    • gui on host A
    • server on host B
    • netxms agent on host C
    • snmpd on host C

    i'd like to use the netxms agent on host C as a snmp proxy to localhost (to itself - host C). this is because of the firewall.
    the snmp agent status in the console remains "inactive", but i can snmpwalk to localhost on host C. i can't figure out why.
    i've set up:

    • snmpd on host c with config, that grants RO access to everyone (if i try the snmp agent without the proxy it works)
    • snmp proxy host as that host C in properties of host C
    • EnableSNMPProxy = yes in snmpd.conf in host c agent's config
    • the community is ok as it works without proxy

    i realised that there exist an older topic (https://www.netxms.org/forum/index.php/topic,26.0.html) on a simlar subject but that does not help me much.

    any help would be appreciated.

    tnx.

    1 Reply Last reply
    0
    • P
      P
      Player1
      wrote on last edited by
      #2

      I've figured out another thing:
      if i add another node (node d) to the scenario and setup snmp proxy so that node c is the proxy for node d and node d is proxy for node c, it works perfectly! but (still) when i try to proxy snmp of a host (whether c or d) to itself it does not work.

      any suggestions?

      tnx

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

        Hi!

        I'll test this configuration later today or tomorrow.

        Best regards,
        Victor

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

          @player1 said in NetXMS SNMP Proxy:

          i'd like to use the netxms agent on host C as a snmp proxy to localhost (to itself - host C). this is because of the firewall.
          the snmp agent status in the console remains "inactive", but i can snmpwalk to localhost on host C. i can't figure out why.

          One more question: did you try snmpwalk from host C to host C IP address (not localhost)? Because NetXMS agent will send SNMP requests from hosts's IP address to it's own IP address, it will not use loopback.

          Best regards,
          Victor

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

            Just test it - there is a bug in SNMP proxy code - situation when host is an SNMP proxy for itself is handled incorrectly. I'll fix it.

            Best regards,
            Victor

            1 Reply Last reply
            0
            • P
              P
              Player1
              wrote on last edited by
              #6

              yes, i used the host's ip address not localhost. actually i cannot use localhost as the only option is to choose a host that is already in netxms as a node, so i chose that same host. (in Object properties window of host C under SNMP section the proxy option is set to host C)

              tnx

              1 Reply Last reply
              0
              • P
                P
                Player1
                wrote on last edited by
                #7

                oh, ok than.

                thank you very much

                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