Ad Widget

Collapse

Unable to get agent to connect to server

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • usao
    Junior Member
    • Jan 2015
    • 13

    #1

    Unable to get agent to connect to server

    I have a CentOS 6 environment. Installed a Zabbix server and installed the agents on the Guest OS (also CentOS 6) using the following commands:

    rpm -Uvh http://repo.zabbix.com/zabbix/2.4/rh...el6.noarch.rpm
    yum install -y zabbix zabbix-agent
    chkconfig --levels 235 zabbix-agent on
    vi /etc/zabbix/zabbix_agentd.conf
    Server=<Zabbix IP>
    Hostname=<hostname>
    service zabbix-agent start

    Added the following to /etc/sysconfig/iptables:
    -A INPUT -s <Zabbix IP> -p tcp --dport 10050 -j ACCEPT

    However, I appear to be getting errors in the audit.log file indicating:

    type=AVC msg=audit(1421932447.249:156818): avc: denied { write } for pid=15791 comm="zabbix_agentd"

    I tried to make selinux permissive, but that didn't help.
    semanage permissive -a zabbix_agent_t
Working...