Ad Widget

Collapse

Get value from agent failed: can't connect to [[port]:10050- Interrupted system call

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ksong
    Junior Member
    • Nov 2019
    • 4

    #1

    Get value from agent failed: can't connect to [[port]:10050- Interrupted system call

    Hi everyone,

    I am encountering this issue when trying to setup monitoring from the Zabbix agent hosted on Windows with the Zabbix Server hosted on Azure Cloud Ubuntu server.
    I have opened up Windows firewall Inbound port rules for Zabbix agent listening port (Local Port:10050) & also outbound port rules (Remote Port:10050).
    I've also opened up the ports 10051 and 10050 on both inbound and outbound port rules on the Ubuntu server.
    And I've allowed the Zabbix Agent listening port & the zabbix-agentd.exe to communicate through Windows Defender Firewall.
    I've also done port forwarding so that 10050 can be directed from the public ip address 1.152.XXX.XXX (see attached photo on Zabbix frontend) to my private static ip address through my router.

    And in the config file for Zabbix agent, the only things that are not commented out are:
    - LogFile=C:\Program Files\Zabbix Agent\zabbix_agentd.log (haven't changed anything)
    - EnableRemoteCommands=1 (1 means allowed)
    - Server=20.37.46.126 (I've also changed this to DNS but it also has not worked)
    - ServerActive=20.37.46.126 (DNS also didn't work)
    - Hostname=DESKTOP-TVTDSIO (exactly the same as what is in the Zabbix agent Hostname set up)
    - Include=C:\Program Files\Zabbix Agent\zabbix_agentd.conf.d\ (haven't changed anything)

    And I have restarted the Zabbix agent after every change.

    This is what the log file is saying (attached - the shorter photo). When I detailed the log file further, the log file is saying this (attached - the longer photo).

    So I'm not sure why I am getting the error 'Get value from agent failed...' ???

    Pls help, thank you!!!
Working...