Categories
Technical

Dynamic DNS with external-dns

This article quickly summarises how I now manage the DNS entry that points to the public IP address of my fibre connection, which is assigned a random new IP every 24 hours or so. This came about from deciding to switch from Route53 to Cloudflare for DNS management. I’d already prepared the destination zones on […]

Categories
Technical

Protected: Tangram Vector running in containers

There is no excerpt because this is a protected post.

Categories
Support Technical

Azure CLI can’t find antlr4 python library

I’m trying to run up a VM on Azure using CLI commands on my Ubuntu 20.04 (Focal) workstation. I’m following the official instructions. On running the ‘az vm create’ command, I get the following error: Looks like the Azure CLI packages for Ubuntu have a dependency on ‘antlr4’ python library, and that isn’t being packaged […]

Categories
Certifications

Certified Kubernetes Application Developer

Categories
Technical

Deploying OPNSense to no-name WAN router hardware

In this article, I will discuss my recent experience replacing an older SOHO WAN router running OPNSense with a newer one. Problem summary. I live and work in a remote area, which does not have the most reliable power and internet connections. I’ve addressed the intermittent power outages by installing a battery back-up system which […]

Categories
Certifications

Certified Kubernetes Administrator

Categories
Technical

Grant read-only rights to backup user for PostgreSQL

This one comes up quite regularly, so worthy of note. Whenever an application using Postgres changes or creates tables (i.e. Odoo module updates for example), those tables don’t seem to be accessible by the backups user on the next backup run. This is the SQL I use to work around it: GRANT SELECT ON ALL […]

Categories
Technical

Managing Kubernetes certificates with Python

I run into a small stumbling block the other evening while working on my ‘site domain manager’ project (for want of a better name). This is essentially a REST API running in a daemon service that manages the mappings of domains to websites, and uses ‘agents’ to automate the configuration via API calls to the […]

Categories
Technical

Testing SMTP creds with Docker

One of our sites stopped sending it’s mail a few days ago. Unfortunately, the SMTP plugin used does not provide any debug logs of the SMTP connection, and it’s ‘test’ tool just says that it sent the mail successfully. The logs for the SMTP service provider suggest they haven’t seen the connection. I issue a […]

Categories
Technical

Monitoring Windows processes from Nagios

So, something I had to do recently was to set up monitoring for a couple of specific Windows processes, so that we get notification via a Discord channel if those processes are not running on various hosts. Typically, you’d do this with something like NSClient++ but this was proving to be too problematic and time-consuming […]