Install Zabbix 3.0 (Monitoring Server) on CentOS 7.x / RHEL 7.x

17 Responses

  1. oulou says:


    First of all great guide.
    I’m having an issue with this install, namely on the Zabbix Server Dashboard it shows me that “Zabbix server is running No localhost:10051”
    What could be the issue here? Also i’m using Azure to host the VM, so could it be something related to their config?

    • isbat says:


      I managed to follow your guide, but after everything was finished (parameter: Zabbix server is running value: No localhost: 100510) please help resolve this

  2. Balaraju says:

    i am not able to start the zabbix-server

    [[email protected] zabbix-server-mysql-3.0.3]# systemctl start zabbix-server
    Job for zabbix-server.service failed. See ‘systemctl status zabbix-server.service’ and ‘journalctl -xn’ for details.

    • playboy says:

      did u disable selinux ?

      • Laurynas Ovsiukas says:

        things you need to do:
        setsebool -P httpd_can_connect_zabbix on
        If you get an error like below,
        Job for zabbix-server.service failed because a configured resource limit was exceeded. See “systemctl status zabbix-server.service” and “journalctl -xe” for details.

        You may need to create custom exceptions and allow those through SELinux.
        yum install policycoreutils-python
        cat /var/log/audit/audit.log | grep zab | audit2allow -M zabbix-server
        semodule -i zabbix-server.pp

  3. Balaraju says:

    when i am checking the status it s giving the below status

    [[email protected] ~]# systemctl status zabbix-server.service
    zabbix-server.service – Zabbix Server
    Loaded: loaded (/usr/lib/systemd/system/zabbix-server.service; disabled)
    Active: activating (auto-restart) (Result: signal) since Wed 2016-06-08 02:05:56 EDT; 2s ago
    Process: 2642 ExecStart=/usr/sbin/zabbix_server -c $CONFFILE (code=killed, signal=SEGV)

    Jun 08 02:05:56 localhost.localdomain systemd[1]: zabbix-server.service: control process exited, code=killed status=11
    Jun 08 02:05:56 localhost.localdomain systemd[1]: Failed to start Zabbix Server.
    Jun 08 02:05:56 localhost.localdomain systemd[1]: Unit zabbix-server.service entered failed state.

  4. Balaraju says:

    Hello Pradeep,

    It’ Done.

    Why after updating it’s resolved. Which packages is required to zabbix-server to resolve this.

    Thanks pradeep

  5. Hello Pradeep,
    On CentOS 7, I did update before and after, but the problem is still the same on zabbix web console. How ever when I check the zabbix server status, it is running. Can you provide some hints to troubleshoot this situation?

  6. Toni H says:


    I had the same problem with MySQL not connecting and I found out that I needed to give httpd permission.

    setsebool -P httpd_can_network_connect=true

    Or you can just disable SELinux as well, but we don’t want that do we? 🙂

  7. papon says:

    this is how to solve “zabbix-server.service failed. See ‘systemctl status zabbix-server.service’ and ‘journalctl -xn’ for details.” problem.
    sudo yum install policycoreutils-python
    sudo grep zabbix_server /var/log/audit/audit.log | audit2allow
    sudo grep zabbix_server /var/log/audit/audit.log | audit2allow -M zabbix-limit
    sudo semodule -i zabbix-limit.pp
    sudo systemctl start zabbix-server

  8. RonP says:

    Another issue I encountered: After creating the database zabbix_db, I ran the command ant all privileges on zabbix_db.* to [email protected] identified by ; I got the error: ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ” at line 1
    Any ideas on this? Thanks!

  9. Tinram says:

    Excellent and detailed tutorial, thank you.

    The only extra thing I needed to do was:
    mkdir /etc/zabbix/zabbix_server.conf.d/
    which is apparently due to a Zabbix bug.

  10. siow says:

    tried admin/zabbix upon first login but it does not work. I changed to Admin/zabbix and it worked. I am not sure why.

Leave a Reply to oulou Cancel reply

Your email address will not be published. Required fields are marked *