Category Archives: HOWTO’s

Prometheus: RTFM blog monitoring set up with Ansible – Grafana, Loki, and promtail
0 (0)

10 March 2019

After implementing the Loki system on my job’s project – I decided to add it for myself, so see my RTFM blog server’s logs. Also – want to add the node_exporter and alertmanager, to be notified about high disk usage. In this post, I’ll describe the Prometheus, node_exporter, Grafana, Loki, and promtail set up process… Read More: Prometheus: RTFM blog monitoring set up with Ansible – Grafana,… »

Loading

OpenVPN – auto-start on Linux
0 (0)

8 March 2019

I have an OpenVPN AS server running on EC2 in AWS and the openvnp client on my Arch Linux (см.OpenVPN: настройка OpenVPN Access Server и AWS VPC peering). Need to have it started and connection established after OS start. Will use the systemd, documentation is here>>>, will work with any other Linux-system. Client’s configs have… Read More: OpenVPN – auto-start on Linux0 (0) »

Loading

AWS: RDS logs, export to the CloudWatch Logs and CloudFormation template
0 (0)

7 March 2019

We have a bunch of the AWS RDS with MariaDB. Backend-developers asked me to enable slow requests logs so they can debug their application. So the task is: enable AWS RDS logging and configure export to the CloudWatch Logs for further analysis. As everything else – our RDS instances are configured via CloudFormation templates, so… Read More: AWS: RDS logs, export to the CloudWatch Logs and CloudFormation… »

Loading

Prometheus: blackbox-exporter probe_http_status_code == 0 and its debug
0 (0)

6 March 2019

Today I decided to upgrade Grafana to already released version 6.0 and all other Docker images as well. Upgrade was successful – Loki eventually started displaying previously missed log-file names and other tags, just – immediately I got a bunch of CRITICAL alerts in our Slack from the blackbox-exporter which is used to check every… Read More: Prometheus: blackbox-exporter probe_http_status_code == 0 and its debug0 (0) »

Loading

Arch Linux: Steam installation
0 (0)

6 March 2019

Got a new PC and want to play games here. World of Tanks already works – check the World of Tanks: installing and running on Arch Linux, and now I want to install Steam. It worked with no issues on Ubuntu a few years ago and I could play Civilization V there – so now… Read More: Arch Linux: Steam installation0 (0) »

Loading

Arch Linux: installation, troubleshooting and playing EVE Online
0 (0)

4 March 2019

After the successful installation of WoT on my new Arch Linux setup (see the World of Tanks: installing and running on Arch Linux post) I decided to “achieve the next milestone” – install EVE Online. On a Google search by the “EVE Online Linux” request, I found the wiki.eveuniversity.org guide and tried to use it… Read More: Arch Linux: installation, troubleshooting and playing EVE Online0 (0) »

Loading

Linux: woeusb – creating Windows USB boot flash drive
0 (0)

4 March 2019

Well – sometimes have to do a bit weird things… Need to create bootable USB flash drive with WIndows 10 using console on Linux. There are various solutions but today I found the woeusb utility and it works pretty well plus it can format a drive to a necessary filesystem. Intsall on Arch Linux from… Read More: Linux: woeusb – creating Windows USB boot flash drive0 (0) »

Loading

MySQL/MariaDB: most used commands with examples
0 (0)

3 March 2019

Please note – this is absolutely not a complete guide about all MySQL commands usage – but just examples of the most commonly used ones. mysql> at the begin of the line means it’s executed from the MySQL console. Symbols # or $ means it’s executed from the Linux shell. UPD 03.03.2019 This post originally… Read More: MySQL/MariaDB: most used commands with examples0 (0) »

Loading

Arch Linux: OpenVPN – resolv.conf is not updated
0 (0)

2 March 2019

On an Arch Linux setup – local resolv.conf not updated after connection to OpenVPN AS. As far as I know – the problem is specific to Arch Linux and its “child’s” like Manjaro Linux installations. Local openvpn installed via pacman – see the OpenVPN: OpenVPN Access Server set up and AWS VPC peering configuration post for… Read More: Arch Linux: OpenVPN – resolv.conf is not updated0 (0) »

Loading

Linux: systemd-unit files edit, restart on failure and email notifications
0 (0)

1 March 2019

We have a RabbitMQ service which sometimes can go down. So need to: restart it if is exited with the failure send an email notification Let’s do it via RabbitMQ’s systemd service (though there are various options, e.g. using the monit, check the Monit: мониторинг и перезапуск NGINX post). Will use two options here: RestartSec=: delay… Read More: Linux: systemd-unit files edit, restart on failure and email notifications0… »

Loading