Ad Widget

Collapse

Get value from agent failed

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • nos09
    Junior Member
    • Jul 2014
    • 1

    #1

    Get value from agent failed

    HI, I just installed zabbix on a separate ec2 server.. The installation went smooth.

    I added first host to monitor which is my git server (digitalocean)- it works perfectly..

    Then I added a second one which is my wiki-server (digitalocean) - it gives me error -
    Code:
    Get value from agent failed: cannot connect to [[10.0.0.2]:10050]: [4] Interrupted system cal
    Then I added a third one which is my web app testing (Ec2 amazon) - it gives me error -
    Code:
    Get value from agent failed: cannot connect to [[10.0.0.2]:10050]: [111] Connection refused
    I have opened ports 10051 and 10050 on ec2. since didgitalocean doesnt require any i didn't besides git server works without any modification.

    ON host i did
    Code:
    apt-get install zabbix-agent
    vi zabbix_agentd.conf 
    ~server=ip of zabbix server
    ~hostname=hostname of current machine(i.e wiki-server)
    service zabbix-agent restart
    And I dont know if anything is wrong but when i do /etc/init.d/zabbix-agen start/restart, it fails but service command works.

    Any idea whats wrong !?!!? I just cant get my head round this thing ..

    Btw i really liked the interface and services of zabbix, though really can't figure out whats wrong with monitoring !!
Working...