ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Install Zabbix on CentOS 7

    Scheduled Pinned Locked Moved IT Discussion
    how tozabbixzabbix 3.0zabbix servercentos 7centos
    51 Posts 13 Posters 13.0k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • hobbit666H
      hobbit666 @JaredBusch
      last edited by

      @JaredBusch said in Install Zabbix on CentOS 7:

      I only have 6 devices reporting in on this for the moment. Been meaning to get this fully functional for months now.

      Same here I really need to wipe mine and re-do it all and get some better info out of it like Performance and IOPS on the servers etc, instead of just ping to see if up or down

      1 Reply Last reply Reply Quote 1
      • JaredBuschJ
        JaredBusch
        last edited by JaredBusch

        Had to modify the instructions a bit to handle SELinux. The below have been added to the first post already.

        Install SELinux tools.

        yum -y install setroubleshoot setools
        

        After your system is up and running, reboot. You should hopefully have a problem with SELinux blocking a couple of things.

        [root@zabbix ~]# sealert -a /var/log/audit/audit.log | grep zabbix
        SELinux is preventing /usr/sbin/zabbix_server_mysql from using the setrlimit access on a process.
        <snip lots of text>
        SELinux is preventing /usr/sbin/zabbix_agentd from using the setrlimit access on a process.
        

        Now that these errors are in the audit log, we can set up SELinux to allow it.

        If anyone knows SELinux well enough to create the policies needed without waiting for a fail, just let me know. I will be happy to update these instructions.

        ausearch -c 'zabbix_server' --raw | audit2allow -M my-zabbixserver
        semodule -i my-zabbixserver.pp
        ausearch -c 'zabbix_agentd' --raw | audit2allow -M my-zabbixagentd
        semodule -i my-zabbixagentd.pp
        
        1 Reply Last reply Reply Quote 1
        • coliverC
          coliver
          last edited by

          Did anyone get Zabbix working over SSL? I'm getting a 403 error when I try to setup the certificates.

          wirestyle22W 1 Reply Last reply Reply Quote 0
          • wirestyle22W
            wirestyle22 @coliver
            last edited by wirestyle22

            @coliver said in Install Zabbix on CentOS 7:

            Did anyone get Zabbix working over SSL? I'm getting a 403 error when I try to setup the certificates.

            I'm planning to do this and I think the best way (from what I've read) is to use a proxy to handle the SSL cert for you

            DashrenderD 1 Reply Last reply Reply Quote 0
            • DashrenderD
              Dashrender @wirestyle22
              last edited by

              @wirestyle22 said in Install Zabbix on CentOS 7:

              @coliver said in Install Zabbix on CentOS 7:

              Did anyone get Zabbix working over SSL? I'm getting a 403 error when I try to setup the certificates.

              I'm planning to do this and I think the best way (from what I've read) is to use a proxy to handle the SSL cert for you

              Does this mean proxying internal connections as well?

              I know Scott loves his LANLess design, so maybe my question is meaningless, because to him there is no internal?

              coliverC 1 Reply Last reply Reply Quote 0
              • coliverC
                coliver @Dashrender
                last edited by

                @dashrender said in Install Zabbix on CentOS 7:

                @wirestyle22 said in Install Zabbix on CentOS 7:

                @coliver said in Install Zabbix on CentOS 7:

                Did anyone get Zabbix working over SSL? I'm getting a 403 error when I try to setup the certificates.

                I'm planning to do this and I think the best way (from what I've read) is to use a proxy to handle the SSL cert for you

                Does this mean proxying internal connections as well?

                I know Scott loves his LANLess design, so maybe my question is meaningless, because to him there is no internal?

                Yes, you could setup a proxy on the same box as Zabbix.

                wirestyle22W 1 Reply Last reply Reply Quote 1
                • wirestyle22W
                  wirestyle22 @coliver
                  last edited by wirestyle22

                  @coliver said in Install Zabbix on CentOS 7:

                  @dashrender said in Install Zabbix on CentOS 7:

                  @wirestyle22 said in Install Zabbix on CentOS 7:

                  @coliver said in Install Zabbix on CentOS 7:

                  Did anyone get Zabbix working over SSL? I'm getting a 403 error when I try to setup the certificates.

                  I'm planning to do this and I think the best way (from what I've read) is to use a proxy to handle the SSL cert for you

                  Does this mean proxying internal connections as well?

                  I know Scott loves his LANLess design, so maybe my question is meaningless, because to him there is no internal?

                  Yes, you could setup a proxy on the same box as Zabbix.

                  Zabbix makes their own Proxy as well just as a side note

                  coliverC 1 Reply Last reply Reply Quote 0
                  • coliverC
                    coliver @wirestyle22
                    last edited by

                    @wirestyle22 said in Install Zabbix on CentOS 7:

                    @coliver said in Install Zabbix on CentOS 7:

                    @dashrender said in Install Zabbix on CentOS 7:

                    @wirestyle22 said in Install Zabbix on CentOS 7:

                    @coliver said in Install Zabbix on CentOS 7:

                    Did anyone get Zabbix working over SSL? I'm getting a 403 error when I try to setup the certificates.

                    I'm planning to do this and I think the best way (from what I've read) is to use a proxy to handle the SSL cert for you

                    Does this mean proxying internal connections as well?

                    I know Scott loves his LANLess design, so maybe my question is meaningless, because to him there is no internal?

                    Yes, you could setup a proxy on the same box as Zabbix.

                    Zabbix makes their own Proxy as well just as a side note

                    I wasn't aware. I've got the SSL "working" kind of but need to troubleshoot my virtualhost declaration as to why it isn't working.

                    wirestyle22W 1 Reply Last reply Reply Quote 0
                    • wirestyle22W
                      wirestyle22 @coliver
                      last edited by

                      @coliver said in Install Zabbix on CentOS 7:

                      @wirestyle22 said in Install Zabbix on CentOS 7:

                      @coliver said in Install Zabbix on CentOS 7:

                      @dashrender said in Install Zabbix on CentOS 7:

                      @wirestyle22 said in Install Zabbix on CentOS 7:

                      @coliver said in Install Zabbix on CentOS 7:

                      Did anyone get Zabbix working over SSL? I'm getting a 403 error when I try to setup the certificates.

                      I'm planning to do this and I think the best way (from what I've read) is to use a proxy to handle the SSL cert for you

                      Does this mean proxying internal connections as well?

                      I know Scott loves his LANLess design, so maybe my question is meaningless, because to him there is no internal?

                      Yes, you could setup a proxy on the same box as Zabbix.

                      Zabbix makes their own Proxy as well just as a side note

                      I wasn't aware. I've got the SSL "working" kind of but need to troubleshoot my virtualhost declaration as to why it isn't working.

                      Wish I could help more. This is something I am doing in the very near future though.

                      1 Reply Last reply Reply Quote 0
                      • openitO
                        openit
                        last edited by

                        I'm about setup Zabbix with above script on CentOS 8.

                        Do I just need to update the link below, to get latest Zabbix version? all remains same?
                        http://repo.zabbix.com/zabbix/5.0/rhel/8/x86_64/zabbix-release-5.0-1.el8.noarch.rpm

                        @JaredBusch

                        JaredBuschJ 1 Reply Last reply Reply Quote 0
                        • JaredBuschJ
                          JaredBusch @openit
                          last edited by

                          @openit said in Install Zabbix on CentOS 7:

                          I'm about setup Zabbix with above script on CentOS 8.

                          Do I just need to update the link below, to get latest Zabbix version? all remains same?
                          http://repo.zabbix.com/zabbix/5.0/rhel/8/x86_64/zabbix-release-5.0-1.el8.noarch.rpm

                          @JaredBusch

                          This is a 4 year old guide, no guarantees.

                          But yes, it will likely be that easy.

                          1 Reply Last reply Reply Quote 1
                          • V
                            VoIP_n00b
                            last edited by

                            https://computingforgeeks.com/how-to-install-zabbix-server-on-rhel-8-centos-8/

                            hobbit666H 1 Reply Last reply Reply Quote 1
                            • hobbit666H
                              hobbit666 @VoIP_n00b
                              last edited by

                              @VoIP_n00b said in Install Zabbix on CentOS 7:

                              https://computingforgeeks.com/how-to-install-zabbix-server-on-rhel-8-centos-8/

                              Followed that yesterday and all went OK

                              openitO 1 Reply Last reply Reply Quote 1
                              • openitO
                                openit @hobbit666
                                last edited by

                                @hobbit666 said in Install Zabbix on CentOS 7:

                                @VoIP_n00b said in Install Zabbix on CentOS 7:

                                https://computingforgeeks.com/how-to-install-zabbix-server-on-rhel-8-centos-8/

                                Followed that yesterday and all went OK

                                Thanks for feedback!

                                1 Reply Last reply Reply Quote 0
                                • 1
                                • 2
                                • 3
                                • 3 / 3
                                • First post
                                  Last post