Please reload

Recent Posts

delete: The Virtue of Forgetting in the Digital Age - Book Review.

May 6, 2020

Please reload

Featured Posts

Install and Configure Zabbix-Server on Ubuntu 19.10

April 14, 2020



The Zabbix-Server is an Open Source (read: free) network and application monitor that runs on Linux/Unix. It is very versatile and has some of the same functionality as Nagios, has agents for various OSes like Linux, Windows. As of writing, Zabbix is not 'officially' supported on Ubuntu 19.10 but with a little work, it will install and run just fine. Note: Zabbix-Server can use MySQL and PostgreSQL as its database back-end, this article covers MySQL.


What You Need:

  1. An fresh Ubuntu 19.10 installation (ISO)

  2. Internet access to download packages

Installation Procedure:

  1. Download and install the Zabbix repository .deb:

    • cd ~ && wget

    • sudo ~/dpkg -i zabbix-release_4.2-1+bionic_all.deb

  2. Update and upgrade all packages. Enable the Universe and Multiverse repositories and install Zabbix-Server and some dependencies:

    • sudo apt update && apt upgrade -y && apt dist-upgrade -y && add-apt-repository universe && add-apt-repository multiverse && apt -y install apache2 mysql-server zabbix-server-mysql zabbix-frontend-php php php-pear php-cgi php-common libapache2-mod-php php-mbstring php-net-socket php-gd php-xml-util php-mysql php-gettext php-bcmath

Configuration of php, MySQL and Zabbix-Server

  1. Set the system to the correct Timezone:

    • sudo timedatectl set-timezone America/Boise

    • sudo nano /etc/php/7.3/apache2/php.ini

      • Change date.timezone

  2. Log into the MySQL and create the zabbix user:

    • mysql -u root -p

    • f

  3. Edit the Zabbix-Server config file with the database name, username and password:

    • sudo nano /etc/zabbix/zabbix_server.conf

      • DBName=zabbix

      • DBUser=zabbix

      • DBPassword=MYp@ssw0rd!&

  4. Import the Zabbix database schema:

    • zcat /usr/share/zabbix-server-mysql/schema.sql.gz | mysql -uzabbix -p zabbix

    • zcat /usr/share/zabbix-server-mysql/images.sql.gz | mysql -uzabbix -p zabbix

    • zcat /usr/share/zabbix-server-mysql/data.sql.gz | mysql -uzabbix -p zabbix

  5. Start the Zabbix-Server

    • sudo service zabbix-server start

  6. Enable the php-cgi module and restart Apache

    • sudo a2enconf php7.3-cgi

    • sudo systemctl reload apache2

  7. Enable the Zabbix vhost and restart Apache2

    • sudo cp /usr/share/doc/zabbix-frontend-php/examples/zabbix.conf /etc/apache2/sites-available/

    • sudo a2ensite zabbix.conf

    • sudo systemctl reload apache2

WebUI Configuration of Zabbix-Server





Share on Facebook
Share on Twitter
Please reload

Follow Us
Search By Tags
Please reload

  • Facebook Basic Square
  • Twitter Basic Square
  • Google+ Basic Square

© 2017-2019 By Kenneth LaCroix.