NetXMS Support Forum

English Support => General Support => Topic started by: fINT on February 26, 2019, 06:04:15 PM

Title: Agent to multiple IP (servers) connections
Post by: fINT on February 26, 2019, 06:04:15 PM
Good day.
I use Agent-to-Server connection in my configuration.
Like here: https://wiki.netxms.org/wiki/How_to_configure_agent_to_server_connection.
Office, where NetXMS server is located, have 2 internet channels from different ISP (and also 2 external IP addresses: IP1 and IP2).
Is it possible to use both channels (as failover) in ServerConnection parameter in nxagentd.conf?
When first (main) channel is down - agents connect to IP2, when it is up -agents connects to IP1.
Title: Re: Agent to multiple IP (servers) connections
Post by: Tursiops on February 27, 2019, 12:30:01 PM
You can have two ServerConnection parameters (these need to be on separate lines in your configuration), but they will not act as failover. They will both be live.
I am not sure how the server will handle two connections from the same agent.
Title: Re: Agent to multiple IP (servers) connections
Post by: fINT on February 28, 2019, 09:29:24 AM
Thanks :).