How to Install Zabbix Ubuntu 16.04 Easy Guide

June 22, 2017 | By thelinuxevangelist | Filed in: Tutorial.

Zabix Getting-Started for Ubuntu 16.04

Hello Ubuntu User! The Tutorial Shows You Step-by-Step Install Zabbix Ubuntu 16.04 Xenial Xerus LTS 32/64-bit GNU/Linux with MySQL Database.

First of all the Zabbix Installation on Ubuntu is Easy it’s enough to Download & Install the Zabbix Packages.

Furthermore, Zabbix is the ultimate enterprise-level software designed for real-time monitoring of millions of metrics collected from tens of thousands of servers, virtual machines and network devices.

Mostly relevant: Zabbix is Open Source and comes at No Cost.

How to Install Zabbix Ubuntu 16.04 - Featured

Finally, the Zabixx main Features are:

  • Performance monitoring
  • Agents for all platforms
  • Agent-less monitoring
  • Availability and SLA reporting
  • Collection of any data
  • Great graphs and network maps
  • Up-to 100,000 monitored devices
  • Up-to 1,000,000 of metrics
  • Thousands of checks per second
  • Small to large distributed setups
  • Easy maintenance
  1. First Open a Terminal Shell emulator window
    Ctr+Alt+t on Desktop
    (Press “Enter” to Execute Commands)

    How to Install Zabbix Ubuntu 16.04 - Open Terminal Shell Emulator
  2. Then Login as SuperUser
    Just to make easier the comands series:

    sudo su
  3. Add Zabbix Repo for Ubuntu 16.04 32/64-bit

    Zabbix Apt Repo
  4. So to Install Zabbix for Ubuntu
    Server with MySQL DB:

    apt install zabbix-web-mysql zabbix-server-mysql

    Then Agent:

    apt install zabbix-agent

    And the Frontend PHP:

    apt install zabbix-frontend-php

    Finally, you need to Install the Web Frontend like here Below…

  5. Again Creating Zabbix MySQL Database

    mysql -uroot -p[root_password]

    Login with your [root_password].
    Then Make the Database:

    create database zabbix character set utf8 collate utf8_bin;

    And Grant the Privileges to the ‘zabbix’ User:

    grant all privileges on zabbix.* to zabbix@localhost identified by '[zabix_password]';

    Set a Custom [password] for the zabbix User.
    Finally, to Quit:

    quit;
  6. And also Edit Zabbix Server Configuration File

    nano /etc/zabbix/zabbix_server.conf

    Set the password the same one you choose before:

    DBHost=localhost
    DBName=zabbix
    DBUser=zabbix
    DBPassword=[zabix_password]]
    

    Ctrl+x to Save & Exit from nano ;)

  7. To Start the Zabbix Server

    service zabbix-server start

    To make it Started at boot:

    update-rc.d zabbix-server enable
  8. And so for Starting the Zappix Agent

    service zabbix-agent start
  9. Follow Editing Zabbix PHP Frontend Config File
    Need to Uncomment the “date.timezone” setting:

    nano /etc/zabbix/apache.conf

    Uncomment this line like:

    php_value date.timezone Europe/Paris

    Set the Right time zone for you…

  10. How to Install Zabbix PHP Web Frontend

    Zabbix PHP Web Frontend Installation
  11. Finally, to Achieve the SuperUser Session

    exit
  12. Furthermore, see the Zabbix Quick-Start Guides

    Zabbix Getting-Started Docs

Tags: , , , , ,