Have you ever wanted to set up a Samba4-based Read-Only DC in a remote location? Here's how.
Note to self: Here's the command to speed up Ceph recovery by backfilling more than one PG at a time:
ceph tell osd.* injectargs '--osd_max_backfills 16'
I'm currently building some home automation stuff using NodeRED. One of the things I need to do is trigger home automation actions from Prometheus: I'm monitoring our Solar panels using it, and I want the shutters to go down whenever it's sunny outside. I have a Prometheus alert rule that tells me when that is. But how can I trigger NodeRED from there?
As an extra challenge, I wanted to see if I can actually do this without writing a single line of code. I do need a couple more nodes this way, but it works and it's not all that complicated. Here's how it's done.
I've recently started building stuff with NodeRED, which I really enjoy. Since I'm using MQTT as the central message bus for my system, I find myself regularly in need of knowing the current state of my MQTT topics. There are a couple of tools around, for instance MQTT.fx, which are specifically built for this purpose; but I found that MQTT.fx likes to cause high CPU load when the topic scanner thingy is running. So I'm looking for an alternative, and I thought, why not build it in NodeRED? So that's what I did.
Here's a systemd service template for running Dockerized services, for example the Prometheus Blackbox Exporter.
Proxmox apparently does not yet support running CephFS, but it can be done using a bunch of manual steps. Here's how.
I finally found a nice way to get LetsEncrypt certificates integrated with websites behind a reverse-proxy.
Problem: I don't want certbot messing with my server configs, and I don't want to shut down my main web server just so I can get a cert using --standalone.
Do you know
Alt-.? Here's why you should.
My internet provider force-migrated me to Dual-Stack Light the other day, so now I have IPv6 at home. It did cost me my IPv4 address though, so I'm not sure yet if I should be stoked or not. But anyway, now that I have it, I wanted to at least try it out.