Update: This has been updated for 2.0.x. Follow this link.
This is an updated script to install Zabbix 1.8.x on CentOS/Red Hat 5. I have tested it on CentOS 5.4. The script was made for Zabbix 1.8.0, but if you modify the ZBX_VER variable in the script, it should work on any version in the 1.8 series.
Basically, the script tries to do a few things and assumes some things:
- Only run this for NEW installations, you will lose data if you run on an existing installation
- Run at your own risk
- Installs Zabbix 1.8.x on CentOS 5
- Do not corrupt an existing system
- Be able to run the script over and over in the event that it errors
- Be somewhat flexible
- The database server, web server, and zabbix server all run on one box
Tags: zabbix
-
Pingback from BB's Blog · Installing Zabbix The Easy Way on December 23, 2009 at 8:06 PM
-
I’m from Brazil, so sorry for my bad English.
I loved your script Zabbix installation, fast and simple … congratulations!
I did install successfully on Linux Fedora 12. I had to just make some changes to the method of installation of “fping” and had to add another package called “patch”. If you want my version approved for Fedora 12 I can send you by e-mail!Regards,
Gabriel Konig Lara. -
This does not install php-xml which is required to import/export templates with 1.8.1. Also the path for 1.8.1 did not work for the download but it was easy to edit in the script.
-
tanks a lot,
I did install very fast and successfully, i too just make changes in script, I downloaded the zabbix.tar.gz in the tmp folder manually and i did comment some script lines and it work.
Regards,
-
Nice Script. I have test a installation with zabbix 1.8 its run fine. Now i have test it with 1.8.1 and one problem i have found with a wrong php version with no mbstring support…?
Its a update available for this script?
Regards
-
My work arround…
rpm –import http://repo.webtatic.com/yum/RPM-GPG-KEY-webtatic-andy
wget -P /etc/yum.repos.d/ http://repo.webtatic.com/yum/webtatic.repo
yum –enablerepo=webtatic install php php-mbstring php-common php-gd php-mysql php-bcmath php-pdo -
hey, thanks for the install script works great on fedora 12, thanks again!
-
Great script! Works like a charm!
If you make a backup of your zabbix database you can even use it to update the zabbix server; stop the zabbix_server process, export the database, run the script, import the database and voila! -
Cimer pour le script il marche niquel franchemennt !
A + grosThanks you for your script, it’s magical !
See u soon -
You’re also missing php-xml in the easy install script. You won’t be able to import/export Templates or anything without it.
-
Greetings .. is a great tool but I do not work .. route fails to download from sourceforge zabbix 1.8.2 .. I am trying to install zabbix in centos 5.5 and this script would be great ..
Anyone know if there is an installation script for centos zabbix 5.5 and 1.8.3?
thanks
-
hi, nice script.
Can you write a script for proxy installation.
I’m still fresh in linux and unsuccessful o setup proxy with mysqlthanks
-
I have successfully installed the Zabbix server in CentOS using your script.
It’s very useful to us.
Thanks for your great support Brendon
.
-
God bless you, man! ))))
5 minutes and here you are! Zabbix is installed!! ))) -
Superb script… it working cool… As i’m not gud in linux this script help me alot…. Even i want to be such a script writter….
-
Thank you for this script. Sadly, Zabbix didn’t do for us what we needed it to do: how can I edit the script to undo what it did?
Thanks!
-
Very good script.
Thank you -
Thanks for your script. It is great to sit down and read through your blog. I have modded the script in order to incorporate Open VZ requirements in terms of time zone etc. If interested I can post a template of the zabbix install with your script. Can you share experiences with agent installs, monitoring techniques and best practices.
Cheers!!
-
works great, i changed the ZBX_VER=’1.8.3′ to ZBX_VER=’1.8.6′ and installed it without any trouble on centos 5.6!
-
Thank you very much for the script. It worked nicely for 1.8.9. All I had to do was to run Tino hager’s commands and run your script. Below are the commands
rpm –import http://repo.webtatic.com/yum/RPM-GPG-KEY-webtatic-andy
wget -P /etc/yum.repos.d/ http://repo.webtatic.com/yum/webtatic.repo
yum –enablerepo=webtatic install php php-mbstring php-common php-gd php-mysql php-bcmath php-pdoTweak your script to include the missing. Thanks again! Good job.
-
Kudos, nice work I appreciate the time this saved me! BTW, on my version of CENTOS, patch is missing so script threw warnings that patch was not found and patches were not applied. Maybe just add patch as dependency.
Thanks.
-
I’m having problems with this on CentOS 6.2. When I run the script I keep getting:
–> Processing Dependency: libgnutls.so.13()(64bit) for package: iksemel-1.4-1.el5.rf.x86_64
—> Package rpm-libs.x86_64 0:4.8.0-19.el6 will be updated
—> Package rpm-libs.x86_64 0:4.8.0-19.el6_2.1 will be an update
—> Package rpm-python.x86_64 0:4.8.0-19.el6 will be updated
—> Package rpm-python.x86_64 0:4.8.0-19.el6_2.1 will be an update
–> Finished Dependency Resolution
Error: Package: iksemel-1.4-1.el5.rf.x86_64 (rpmforge)
Requires: libgnutls.so.13()(64bit)
Error: Package: iksemel-1.4-1.el5.rf.x86_64 (rpmforge)
Requires: libgnutls.so.13(GNUTLS_1_3)(64bit)
You could try using –skip-broken to work around the problem
You could try running: rpm -Va –nofiles –nodigest
fail: Package installI’ve tried to do yum install gnutls from the command line and that worked but I still get the same problem. I’ve also changed the script to use el6 instead of el5 but the problem still persists.
Any ideas please?
Regards
Bryn

30 comments
Comments feed for this article
Trackback link: http://blog.brendon.com/unix/installing-zabbix-18x-on-centos-the-easy-way/trackback/