Ad Widget

Collapse

Debian - apt-get agent installation

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ittec
    Member
    • Mar 2008
    • 73

    #1

    Debian - apt-get agent installation

    Hi again

    first I need to say that I read a lot of post about "Connection refused" troubles of many Zabbix users. I think that my trouble is iptables but I want to tell the way to install zabbix agent in Debian by apt-get if need be.

    I have a zabbix sever running on Centos 5 without troubles and in same way, 5-10 zabbix agents on Windows and Linux(Centos 5). I've 3 Debian servers with IPtables rules on. For me is the first difference between servers. I read some guides to install zabbix agent in Debian and it seems is very easy but don't work for me

    guide 1
    guide 2

    I use apt-get to install zabbix_agent and after edited the properly .conf. But my zabbix server show:

    Debian 1)Cannot connect to [91.192.110.56:10050] [Connection refused]
    Debian 2) Cannot connect to [91.192.110.57:10050] [Interrupted system call]

    I edited iptables with this rules:

    Code:
    iptables -A INPUT -s 217.113.249.47 -j ACCEPT 
    iptables -A OUTPUT -s 217.113.249.47 -j ACCEPT
    iptables -A INPUT -p tcp --dport 10050:10051 -j ACCEPT 
    iptables -A OUTPUT -p tcp --dport 10050:10051 -j ACCEPT
    The zabbix_agent.log don't show any special Perhaps I need to compile zabbix agent from Zabbix source??? I check the version of Zabbix Agent through Debian apt-get and is 1.4.4, the last.... Any idea?

    Thanks!
  • ittec
    Member
    • Mar 2008
    • 73

    #2
    Solved

    well, bad setup. The explanation in spanish here:

    Connection refused solved

    Bye!

    Comment

    Working...