Ad Widget

Collapse

Question about zabbix-agent with docker

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • t98907
    Junior Member
    • Mar 2020
    • 3

    #1

    Question about zabbix-agent with docker

    Hi there,

    I installed zabbix-server on my host pc using zabbix/zabbix-appliance:ubuntu-4.4-latest.
    It looks to work fine.

    Then I installed zabbix-agent on the same host pc using zabbix/zabbix-agent:ubuntu-4.4-latest and failed to do that becase of failing to start zabbix-agent.
    Is there a way to monitor my host pc's health using zabbix-agent?

    Thank you.
  • t98907
    Junior Member
    • Mar 2020
    • 3

    #2
    /var/log/zabbix/zabbix-agentd.log is as follows:

    Code:
     32514:20200326:163326.070 Starting Zabbix Agent [rpc-291]. Zabbix 4.4.7 (revision 77fb8c7ee0).
     32514:20200326:163326.071 **** Enabled features ****
     32514:20200326:163326.071 IPv6 support:          YES
     32514:20200326:163326.071 TLS support:           YES
     32514:20200326:163326.071 **************************
     32514:20200326:163326.071 using configuration file: /etc/zabbix/zabbix_agentd.conf
     32514:20200326:163326.071 listener failed: zbx_tcp_listen() fatal error: unable to serve on any address [[-]:10050]
     32514:20200326:163326.071 Zabbix Agent stopped. Zabbix 4.4.7 (revision 77fb8c7ee0).

    Comment

    • dimir
      Zabbix developer
      • Apr 2011
      • 1080

      #3
      Looks like there is already a process listening on port 10050. Could you show the output of
      Code:
      sudo netstat -lptn | grep 10050

      Comment

      • t98907
        Junior Member
        • Mar 2020
        • 3

        #4
        Thank you. The problem is resolved.

        Comment

        Working...