PART 3 – Monitoring

PART-3 - Monitoring As we want to know how our ECK is performing, we also want to monitor it with the built in and supplied "Stack Monitoring" Prepare Filebeat For Monitoring The Cluster For this setup you can orient at the https://github.com/elastic/cloud-on-k8s/tree/master/config/recipes/beats - As we have our "ELK" in its own namespace and also a... » weiterlesen

PART-4 – Prepare RabbitMQ For Buffering Events

PART-4 - Prepare RabbitMQ For Buffering Events You may have a look at Elasticsearch As Log-Buffer The first thought maybe like: What? Why the hell RabbitMQ and not use the persistent queue featuere of Logstash? Because: Input plugins that do not use a request-response protocol cannot be protected from data loss. For example: tcp, udp,... » weiterlesen

PART-5 – Elasticsearch Templates And Policies

PART-5 - Elasticsearch Templates And Policies I have to update this page - as the templating stuff is not working as intended for none-legacy indices! Because we use Logstash for analysing Logs, we have to prepare templates and ILM policies. Setting Up ILM-Policies And Index-Templates For this setup I created an index-template listening for index-pattern... » weiterlesen

PART-6 – Logstash

PART-6 - Logstash Logstash is nice for analyzing the events. Prepare Logstash We will create two different Logstash deployments, so we can scale them up or down individually. One deployment will be for the incoming events, which will simple be forwarded into the RabbitMQ without much groking or so. The second deployment will be mainly... » weiterlesen

My VM New Homelab

This HowTo is mainly meant as documentation if I have to resetup my lab 🙂 Hardware Ryzen 7 4750G 64GB RAM Network Interface card with 4 ports 1TB NVME M2 disk Prerequisites Internet Connection (in this case via my pfSense VM running on old lab) Backup of pfSense config Setup After doing a minimal Fedora... » weiterlesen

Grafana – Using A JSON Source For Tagging And Grouping

We are using for example Graphite, Prometheus and Elasticsearch for monitoring the systems and saving metrics in the company where I'm currently working at and unfortunately for example the data in the different sources is saved with different formatted hostnames etc., also there is currently no real nice way to tag or group different hosts... » weiterlesen

Create Windows 10 Storage Space Volume

A few days before this article I decided to buy a new PC respectively assemble a new one and I planned to create a Windows 10 Storage Spaces Volume for my "important" data. As data-HDDs I use now four Seagate BarraCuda Compute 2TB (ST2000DM008) in a mirrored 2-column volume with decent benchmarks (reaching up to... » weiterlesen

Check MK – Check Parameters Form Fields

This is for CheckMK v1 No guarantee that I understood everything correctly. This site is not finished at all ;o) In general you set some default values in your check that should be used if no configuration via WATO was created for a service. For example there could be something like the following line nearly... » weiterlesen

Check MK – Extension Packages – wider “Packaged Files” select boxes

Deprecated: for CheckMK v1 If you wonder how to get wider select-boxes in WATO on the "Extension Packages - Create new package"-site, you have to edit the file /omd/sites/"your-site"/share/check_mk/web/plugins/wato/mkpmanager.py - find the following section (around line 437): return Transform( DualListChoice( title = _("Packaged files"), choices = self._files_choices(), # size = 80, size = 135, rows... » weiterlesen

Check MK – Write your own active check

Deprecated: this howto works for CheckMK v1.x - For CheckMK v2 you can find a howto here Download mkp-File: check_rtmp-0.2.zip Active Check Script should return the few different states - 0, 1, 2, 3 for OK, WARN, CRIT, UNKOWN must be placed in ~/local/lib/nagios/plugins The Check_MK Plugin like always must be placed in ~/local/share/check_mk/checks and... » weiterlesen