Welcome ­čÖé

Synology Zabbix

Docker Containers, Zabbix

Zabbix within Synology Docker

As there were a few nice “how to’s” found on the internet about setting up Zabbix running on Docker containers within the Synology nas, time will eventually catch up those articles, as it will catch up this article eventually.

This article is just FYI and is based on a mixture of “the monitoring artist” and “Struiners Unie“. I don’t get into the details as my fellow Zabbix enthusiasts did but present you a working system.

First to know is that we are using three separate containers. One for the DB storage, one for the actual DB and one for Zabbix.

Step 1:

Create a new directory within the shared Docker directory (which is created when installing Docker). I called it Zabbix:)

Docker Share

Docker Share

Step 2:

Create a Docker container with the following command:

docker run -d -v /var/lib/mysql --name zabbix-db-storage busybox:latest

This will create a container which hasn’t a lot of use, but is needed so we can link to actual ┬ástorage. Create a volume within this container and point it to the newly create directory:

linked storage

linked storage

As far as I can see, we just need to start up the container for one time, afterwards we can ignore the container.

Step 3:

Now for a big step, create the Zabbix  database:

docker run -d --volumes-from zabbix-db-storage --name zabbix-db -p 63306:3306 --env="MARIADB_USER=zabbix" --env="MARIADB_PASS=STRONGPASS" --env="DB_innodb_buffer_pool_size=768M" monitoringartist/zabbix-db-mariadb:latest

,…and start the container.

Step 4:

Install the Zabbix container with the following command:

docker run -d --name zabbix -p 8080:80 -p 10051:10051 -v /etc/localtime:/etc/localtime:ro --link zabbix-db:zabbix.db --env="PHP_date_timezone=Europe/Amsterdam" --env="ZS_DBHost=zabbix.db" --env="ZS_DBUser=zabbix" --env="ZS_DBPassword=STRONGPASS" monitoringartist/zabbix-xxl:latest

Wait a few (+/- 10 minutes) minutes and the zabbix will be available to you, using Admin as user and zabbix as password.

 

Enjoy

PS.

I have noticed that browsing my Zabbix webpage, there was a google tracker active which can be disabled within the container environment parameter : XXL_analytics = false. It’s on by default. Just that you know.

Read more

Time to start

All Sorts Of, Synology

Synology DS1815+ 16GB ram upgrade

A year ago I decided that my current Synology DS1815+ was ready to take on some extra ram. Factory delivered, the nas only has 2GB of ram, which is not much. Especially when you want to use the SSD cache feature, the minimal ram needed was 6GB. So I upgraded it;)

Now that I have discovered Docker, which can be memory intensive at times (using Zabbix containers) it was time to further upgrade the ram. And although Synology stated that only the maximum of 6GB ram is supported I wandered around the internetz and found out it is possible to upgrade the ram to 16GB.
Continue Reading

Read more

Zabbix

Zabbix Trigger Web Dashboard

Yet Another Zabbix Dashboard ­čÖé

Build with Php, it gets the active triggers from certain groups. Tested in 2.2.x and 3.0.x. Php Api is included.

Snippet:

Your Company Trigger Web<script src="lib/js/jquery-2.1.1.min.js"></script><script>// <![CDATA[
var auto_refresh = setInterval( function() { // $('#serverdata').fadeOut('slow').load('servers-data.php').fadeIn("slow"); $('#serverdata').load('servers-data.php'); }, 30000);
// ]]></script><!--?php include 'servers-data.php';?-->

Get it from Github here, fork and improve it. Happy dashing.

Read more

Zabbix 3

All Sorts Of, Zabbix

Zabbix Appliance Glitches

I love really appreciate Zabbix. Since I am working with Zabbix for quite some time now, I’m eager to test new releases, which I do. The most simple way is to grab the appliance from the main repo and swing it into WMware workstation (or Virtualbox for that matter).
As I know the boys and girls at Zabbis SIA are really doing there best, I have noticed some bugs configuration errors which really are annoying. Within this post I will summarize what I have found within the nice Zabbix appliances and hopefully will help you on your own Zabbix way. Continue Reading

Read more

Open Stack

OpenStack

Testing OpenStack for the very first time – Part 1 – Installation

It’s been there already for a while. I wonder why I didn’t play with it much sooner, mmm. But then, it is never too late to learn something new.

As Openstack seems to be very complex to set up, Openstack now offers a way to easily build your own lab environment, just for the fun of it. Well, I fired up my Vmware Workstation and gave it  try.
This document is basically a translation of a dozen of howto’s I came across and indeed got me a working Openstack instance. The goal is to build a 4 node Openstack test lab and here’s how I did it.
Continue Reading

Read more

All Sorts Of

All about incama on https

le-logoThank to Let’s Encrypt, All-about-Incama.org now runs on https,.,.YAY. It’s really nice to see there is a “more” easier way (and very cheap) to use ssl for your website(s).

Read more

Synology Docker interface

Docker Containers, Synology, Zabbix

Synology using Docker – Zabbix/Mariadb/Grafana- Containers

Well, it took me a while, but I feel I’m on a new crossroad right now! Today I found the real power of Docker Containers, Zabbix, Mariadb & Synology. In one word WOW!

I guess I am now obliged to get a tut up and running within a few days as I did struggle to get 1+1=2 running up and functional. Stay tuned.
Continue Reading

Read more

Netapp, Storage

Netapp Cluster Mode Simulator Adding Disks (and shelves)

A year ago I posted a way to add more disks to the Netapp Simulator in 7-Mode (well, Peter did that in fact, just copied the post for my own reference). Soooo,.what I missed was to add additional disks to the other simulator, namely the C-mode.

Fire up your virt tool and do the following:

 

Part 1: Obtaining the SIM

1.1: Download the CDOT 8.2 SIM from http://support.netapp.com > Downloads > Product Evaluations > Data ONTAP Simulator > Simulator 8.x > 8.2 Clustered-ONTAP for VMware Workstation

1.2: Unpack the downloaded vsim_netapp-cm.tgz

1.3: Open the DataONTAP.vmx file with VMware Workstation

Continue Reading

Read more