Solved

Which maximum version of Zabbix is supprted on CentOs 6.

Posted on 2016-10-05
7
517 Views
Last Modified: 2016-10-09
Dear Experts.

I have a hard time to install Zabbix 3.2 on Cent Os.

After apparently successfully running
   rpm -Uvh http://repo.zabbix.com/zabbix/3.2/rhel/6/x86_64/zabbix-release-3.2-1.el6.noarch.rpm
Then I am running
   yum install zabbix-server-pgsql zabbix-web-pgsql zabbix-agent
but it stubbornly tries packs for CentOs7
    ---> Package zabbix-agent.x86_64 0:3.2.1-1.el7 will be installed
    --> Processing Dependency: systemd for package: zabbix-agent-3.2.1-1.el7.x86_64
    ...
    Error: Package: zabbix-agent-3.2.1-1.el7.x86_64 (zabbix)
           Requires: libc.so.6(GLIBC_2.15)(64bit)

I stumbled up on on indication that 3.0 and higher are not guaranteed on CentOs 6: Is this correct?:
https://support.zabbix.com/browse/ZBXNEXT-3378   
    Dmitrijs Borisenko added a comment - 2016 Aug 11 17:10 - edited
        ....
        Zabbix 3.0 Server is not officially supported for RHEL 6
        However we have packages http://repo.zabbix.com/zabbix/3.0/rhel/6/x86_64/deprecated/ but without any guarantee that they will work.
        CentOS 6 does not have official PHP 5.4 version. It is minimal supported version for Zabbix 3.0 web-interface.

Thank you.
0
Comment
Question by:Bitlab
  • 4
  • 3
7 Comments
 
LVL 21

Expert Comment

by:Mazdajai
ID: 41830785
That's correct. The highest zabbix server version for 6 is 2.2+.

You better off go with 7 on Zabbix 3,  zabbix-agent will continue to work on 6 but zabbix-server may break in 6 in the future.
0
 
LVL 2

Author Comment

by:Bitlab
ID: 41830859
Thank you.

Changing the CentOs from 6 to 7 is not my option. I must stick with 6.

1.
Does 2.2+ means that 2.4 will work on CentOs 6?
Does 2.2+ means that 3.2 will work on CentOs 6? 3.2 belongs to range 2.2+.
Your answer seems contradictory.

2.
I still see some 3.2 packages for CentOs 6. Will my server's traffic audition work if I run them aka this?:

rpm -Uvh http://repo.zabbix.com/zabbix/3.2/rhel/6/x86_64/zabbix-agent-3.2.1-1.el6.x86_64.rpm 
rpm -Uvh http://repo.zabbix.com/zabbix/3.2/rhel/6/x86_64/zabbix-get-3.2.1-1.el6.x86_64.rpm 
rpm -Uvh http://repo.zabbix.com/zabbix/3.2/rhel/6/x86_64/zabbix-release-3.2-1.el6.noarch.rpm
rpm -Uvh http://repo.zabbix.com/zabbix/3.2/rhel/6/x86_64/zabbix-proxy-pgsql-3.2.1-1.el6.x86_64.rpm
rpm -Uvh http://repo.zabbix.com/zabbix/3.2/rhel/6/x86_64/zabbix-java-gateway-3.2.1-1.el6.x86_64.rpm



3.
# yum list zabbix*
indicates that "zabbix-release.noarch                                                                                                 3.2-1.el6                                                                                                installed

Will it work for me if I just run
"yum install zabbix-release" and be able to run audtions, use a database etc.


4.
At the moment, yum list zabbix* brings the only 2.2 pack for CentOs 6.

    zabbix22.x86_64                                                                                                            2.2.14-1.el6                                                                                             epel
    zabbix22-agent.x86_64                                                                                                      2.2.14-1.el6                                                                                             epel
    zabbix22-dbfiles-pgsql.noarch                                                                                              2.2.14-1.el6                                                                                             epel
    zabbix22-server-pgsql.x86_64                                                                                               2.2.14-1.el6                                                                                             epel
    zabbix22-web.noarch                                                                                                        2.2.14-1.el6                                                                                             epel
    zabbix22-server.noarch                                                                                                     2.2.14-1.el6                                                                                             epel
    zabbix22-web-pgsql.noarch                                                                                                  2.2.14-1.el6                                                                                             epel

Do I really need server? agent, pgsql ( db of my choice )?

Thank you.
0
 
LVL 2

Author Comment

by:Bitlab
ID: 41830872
PS. By the way, even "zabbix-release" is installed, I cannot find database/postgresql anywhere on my PC:
I may need this folder to set up a database according instructions. All I can find is this:

 locate zabbix
    /etc/selinux/targeted/modules/active/modules/zabbix.pp
    /usr/share/selinux/devel/include/services/zabbix.if
    /usr/share/selinux/targeted/zabbix.pp.bz2

It does not seem like a valid installation at all.
0
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 
LVL 21

Accepted Solution

by:
Mazdajai earned 500 total points
ID: 41830960
For whatever if you must stick with 6, you have two options -
1. Install zabbix 2.2, you can get it up and running in minutes.
2. Install php 5.4, please open a new thread if you have further question on getting php54 on centos 6 installed.

Changing the CentOs from 6 to 7 is not my option. I must stick with 6.

No. 2.2+ means minor version and up. It is not the same as 3.

Does 2.2+ means that 2.4 will work on CentOs 6?
Does 2.2+ means that 3.2 will work on CentOs 6? 3.2 belongs to range 2.2+.
Your answer seems contradictory.

It won't work. Looks like you only have Extra Packages for Enterprise Linux (EPEL) installed. I suggest following the documentation from Zabbix Official documentation.

Will it work for me if I just run
"yum install zabbix-release" and be able to run audtions, use a database etc.

This is because don't have the repo installed. You need to use the Zabbix 3.0 packages for Centos 6 here. Note that they have use the term 'deprecated' in the url path - at your own caution.

At the moment, yum list zabbix* brings the only 2.2 pack for CentOs 6.

You need zabbix-server to work. pgsql or mysql is supported and recommended.
Do I really need server? agent, pgsql ( db of my choice )?
0
 
LVL 2

Author Closing Comment

by:Bitlab
ID: 41831048
Thank you. You did a good job. I have to rate it.

I still don't understand, if I successfully ran:
rpm -Uvh http://repo.zabbix.com/zabbix/3.2/rhel/6/x86_64/zabbix-release-3.2-1.el6.noarch.rpm
according to doc. why would you say: I don't have "repo" installed.
And if I need zabbix server, is it not included in zabbix-release? And what is  a purpose of vendor to include

zabbix-release-3.2-1.el6.noarch.rpm

but not include other packs into Zabbix 3.2 for CentOs 6. What is that zabbix-release-3.2-1.el6.noarch.rpm for otherwise?

And zabbix vendor does officially say:
"Some packages (agent, proxy, etc) are available for RHEL 5 and RHEL 6, too. "
on their site:
https://www.zabbix.com/documentation/3.2/manual/installation/install_from_packages
so, I just took these packages for Z. 3.2 and CO 6; they don't have "zabbix-server", so one may conclude that
zabbix server is included in zabbix-release. Otherwise, why these packs are given at all?

I may open another thread if feel so.
Thank you again.
0
 
LVL 21

Expert Comment

by:Mazdajai
ID: 41831128
according to doc. why would you say: I don't have "repo" installed.
Because when you issue yum list zabbix, only EPEL repo listed zabbix packages. Looks like you have not installed the zabbix repo. The zabbix packages in EPEL is NOT official and out-dated, you should not be using the ones in EPEL if you intended to keep it updated.

You can install rpm with yum or rpm, the difference is yum able to track dependencies and other power stuff than rpm does not have - rollback.

And what is  a purpose of vendor to include zabbix-release-3.2-1.el6.noarch.rpm

zabbix-release-x.elx.noarch.rpm contains gpg key (as they sign the packages) and a zabbix.repo that allows to install with yum.
[mazdajai@zbxn1 ~]$ rpm -qla zabbix-release
/etc/pki/rpm-gpg/RPM-GPG-KEY-ZABBIX
/etc/yum.repos.d/zabbix.repo
/usr/share/doc/zabbix-release-2.4

Open in new window


 To check what repos you have. An example of my system, note that @ comparing to yours.

[mazdajai@zbxn1 ~]$ yum repolist
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * epel: mirrors.mit.edu
repo id                                                     repo name                                                                         status
!epel/x86_64                                                Extra Packages for Enterprise Linux 7 - x86_64                                    10,600
!local                                                      local - CentOS-7                                                                   3,723
!zabbix/x86_64                                              Zabbix Official Repository - x86_64                                                  129
!zabbix-non-supported/x86_64                                Zabbix Official Repository non-supported - x86_64                                      4
repolist: 14,456

Open in new window


so, I just took these packages for Z. 3.2 and CO 6; they don't have "zabbix-server"
You can try asking in Zabbix forum, but AFAIK it is not recommended to install Zabbix 3 on anything older than 7. Good luck.
0
 
LVL 2

Author Comment

by:Bitlab
ID: 41835321
Masdajai,

thank you for your follow-ups again. It's informative. I continued in different way: from 3.2 source until I meet either a success or failure: posting a new question: "How far Zabbix 3.2 will reach on CentOs 6.8."
0

Featured Post

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you use Debian 6 Squeeze and you are tired of looking at the childish graphical GDM login screen that is used by default, here's an easy way to change it. If you've already tried to change it you've probably discovered that none of the old met…
It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

839 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question