Category Archives: Scripting/coding

VictoriaMetrics: Basic Monitoring for AWS, Linux, NGINX, and PHP
0 (0)

28 March 2026

The RTFM migration from DigitalOcean to AWS went smoothly, and I’m gradually settling in. New infrastructure, everything new – so for the first while I want to keep a close eye on the server and blog state, which means setting up basic monitoring for WordPress: NGINX, PHP-FPM, the database, and the infrastructure running it all.… Read More »

Loading

AWS: Basic Infrastructure Setup for WordPress
0 (0)

15 March 2026

It’s time for a major server upgrade for RTFM, which I usually do by migrating to a new server – because I also do various other upgrades along the way, like upgrading the PHP version or even migrating to a different cloud. This time I’m planning to move from DigitalOcean, where RTFM has been hosted… Read More »

Loading

FreeBSD: Home NAS, Part 15: Automating Backups – scripts, rsync, rclone
0 (0)

15 March 2026

This is essentially the last major task – setting up automated backup creation. In the post FreeBSD: Home NAS, Part 13: Planning Data Storage and Backups I described the general idea in more detail – what gets backed up, where, what gets stored and how – and today is the purely technical part about the actual… Read More »

Loading

Glance: setting up a self-hosted home page for your browser
0 (0)

13 March 2026

There’s this cool thing called self-hosted home pages. I saw them somewhere on Reddit a while back, saved them to bookmarks, and now that I have all this self-hosted stuff with NAS (see FreeBSD: Home NAS, part 1), Grafana, and other useful things for work and daily life – I thought it would be nice… Read More »

Loading

FreeBSD: Home NAS, part 11 – extended monitoring with additional exporters
0 (0)

10 February 2026

In the previous post FreeBSD: Home NAS, part 10 – monitoring with VictoriaMetrics and Grafana, we configured VictoriaMetrics, node_exporter, Grafana and created a basic dashboard and basic alerts. Now, I want to add a bit more monitoring – to see process CPU/RAM data, SMART information, and ZFS details. Everything written here has been added to… Read More »

Loading

Golang: writing an AWS Load Balancer logs collector for VictoriaLogs
5 (1)

6 December 2025

The next task I want to do with Golang is building a custom log collector that retrieves AWS Application Load Balancer logs from S3 and sends them to VictoriaLogs. Sure, we could simply use Vector.dev, like what I did for AWS VPC Flow Logs (see: Vector.dev introduction, logs from AWS S3, and VictoriaLogs integration). But… Read More »

Loading

Golang: interfaces – the “magic” of calling methods through interface
0 (0)

29 November 2025

Interfaces in Go allow you to describe access to data or behavior without providing concrete implementations inside the interface itself. In this way, we create a “common bus” that we can then use to “connect” external “systems.” In other words, an interface is an abstraction that defines a contract. The contract describes what can be… Read More »

Loading

Kubernetes: what are the Kubernetes Operator and CustomResourceDefinition
0 (0)

21 July 2025

Perhaps everyone has used operators in Kubernetes, for example, PostgreSQL operator, VictoriaMetrics Operator. But what’s going on under the hood? How and to what are CustomResourceDefinition (CRD) applied, and what is an “operator”? And finally, what is the difference between a Kubernetes Operator and a Kubernetes Controller? In the previous part – Kubernetes: Kubernetes APIs,… Read More »

Loading

TCP/IP: OSI and TCP/IP models, TCP packets, Linux sockets and ports
0 (0)

19 July 2025

It’s difficult to describe in one post what thousands of books have been written about in a thousand pages, but today we’ll try to quickly review the basics of how hosts communicate on a network. First, let’s talk about the OSI and TCP/IP models, then about packet structure and connection establishment, and finally, we’ll look… Read More »

Loading