Ad Widget

Collapse

zabbix appliance firewall problem

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • chewy
    Junior Member
    • Dec 2015
    • 9

    #1

    zabbix appliance firewall problem

    I'm trying to get up and running with the zabbix appliance 3.0.1 iso. I installed the mysql server version and i've been playing around but when I try to use active checks on a test windows machine, I cannot connect to port 10051 on the appliance.

    When I run netstat I see this line:
    tcp 0 0 *:zabbix-trapper *:* LISTEN

    so I assume the port is open.

    In the agent log on the windows machine I see:
    active check configuration update from [x.x.x.x:10051] started to fail (cannot connect to [[x.x.x.x]:10051]: A connection timeout occurred.

    Per the docs, I thought port 10051 was open on the appliance. I ran sudo service iptables-persistent flush and I think that stops the firewall because I can see data but i'd prefer to have the firewall on.

    Anyone know what to do to fix the problem or adjust the firewall if there's a problem?
  • obasigeorge
    Junior Member
    • Apr 2016
    • 6

    #2
    Edit the iptables file

    there is a missing line in /etc/iptables/rules.v4

    Add the following line in the ZBX section
    -A INPUT -s 0/0 -p tcp --dport 10051 -j ZBX

    restart the service
    service iptables restart

    Comment

    Working...