How to install Zabbix (Monitoring tool) on ubuntu 14.04 server

Sponsored Link
Zabbix is the ultimate enterprise-level software designed for monitoring availability and performance of IT infrastructure components. Zabbix is open source and comes at no cost.

With Zabbix it is possible to gather virtually limitless types of data from the network. High performance real-time monitoring means that tens of thousands of servers, virtual machines and network devices can be monitored simultaneously. Along with storing the data, visualization features are available (overviews, maps, graphs, screens, etc), as well as very flexible ways of analyzing the data for the purpose of alerting.

Thresholds of acceptable limits for incoming data can be set. As soon as those thresholds are surpassed, Zabbix can deliver e-mail notifications informing network administrators about the current or a potential problem.

Zabbix offers great performance for data gathering and can be scaled to very large environments. Distributed monitoring options are available with the use of Zabbix proxies. Zabbix comes with a web-based interface, secure user authentication and a flexible user permission schema. Polling and trapping is supported, with native high performance agents gathering data from virtually any popular operating system; agent-less monitoring methods are available as well.

Web monitoring as well as monitoring of WMware virtual machines is possible with Zabbix. Zabbix can automatically discover network servers and devices, as well as perform low-level discovery with methods of automatically assigning performance and availability checks to discovered entities.

Zabbix Features

Monitor Everything

Everything inside your network can be monitored: performance and availability of servers, WEB applications, databases, networking equipment and more.

Enterprise Ready

Zabbix is designed to support small to large environments with the requirements in a business of 24×7 availability.

Proactive Monitoring

Improve the quality of your services and reduce operating costs by avoiding downtime.

Capacity Planning

Monitor resource usage trends as your business grows and plan capacity increase in a timely manner.

True Open Source

No separate, paying customers only, closed enterprise version. All Zabbix is open source.

Business Solutions

Rely on our service excellence in support, development and planning.

Preparing your system

Before installing cacti you need to make sure you have installed Ubuntu 14.04 LAMP server.

Install Zabbix on Ubuntu 14.04 Server

Install the repository configuration package. This package contains apt configuration files.

Open the terminal and run the following commands

sudo wget http://repo.zabbix.com/zabbix/2.2/ubuntu/pool/main/z/zabbix-release/zabbix-release_2.2-1+trusty_all.deb
sudo dpkg -i zabbix-release_2.2-1+trusty_all.deb
sudo apt-get update

Installing Zabbix packages

Install Zabbix packages. dbconfig-common will create the database and populate the initial schema and data automatically. If backend db is located on a different server, please set dbc_remote_questions_default='true' in /etc/dbconfig-common/config.

sudo apt-get install zabbix-server-mysql zabbix-frontend-php

The above command prompt for database configuration with the following screens so enter your zabbix database password
1

2

3

4

Configuring Zabbix

Copy zabbix apache configuration file in to apache2 directory

sudo cp /etc/zabbix/apache.conf /etc/apache2/sites-enabled/zabbix.conf

Now you need to edit the /etc/apache2/sites-enabled/zabbix.conf file

sudo vi /etc/apache2/sites-enabled/zabbix.conf

Change the following line to your time zone

#php_value date.timezone Europe/Ria

to

php_value date.timezone Europe/London

Save and exit the file

Now you need to restart the apache service using the following command

sudo service apache2 restart

Now you need to setup zabbix server from web gui for this go to http://server-ip/zabbix and follow the on screen instructions similar to the following screens
1

2

3

4

5

6

You need to use the default username Admin and The password as zabbix

7

Once you login you should see similar to the following screen

8

You need to check the zabbix documentation for more detailed steps how to monitor servers,network devices etc

Sponsored Link

You may also like...

1 Response

  1. Liz says:

    Excelente Post!!

Leave a Reply

Your email address will not be published. Required fields are marked *