Feb 15

Setting up zabbix 3.2 on Ubuntu 16.04 – Website part

Lets continue with the configuration of the web page to manage the Zabbix configuration!

Because PHP5 has been removed from Ubuntu 16.04 we have to add a custom installation source from which we can download the binaries.
We do require PHP5 since the web part of Zabbix is not yet PHP7 compatible.

sudo add-apt-repository ppa:ondrej/php
sudo apt-get update
sudo apt-get install php5.6


After executing these commands we can download the binaries of the web part
wget http://repo.zabbix.com/zabbix/3.2/ubuntu/pool/main/z/zabbix/zabbix-frontend-php_3.2.0-1+xenial_all.deb
sudo dpkg -i zabbix-frontend-php_3.2.0-1+xenial_all.deb
sudo apt-get install -f

First we download the file and after that we install it and also install the necessary requirements for the package to work correctly.

At this point we are almost ready to get to the webpage of Zabbix, first we’ll copy the config to the right folder on the server.
sudo cp /etc/zabbix/apache.conf /etc/apache2/sites-enabled/zabbix.conf
sudo service apache2 restart

Restart apache to load the new configuration and you should be good to go!
The default configuration will give the Zabbix site on http://<ip of server>/zabbix.

Now if you did follow everything I wrote earlier you should see some errors like above in the set-up.
You can easily fix the missing support with:
sudo apt-get install php5.6-gd php5.6-xmlwriter php5.6-mbstring php5.6-bcmath php.5.6-mysql

The time zone of php can be changed within /etc/php/apache2/php.ini (check the site of PHP for the supported format of your country).

If you got everything filled in you should be good to go and logon with admin / zabbix on the webgui!

Feb 09

Setting up zabbix 3.2 on Ubuntu 16.04

In the following guide I’ll show you how to set up and configure a Zabbix server on Ubuntu.
First of all what does Zabbix in a short line: you can monitor your systems software/hardware.
I’ve chosen Zabbix because I got some good experience with the solution and they also provide a proxy which you can use on remote sites to collect and send data to the main server.

Lets get started!

First I made sure that I got a freshly installed Ubuntu server, I’ve already assigned a static IP on this machine.
We start with the configuration of a Zabbix server which will monitor the data to a mysql server.

Lets install mysql-server first running:

When mysql is installing it will prompt for a root password, enter this twice to continue with the installation.

Read the rest of this entry »

Jan 05

Configuring Storage Pools and virtual disks

So today I was in the mood for some first time experience using the storage pool feature within Windows Server 2016.
I’ve got a freshly installed HP ML110 Gen9 machine with the following disks:

  • 1x 120GB SSD which I use for the OS
  • 1x 600GB SSD which I’ll be using for the storage pool
  • 2x 500GB HDD which I’ll also be using in my storage pool.

So from within the Server manager (File and Storage Services) it looks like this:

Read the rest of this entry »