NetXMS Support Forum

English Support => General Support => Topic started by: DH on May 20, 2010, 01:10:22 PM

Title: Cannot get proxy working
Post by: DH on May 20, 2010, 01:10:22 PM
** 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
Title: Re: Cannot get proxy working
Post by: Victor Kirhenshtein on May 20, 2010, 05:12:51 PM
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
Title: Re: Cannot get proxy working
Post by: DH on June 15, 2010, 11:48:42 AM
Still cannot get this to work ?

Any idea where I am being stupid ?

David
Title: Re: Cannot get proxy working
Post by: Victor Kirhenshtein on June 15, 2010, 01:27:02 PM
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
Title: Re: Cannot get proxy working
Post by: DH on June 17, 2010, 02:54:02 PM
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