How to Setup Zabbix on Ubuntu 16.04

Introduction

Zabbix is an open source and enterprise-class network monitoring tool that can be used to monitor performance and availability of the server, network devices and other network components. Zabbix uses MySQL, PostgreSQL and Oracle to store its data. Zabbix also provides a user friendly web interface to monitor and track data and settings. Zabbix uses a Zabbix agent to collect the data and send it to the Zabbix server.

In this tutorial, we will go through the installation of Zabbix on Ubuntu 16.04 server.

Prerequisites

  1. A fresh Alibaba Cloud ECS instance for Zabbix server with Ubuntu 16.04 installed.
  2. A fresh Alibaba Cloud ECS instance for Zabbix client with Ubuntu 16.04 installed.
  3. Non-root user with sudo privileges is configured on both instance.

Install LAMP Server

Before starting, Zabbix requires Apache, MySQL and PHP installed on your system. First, install Apache, PHP7 and other required PHP modules by running the following command:

sudo apt-get update -y
sudo apt-get install apache2 libapache2-mod-php7.0 php7.0 php7.0-xml php7.0-bcmath php7.0-mbstring -y

Once all the components are installed, you will need to install MariaDB. By default, the latest version of the MariaDB is available in Ubuntu 16.04 repository. So you can easily install it by just running the following command.

sudo apt-get install mariadb-server -y

Next, start MariaDB server and enable it to start on boot time:

sudo systemctl start mysql
sudo systemctl enable mysql

After you have installed the lamp server successfully, you can go to How to Install and Configure Zabbix on Ubuntu-16.04 for further information on the installation and configuration of Zabbix.

Related Blog Posts

OpenLDAP also known as Lightweight Directory Access Protocol is a free open source Light Weight Directory Access protocol developed by the OpenLDAP project. It is a platform independent protocol, so it runs on all Linux/Unix like systems, Windows, AIX, Solaris and Android. OpenLDAP is specially designed to manage and access hierarchical directory information over a network, and also used as a centralized authentication system, shared directory, address book, etc.

In this tutorial. I am going to explain how to install and configure OpenLDAP and phpLDAPadmin on an Alibaba Cloud Elastic Compute Service (ECS) Ubuntu 16.04 server.

This article shows you how to deploy Grafana on Alibaba Cloud ECS to access Zabbix. Zabbix is an open-source monitoring software for networks and applications while Grafana is an open-source, full-featured dashboard and graph editor for Graphite, InfluxDB, and OpenTSDB. In this tutorial, we will be running CentOS 7.2 on an Alibaba Cloud ECS instance. We will also be using Nginx version 1.9.15 as our web server. Without further ado, let’s look at how we can implement this on our ECS instance.

Related Market Products

There are some products with php infrastructures built by partners can be quickly launched on Alibaba Cloud servers.

Websoft9 LAMP stack is a pre-configured, ready to run image for running PHP application on Alibaba Cloud.it includes new versions of Apache, MySQL, PHP,phpMyAdmin and other components needed for it. it clould help you simplifies the development and deployment of Web applications.

Websoft9 LNMP stack is a pre-configured, ready to run image for running PHP application on Alibaba Cloud.it includes new versions of Nginx, MySQL, PHP,phpMyAdmin and other components needed for it. it clould help you simplifies the development and deployment of Web applications.

Related Documentation

There are some documentation may be useful to you.

This topic is a reference for installing and using the PHP SDK for CloudMonitor.

To use PHP in Function Compute, you must first define a PHP function as a handler. This topic describes the PHP handlers that you may use and their definitions.

Related Products

There are some products which can help you to optimize your experience.

Automate performance monitoring of all your web resources and applications in real time

Alibaba Cloud Function Compute is an event-driven and fully-managed compute service. With Function Compute, you can quickly build any type of applications or services without considering management or O&M. You can complete a set of backend services for processing multimedia data even in several days.

Related Course

This course helps you quickly master Alibaba Cloud Monitoring & Management related services, so that you can efficiently and quickly manage resources on the Alibaba Cloud. This course mainly explains the functions and basic usage of two services:Alibaba Cloud ActionTrail and CloudMonitor, and impresses you by demonstrating the operation.

Reference:https://www.alibabacloud.com/blog/how-to-setup-zabbix-on-ubuntu-16-04_594776?spm=a2c41.12861023.0.0

Written by

Follow me to keep abreast with the latest technology news, industry insights, and developer trends.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store