zabbix

You are currently browsing articles tagged zabbix.

Original Posting and Script

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

Click here to download it

Incoming search terms:

  • install zabbix centos
  • zabbix centos
  • how to install zabbix on CentOS
  • install zabbix on centos
  • zabbix install centos
  • zabbix installation on centos
  • centos zabbix
  • zabbix centos install
  • zabbix 1 8 centos
  • how to install zabbix centos

Update: This has been updated for 1.8.x. Follow this link.

I was following the Zabbix forums and people are constantly having problems installing Zabbix.

To make things easier, I wrote a magic install script for CentOS/Red Hat 5. I have tested it on CentOS 5.2.

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.6.1 on CentOS 5.2
  • 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

One final note, I did peruse a few other CentOS install guides, all of which will probably work, but all of them follow many bad practices. The magic script does a far better job and requires less effort, go figure.

Click here to download it

Incoming search terms:

  • zabbix install script
  • zabbix easy install
  • zabbix installation script
  • zabbix plesk
  • install zabbix script
  • install zabbix easy
  • zabbix easy
  • install zabbix on redhat
  • zabbix installation scripts
  • easy zabbix

As of this writing, Etch is the current “stable” version of Debian.

This is how to install Zabbix!

  1. Add an unstable deb-src repository to your sources.list. If you have problems later, make sure the following deb-src line is the only deb-src line in your sources.list file.
    echo "deb-src http://ftp.us.debian.org/debian/ unstable main contrib non-free" >> /etc/apt/sources.list
  2. Update your package repository
    apt-get update
  3. Install necessary packages for this compiling project
    apt-get install libcurl3-dev build-essential automake1.9  libsnmp9-dev libiksemel-dev libopenipmi-dev libpq-dev
  4. Download source
    cd /tmp
    apt-get source zabbix
    cd zabbix-1.6.1
  5. Modify source because etch doesn’t have libcurl4. Modify the control file (line 6) where it says “libcurl4-gnutls-dev” with “libcurl3-dev”
    vi debian/control
  6. Compile source. If you’re missing packages, this command will tell you what other packages you need to install before this command works properly.
    dpkg-buildpackage -rfakeroot
  7. Install fresh packages
    cd ..
    ls -l *deb
    dpkg -i ./<zabbix package of your choice>.deb

All done. Remember, this guide doesn’t tell you how to use Zabbix. I suggest you look in the /usr/share/doc/zabbix* directories that the packages created. Also, read the documentation, forums, wiki, etc.

Enjoy.

Incoming search terms:

  • zabbix deb
  • zabbix debian repository
  • how to install zabbix on debian
  • zabbix debian 6 0
  • debian 6 zabbix
  • zabbix deb download
  • zabbix debian
  • zabbix debian 6 source
  • zabbix install debian
  • zabbix installation in debian