how to monitoring node on amazon?

Started by sk2040, May 03, 2013, 01:06:16 AM

Previous topic - Next topic

sk2040

hi

i have an instalation of netxms on my datacenter, i can monitoring the machines in the same network, but  i try to monitoring another machines i have in amazon, but a can't configurated correctly.

i open the ports in the local firewall, and open ports of agent in the amazon firewall, but still without comunication.

somebody how if i need specific ports for monitoring machines outside of my network?

(sorry for my english)

Victor Kirhenshtein

Hi!

NAT may be an issue. Check that incoming connection from server is from same IP address that is listed in MasterServers parameter in agent configuration file. You can also try to run agent on remote node from console in debug mode, like this:

nxagentd -D9

and see if it rejects connections from server for some reason.

Best regards,
Victor

sk2040

i still without connect

i open ports for tcp for my firewall side

8787 4700 4701

C:\NetXMS\bin>nxagentd -D9
[03-May-2013 17:13:43.608] Additional configs was loaded from C:\NetXMS\etc\nxagentd.conf.d
[03-May-2013 17:13:43.608] Debug level set to 9
[03-May-2013 17:13:43.608] Subagent API initialized
[03-May-2013 17:13:43.640] Subagent "WINNT.NSM" loaded successfully
[03-May-2013 17:13:43.640] Debug callback set for DB library
[03-May-2013 17:13:43.655] Counter set B is empty, collector thread for that set will not start
[03-May-2013 17:13:43.655] Subagent "winperf.nsm" loaded successfully
[03-May-2013 17:13:43.655] Counter set C is empty, collector thread for that set will not start
[03-May-2013 17:13:44.655] External parameters providers poller thread will not start
[03-May-2013 17:13:44.655] PushConnector: CreateNamedPipe failed (Access is denied.)
[03-May-2013 17:13:44.671] PushConnector: listener thread stopped
[03-May-2013 17:13:44.671] Trying to bind on 0.0.0.0:4700
[03-May-2013 17:13:44.671] StorageDiscoveryConnector: CreateNamedPipe failed (Access is denied.)
[03-May-2013 17:13:44.671] Unable to bind socket: Only one usage of each socket address (protocol/network address/port) is normally permitted.
[03-May-2013 17:13:44.671] StorageDiscoveryConnector: listener thread stopped
[03-May-2013 17:13:44.671] StorageDiscoveryConnector: listener thread stopped

Victor Kirhenshtein

From that message:

[03-May-2013 17:13:44.671] Unable to bind socket: Only one usage of each socket address (protocol/network address/port) is normally permitted.

it seems that you either trying to run agent twice, or that some other process already listen on port 4700. Please check that there are no other nxagentd processes, and then run agent in debug mode again.

Best regards,
Victor

sk2040

nothing yet

C:\NetXMS\bin>nxagentd -D9
[17-May-2013 11:51:47.364] Additional configs was loaded from C:\NetXMS\etc\nxagentd.conf.d
[17-May-2013 11:51:47.364] Debug level set to 9
[17-May-2013 11:51:47.364] Subagent API initialized
[17-May-2013 11:51:47.395] Subagent "WINNT.NSM" loaded successfully
[17-May-2013 11:51:47.395] Debug callback set for DB library
[17-May-2013 11:51:47.411] Subagent "winperf.nsm" loaded successfully
[17-May-2013 11:51:47.411] Counter set C is empty, collector thread for that set will not start
[17-May-2013 11:51:47.411] Counter set B is empty, collector thread for that set will not start
[17-May-2013 11:51:48.411] External parameters providers poller thread will not start
[17-May-2013 11:51:48.411] PushConnector: named pipe created, waiting for connection
[17-May-2013 11:51:48.411] StorageDiscoveryConnector: named pipe created, waiting for connection
[17-May-2013 11:51:48.411] Trying to bind on 0.0.0.0:4700
[17-May-2013 11:51:48.426] Listening on socket 0.0.0.0:4700
[17-May-2013 11:51:49.411] NetXMS Agent started
Agent running. Press ESC to shutdown.
Agent shutting down...
[17-May-2013 11:52:52.739] Shutdown() called
[17-May-2013 11:52:52.739] Trap sender thread terminated
[17-May-2013 11:52:54.411] Listener thread terminated
[17-May-2013 11:52:54.411] Session Watchdog thread terminated
[17-May-2013 11:52:54.411] Collector thread for counter set A terminated
[17-May-2013 11:52:54.911] NetXMS Agent stopped