Ad Widget

Collapse

Zabbix cannot connect to

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • maximid
    Junior Member
    • Oct 2023
    • 3

    #1

    Zabbix cannot connect to

    Hello, I am getting the following error in the log on the endpoint vm. In Zabbix it shows Zabbix Agent not available.

    HTML Code:
    1056880:20231003:194856.788 active check data upload to [zabbix.domain.tld:10051] is working again
    1056880:20231003:194915.791 active check data upload to [zabbix.domain.tld:10051] started to fail ([connect] cannot connect to [[zabbix.domain.tld]:10051]: [4] Interrupted system call)
    1056880:20231003:194947.811 active check data upload to [zabbix.domain.tld:10051] is working again
    1056880:20231003:195151.035 active check data upload to [zabbix.domain.tld:10051] started to fail ([connect] cannot connect to [[zabbix.domain.tld]:10051]: [4] Interrupted system call)
    1056880:20231003:195152.069 active check data upload to [zabbix.domain.tld:10051] is working again
    1056880:20231003:195207.140 active check configuration update from [zabbix.domain.tld:10051] started to fail (cannot connect to [[zabbix.domain.tld]:10051]: [4] Interrupted system call)
    1056880:20231003:195308.262 active check configuration update from [zabbix.domain.tld:10051] is working again
    1056880:20231003:195517.463 active check data upload to [zabbix.domain.tld:10051] started to fail ([connect] cannot connect to [[zabbix.domain.tld]:10051]: [4] Interrupted system call)
    1056880:20231003:195519.493 active check data upload to [zabbix.domain.tld:10051] is working again
    1056880:20231003:195522.494 active check configuration update from [zabbix.domain.tld:10051] started to fail (cannot connect to [[zabbix.domain.tld]:10051]: [4] Interrupted system call)
    1056880:20231003:195623.620 active check configuration update from [zabbix.domain.tld:10051] is working again
    1056880:20231003:195756.769 active check data upload to [zabbix.domain.tld:10051] started to fail ([connect] cannot connect to [[zabbix.domain.tld]:10051]: [4] Interrupted system call)
    1056880:20231003:195757.796 active check data upload to [zabbix.domain.tld:10051] is working again
    1056880:20231003:200304.386 active check data upload to [zabbix.domain.tld:10051] started to fail ([connect] cannot connect to [[zabbix.domain.tld]:10051]: [4] Interrupted system call)
    1056880:20231003:200305.412 active check data upload to [zabbix.domain.tld:10051] is working again
    1056880:20231003:200439.654 active check data upload to [zabbix.domain.tld:10051] started to fail ([connect] cannot connect to [[zabbix.domain.tld]:10051]: [4] Interrupted system call)
    1056880:20231003:200440.676 active check data upload to [zabbix.domain.tld:10051] is working again​
    Any ideas?


    Thanks and Regards
    Max
  • adrian_c
    Junior Member
    • Nov 2018
    • 12

    #2
    I'm presuming you've edited the log to replace your real zabbix server FQDN with "zabbix.domain.tld" ? If not, you will need to check your server settings in your agent.conf, otherwise you will need to allow inbound/outbound tcp/10051 from your agent to the zabbix server on your firewall or locally if you are using a local firewall, e.g. iptables.

    Code:
    Agent           ->           Server
                tcp/10051

    Comment

    • maximid
      Junior Member
      • Oct 2023
      • 3

      #3
      Originally posted by adrian_c
      I'm presuming you've edited the log to replace your real zabbix server FQDN with "zabbix.domain.tld" ? If not, you will need to check your server settings in your agent.conf, otherwise you will need to allow inbound/outbound tcp/10051 from your agent to the zabbix server on your firewall or locally if you are using a local firewall, e.g. iptables.

      Code:
      Agent -> Server
      tcp/10051
      Thanks for your comment! Yes, I replaced it. It is external. Ports are open.

      Comment

      Working...