Cannot get proxy working

Started by DH, May 20, 2010, 01:10:22 PM

Previous topic - Next topic

DH

** 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

Victor Kirhenshtein

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

DH

Still cannot get this to work ?

Any idea where I am being stupid ?

David

Victor Kirhenshtein

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

DH

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