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

    Installing Zabbix on Centos 7

    IT Discussion
    5
    23
    4.7k
    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.
    • scottalanmillerS
      scottalanmiller
      last edited by

      Here is what the error was:

      zabbix/x86_64/filelists                                                                  |  46 kB  00:00:00     
      http://repo.zabbix.com/zabbix/2.4/rhel/7/x86_64/repodata/filelists.xml.gz: [Errno -1] Metadata file does not match checksum
      Trying other mirror.
      
      
       One of the configured repositories failed (Zabbix Official Repository - x86_64),
       and yum doesn't have enough cached data to continue. At this point the only
       safe thing yum can do is fail. There are a few ways to work "fix" this:
      
           1. Contact the upstream for the repository and get them to fix the problem.
      
           2. Reconfigure the baseurl/etc. for the repository, to point to a working
              upstream. This is most often useful if you are using a newer
              distribution release than is supported by the repository (and the
              packages for the previous distribution release still work).
      
           3. Disable the repository, so yum won't use it by default. Yum will then
              just ignore the repository until you permanently enable it again or use
              --enablerepo for temporary usage:
      
                  yum-config-manager --disable zabbix
      
           4. Configure the failing repository to be skipped, if it is unavailable.
              Note that yum will try to contact the repo. when it runs most commands,
              so will have to try and fail each time (and thus. yum will be be much
              slower). If it is a very temporary problem though, this is often a nice
              compromise:
      
                  yum-config-manager --save --setopt=zabbix.skip_if_unavailable=true
      
      failure: repodata/filelists.xml.gz from zabbix: [Errno 256] No more mirrors to try.
      http://repo.zabbix.com/zabbix/2.4/rhel/7/x86_64/repodata/filelists.xml.gz: [Errno -1] Metadata file does not match checksum
      
      
      1 Reply Last reply Reply Quote 0
      • scottalanmillerS
        scottalanmiller
        last edited by

        Check now, looks like it will install without a complaint.

        1 Reply Last reply Reply Quote 0
        • antonitA
          antonit
          last edited by

          OK, guys... Now that I have the install and good and dandy, I am trying to connect Zabbix to an external database. Alas, it is giving me issues and the documentation doesn't show what needs to be done to connect to an external database. Any advise would be appreciated 😄

          A 1 Reply Last reply Reply Quote 0
          • A
            Alex Sage @antonit
            last edited by

            @antonit What database?

            1 Reply Last reply Reply Quote 0
            • scottalanmillerS
              scottalanmiller
              last edited by

              Use the mysql client on the Zabbix server manually to connect to the MariaDB on the remote server. Make sure that doing so manually works before you try to troubleshoot Zabbix itself. Port is 3306.

              1 Reply Last reply Reply Quote 1
              • antonitA
                antonit
                last edited by

                I started doing some more digging and found that there is a descrepency with the version of gnutls on Centos 7. It seems to crash the "zabbix_server" service. Because it's an unoficial release of Zabbix on Centos 7, the problem will be there till I downgrade the version of gnutls. So my question is this.... Isn't this a security issue since there has been a vulnerability in the previous versioning of gnutls?

                scottalanmillerS 1 Reply Last reply Reply Quote 0
                • A
                  Alex Sage
                  last edited by

                  What version of Zabbix?

                  1 Reply Last reply Reply Quote 0
                  • scottalanmillerS
                    scottalanmiller @antonit
                    last edited by

                    @antonit said:

                    It seems to crash the "zabbix_server" service. Because it's an unoficial release of Zabbix on Centos 7,

                    Unofficial? What do you mean? Zabbix lists it as their first OS and it is the matching version for their LTS product.

                    http://www.zabbix.com/download.php

                    antonitA 1 Reply Last reply Reply Quote 0
                    • antonitA
                      antonit @scottalanmiller
                      last edited by

                      @scottalanmiller You're right Scott, but this post suggests otherwise

                      https://www.zabbix.com/forum/showthread.php?p=171196

                      scottalanmillerS 2 Replies Last reply Reply Quote 0
                      • scottalanmillerS
                        scottalanmiller @antonit
                        last edited by

                        @antonit said:

                        @scottalanmiller You're right Scott, but this post suggests otherwise

                        https://www.zabbix.com/forum/showthread.php?p=171196

                        In what way do you feel that that thread suggests otherwise?

                        1 Reply Last reply Reply Quote 0
                        • scottalanmillerS
                          scottalanmiller @antonit
                          last edited by

                          @antonit said:

                          @scottalanmiller You're right Scott, but this post suggests otherwise

                          https://www.zabbix.com/forum/showthread.php?p=171196

                          This begs the question..... what Zabbix are you installing? Zabbix 3.0 is the current LTS version. It released today, believe it or not, and is the only one you should be considering. Zabbix 2.4 is 12 years old and not what should be being run.

                          That thread is from the Zabbix 2 era and is thirteen months old. Unless it is 13 minutes old, it's totally outdated.

                          antonitA hobbit666H 2 Replies Last reply Reply Quote 0
                          • antonitA
                            antonit @scottalanmiller
                            last edited by

                            @scottalanmiller I've installed 2.4 and the installation was done last week... Guess I'll start over 😛 Keep you posted.

                            1 Reply Last reply Reply Quote 1
                            • scottalanmillerS
                              scottalanmiller
                              last edited by

                              This adds to the excitement.

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

                                @scottalanmiller said:

                                Zabbix 3.0 is the current LTS version. It released today,

                                Great time to delete my VM and start again with latest version lol

                                1 Reply Last reply Reply Quote 1
                                • scottalanmillerS
                                  scottalanmiller
                                  last edited by

                                  I am excited to see the new interface. The old one was SO dated.

                                  dafyreD 1 Reply Last reply Reply Quote 1
                                  • dafyreD
                                    dafyre @scottalanmiller
                                    last edited by

                                    @scottalanmiller said:

                                    I am excited to see the new interface. The old one was SO dated.

                                    Indeed! I didn't realize 3.0 had dropped already, so I'm planning an upgrade 😄

                                    scottalanmillerS 1 Reply Last reply Reply Quote 0
                                    • scottalanmillerS
                                      scottalanmiller @dafyre
                                      last edited by

                                      @dafyre said:

                                      @scottalanmiller said:

                                      I am excited to see the new interface. The old one was SO dated.

                                      Indeed! I didn't realize 3.0 had dropped already, so I'm planning an upgrade 😄

                                      Well, it WAS only a couple of hours ago 🙂 You'd have to be watching like a hawk.

                                      dafyreD 1 Reply Last reply Reply Quote 1
                                      • dafyreD
                                        dafyre @scottalanmiller
                                        last edited by

                                        @scottalanmiller said:

                                        @dafyre said:

                                        @scottalanmiller said:

                                        I am excited to see the new interface. The old one was SO dated.

                                        Indeed! I didn't realize 3.0 had dropped already, so I'm planning an upgrade 😄

                                        Well, it WAS only a couple of hours ago 🙂 You'd have to be watching like a hawk.

                                        Oh, ha ha ha. i feel slightly better then.

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

                                          Quick question.
                                          What config file do I edit in Centos7 to change the web interface of zabbix from using 80 to something like 8088??

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

                                            @hobbit666 said:

                                            Quick question.
                                            What config file do I edit in Centos7 to change the web interface of zabbix from using 80 to something like 8088??

                                            Sorted...
                                            I forgot Firewalld was running when I edited the httpd.conf file and was trying to test it.

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