Browsing Tag
Linux
26 posts
Using multipath together with mdadm on Debian
Using multipath together with mdadm on Debian Linux requires some changes to the initrd image, otherwise mdadm might…
Read the HAProxy UNIX socket file using Perl
HAProxy provides a socket file which can be used to do maintenance (enable/ disable backends, retrieve information and…
A Prometheus Exporter framework written in Perl
I released a small project I wrote a while ago, to create quick Prometheus exporters in Perl for…
Libvirt guest startup issue with AppArmor
With AppArmor enabled on Debian/ Ubuntu systems, starting up virtual machines with libvirt can cause startup failures if…
Deploy a PostgreSQL database with an initial schema using Ansible
Ansible is a great automation tool to manage operating systems, but also to manage database like PostgreSQL. Many…
Perl script to monitor the rate of logs
In a previous article (IPTables Logging in JSON with NFLOG and ulogd2) we learned how to log certain…
Import configuration from Hiera or a Git repository with YAML files into Terraform
De-duplication of configuration information is key when managing large environments which use different types of automation (Terraform, Jenkins,…
IPTables Logging in JSON with NFLOG and ulogd2
Logging with IPTables requires the use of an extra IPTables extension called NFLOG (https://manpages.debian.org/experimental/iptables/iptables-extensions.8.en.html#NFLOG) and a separate daemon…
Terraform and libvirt nodes
Libvirt (libvirtd) nodes (based on KVM and Qemu) are a great and cheap (read: free) alternative of deploying…
Block countries using IPtables and IPDeny.com
Certain server setups do not require access for all countries or just want to block certain countries since…