Archive for 'Zabbix' Category

Zabbix 2.0.0 Install Script

By jbayer - Last updated: Friday, May 25, 2012

So Zabbix 2.0.0 was recently released.  It has a lot of improvements, and I’ve updated my script to install the new version. Download onto a bare-bones CentOS, Scientific Linux or RHEL install and run it. The script is also now capable of building and installing the Zabbix Proxy.  One thing, the proxy requires a database, […]


Perl script to add/remove Maintenance

By jbayer - Last updated: Tuesday, May 1, 2012

I found a perl script to add/remove a single host to maintenance in Zabbix.  I needed more, the ability to add multiple hosts to a single maintenance, as well as an entire group. The script I started with can be found at: The attached file is my modified version.  The changes I made are: […]


Installing the new Zabbix 2.0.0rc2

By jbayer - Last updated: Tuesday, April 10, 2012

I’ve taken my script for an automatic installation of Zabbix and modified it to install the 2.0.0rc2. It is designed to work with any RHEL5+, CentOS 5+, Scientific Linux 5+ or higher systems. It is best to start with a minimal install. It will download and install all necessary packages. I’ve developed a directory structure […]


Installing Zabbix on Redhat/CentOS – v. 1.5

By jbayer - Last updated: Monday, April 9, 2012

Another update.  Changes below. Updated Zabbix version to 1.8.11 Added install of php-xml and php-xmlrpc, needed for template import Added better Apache config, inspired by Updated URL for epel repo Make default mysql conf file my-large.conf Added option to use Percona server Modified zabbix_agentd.conf to include files from zabbix_agentd.d Changed locations of log files, […]


Using Partitioning on Zabbix DB tables to improve performance

By jbayer - Last updated: Monday, March 5, 2012

This script will partition your zabbix database to improve the efficiency. It will also create stored procedures to do the necessary housekeeping, and create a cronjob to do this on a daily basis. This script was inspired by the following: While the basic SQL is from the above page, this script both creates the necessary SQL for the […]


Installing Zabbix on a CentOS/RedHat system (Updated)

By jbayer - Last updated: Friday, December 23, 2011

I needed to do several repeated installs of Zabbix, on both a CentOS 5.6 and Centos 6.1 system.  I also noted that Zabbix had been updated, along with a couple of other version changes.  This version also allows you to do upgrades on an existing system.  However, the upgrade has only been tested on installations […]


Monitoring ping times to a server with Zabbix

By jbayer - Last updated: Tuesday, November 15, 2011

We needed to monitor ping times from one server to another, neither being the Zabbix server.  Zabbix doesn’t have a way to do this; the only pings that Zabbix can do are from the Zabbix server to another server. I wrote the attached script to solve this problem.  Install the script onto each client that […]


Installing Zabbix on a CentOS/Scientific Linux/RedHat 6 system

By jbayer - Last updated: Monday, August 8, 2011

This is a followup to my previous post about installing Zabbix.  The previous script was configured to install Zabbix to a 5.5 or 5.6 system.  Now that 6 has been out for a while, I’ve updated the script to install Zabbix on a 6.0 or 6.1 system. The previous instructions are still valid.  Just download […]


Speeding up a Zabbix installation

By jbayer - Last updated: Thursday, July 7, 2011

The Zabbix dashboard uses a lot of javascript.  Javascript isn’t cached, so this is a way to force it to be cached. This script assumes that Zabbix is installed in /usr/local/share/zabbix, if it is elsewhere you will have to modify the first few lines. This script will rename the javascript files to PHP files, and […]


Installing Zabbix on a CentOS/RedHat system

By jbayer - Last updated: Friday, December 17, 2010

One of the core tasks of a good system administrator is monitoring systems, and responding to problems as quickly as possible. Zabbix is an open source monitoring system which offers advanced monitoring, alerting and visualisation features today which are missing in other monitoring systems, even some of the best commercial ones. Installing Zabbix, while not […]