NetXMS Support Forum

Please login or register.

Login with username, password and session length

Author Topic: Agent to multiple IP (servers) connections  (Read 154 times)

fINT

  • Newbie
  • *
  • Posts: 12
    • View Profile
Agent to multiple IP (servers) connections
« 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.
Logged

Tursiops

  • Sr. Member
  • ****
  • Posts: 360
    • View Profile
Re: Agent to multiple IP (servers) connections
« Reply #1 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.
Logged

fINT

  • Newbie
  • *
  • Posts: 12
    • View Profile
Re: Agent to multiple IP (servers) connections
« Reply #2 on: February 28, 2019, 09:29:24 am »

Thanks :).
Logged