Ad Widget

Collapse

Assuming that agent dropped connection becaus

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • itvet
    Member
    • Jul 2010
    • 31

    #1

    Assuming that agent dropped connection becaus

    I've just upgraded to 1.8.3 on a new server, I had an old server running 1.8.2 that worked perfectly. I've compiled zabbix from source, exported all of the hosts from the old server and imported them into the new server, than I swapped the internal IPs of the servers which has correctly swapped the external IP to pointing to the new server. however all of my servers now show that they are offline, which I know is not true. the specific error message is:
    Got empty string from [x.x.x.x]. Assuming that agent dropped connection because of access permission
    I know that the server is accessable because I can run telnet x.x.x.x 10050 and it works.
    any ideas?
  • trikke
    Senior Member
    • Aug 2007
    • 140

    #2
    In the zabbix_agentd.conf file you have a definition:

    ### Option: Server
    # List of comma delimited IP addresses (or hostnames) of Zabbix servers.
    # No spaces allowed. First entry is used for receiving list of and sending active checks.
    # Note that hostnames must resolve hostname->IP address and IP address->hostname.
    # If IPv6 support is enabled then '127.0.0.1', '::127.0.0.1', '::ffff:127.0.0.1' are treated equally.
    #
    # Mandatory: yes
    # Default:
    # Server=

    this tells your agent to wich servers commands and requests are allowed.

    You mentioned u set up a new server, u swaped the IP-Adresses but not the servernames. If this is not possible try to set an alias for the servers name in the dns, so that the agents can connect to the "new" server with the "old"-definied name.

    This should do the trick.

    Of Course you could change the server= configdefinition on all your agents.

    Greets
    Patrick

    Comment

    • itvet
      Member
      • Jul 2010
      • 31

      #3
      I know the problem, the zabbix server process isn't started, how do I start it manually?

      Comment

      Working...