Agent on server not connecting - 2.1RC1

Started by lweidig, May 19, 2017, 09:41:08 PM

Previous topic - Next topic

lweidig

We are running Ubuntu 16.04 from packages.  The agent running on the server will NOT however connect to the server itself.  Running the agent with -D 9 -f we only see:

[19-May-2017 13:35:09.775] [DEBUG] Incoming connection from <serverIp>
[19-May-2017 13:35:09.776] [DEBUG] Connection from <serverIp> rejected

The nxagentd.conf file is very basic:

MasterServers = 127.0.0.1
FileStore = /tmp
StartupDelay = 30
EnableActions = yes
SubAgent = portcheck.nsm
*portCheck
Timeout = 5000
*ping
Timeout = 5000

I see the modules all loading and things seem fine.  Have tried using the real IP for the MasterServers and no help.  Tried also debugging the server and did not get anything that helped from that either.

Victor Kirhenshtein

Hi,

you should add server's real IP address to MasterServers as well.

Best regards,
Victor

lweidig

This did indeed resolve the issue.  Thanks!