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. Cannot get proxy working

Cannot get proxy working

Scheduled Pinned Locked Moved Support
5 Posts 2 Posters 34.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.
  • D
    D
    DH
    wrote on last edited by
    #1

    ** newbie alert **

     I cannot seem to get proxying to work, I have a node (a) behind NAT that is working fine via a redirected public address and a second node (b) on the same LAN as (a) that I want to monitor. Node (b) is configured at the master server to communicate via proxy node (a), both nodes are listed in the opposites 'trusted node list', node (b) has a primary address of 192.168.1.32

     The configuration files of the respective agents are:

    Node (a) config file:

    #
    # NetXMS agent configuration file
    # Created by agent installer at Thu Apr 01 12:39:33 2010
    #

    MasterServers = master.public.com
    LogFile = {syslog}
    FileStore = D:\admin\NetXMS\var
    SubAgent = ping.nsm
    SubAgent = logwatch.nsm
    SubAgent = portcheck.nsm
    SubAgent = winperf.nsm
    SubAgent = wmi.nsm
    EnabledCiphers = 15
    RequireAuthentication = yes
    SharedSecret = secret
    EnableProxy = yes
    EnableSNMPProxy = yes

    Node (b) config file:

    #
    # NetXMS agent configuration file
    # Created by agent installer at Thu Apr 01 12:41:14 2010
    #

    MasterServers = master.public.com
    Servers = 192.168.1.31
    LogFile = {syslog}
    FileStore = C:\apps\NetXMS\var
    SubAgent = ping.nsm
    SubAgent = logwatch.nsm
    SubAgent = portcheck.nsm
    SubAgent = winperf.nsm
    SubAgent = wmi.nsm
    EnabledCiphers = 15
    RequireAuthentication = no
    SharedSecret = secret

     Any help as to what I'm doing wrong would be much appreciated.

    David

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

      Hi!

      In node (b) config file, you should specify node (a) as master server (if node (a) has multiple interfaces, use address from node (b) subnet).

      Best regards,
      Victor

      1 Reply Last reply
      0
      • D
        D
        DH
        wrote on last edited by
        #3

        Still cannot get this to work ?

        Any idea where I am being stupid ?

        David

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

          Could you please post actual configs? Also, try to run agent on node (b) in debug mode (nxagentd -D 9) and post log file.

          Best regards,
          Victor

          1 Reply Last reply
          0
          • D
            D
            DH
            wrote on last edited by
            #5

            Hi Victor,

             Many thanks for your patience, I have it working now. I set the authentication secret on both nodes to be the same and it seems to be working (I may have done something else along the way too - I lost track of what I had tried).

            Regards,
            David

            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