Can't connect with agent on Window

Started by tivanni, February 27, 2013, 01:40:36 PM

Previous topic - Next topic

tivanni

Hi,

i'm running netxms 1.2.5 and i wanna to monitor an FTP service on a Window 64 bit . I have installed the agent 1.2.5 (x64 version) on Window, here is the configuration on the agent:

#
# NetXMS agent configuration file
# Created by agent installer at Tue Feb 26 12:35:08 2013
#

MasterServers = 10.10.9.10
ConfigIncludeDir = C:\NetXMS\etc\nxagentd.conf.d
LogFile = {syslog}
FileStore = C:\NetXMS\var
SubAgent = portcheck.nsm
SubAgent = winperf.nsm
SubAgent = wmi.nsm

i started the agent with the -c option and the above configuration. The agent starts successfully and it listen for connection on port 4700

On netxms Console, when i Poll the configuration of the node the agent on the node isn't recognized.

From the netxms server,  both the ping to the Window pc or the telnet to the ip and port are ok, so why the agent isn't viewed from the console?

Thank You in advance,

Giovanni

macro

Can you run the agent with full debug enabled (-D 9) from a command line and check what does it say in the log.

Once the server tries to reach the agent you will see something like this in the agent log:

[06-Mar-2013 13:52:23.028] Incoming connection from 127.0.0.1

Then normally it would report that connection is accepted. Note that the IP address from the line above must match one of the IPs you specify in the MasterServers. Hope this helps, if not then please post the log here.

tivanni

Hi!

i run the agent with -D 9 option and I discover netxms try to contact the agent with another ip that i'm not expected. I add this IP in MasterServer and everything going ok.
Thank You for the help,


Giovanni