by johnmark | Jul 11, 2021 | elk, linux
In our previous tutorial, we have 3 LXC containers: master-1, data-1 and data-2. Login and ssh to each of those containers and install Filebeat then install it curl -O https://artifacts.elastic.co/downloads/beats/filebeat/filebeat-7.13.3-x86_64.rpm rpm –install...
by johnmark | Jul 11, 2021 | elk, layout
Here are the steps to install Kibana. This is a continuation of our Part 1 tutorial here Localhost MacOS hostfile 16:10:05:~ % grep kibana /private/etc/hosts 192.168.50.27 master.elk data-1.elk data-2.elk kibana.elk LXD Server: We added iptables to redirect traffic...
by johnmark | Jul 10, 2021 | elk, linux
This article I will give some steps on how to setup Elasticsearch from localhost (MacOS using multipass) that connects to an LB server using reverse proxy then connects to an LXD server that connects to its containers. This is what it looks like: master1.elk domain...
by johnmark | Jun 18, 2021 | coding, linux, slack
The goal here is to get notification for something like CPU reached 90% or nginx access log reached 100 requests (GET 200 code responses). Setup CRON Schedule the script via CRON. Example every 5 or 15 minutes */5 * * * to call a specific script. Create your bash...
by johnmark | Jun 11, 2021 | coding, mining
If you are using Gminer app for mine ETH and 2miners as your mining pool, you can use the scripts I created to display your hashrate and ETH balance. Source code (github) https://github.com/jmcausing/xbar-2miners-gminer miner.2s.sh file will refresh every 2 seconds to...