Skip to main content

Grafana Dashboard for Promtail Metrics and Logs

· 7 min read
VoidQuark
Open-source enthusiast

Promtail Grafana Dashboard Title Image

This blog post describes a Grafana dashboard designed to visualize Promtail metrics and logs. If you have several servers with Promtail deployed, shipping logs to Loki, this dashboard will provide insights into Promtail's behavior when needed.

Podman Play to Deploy Any App

· 8 min read
VoidQuark
Open-source enthusiast

Podman Play to deploy any app

In this blog post, we will explore how to use Podman play Ansible Role and deploy a popular application in root-less containers from a Kubernetes Pod YAML definition. The application pod runs as a systemd service in your own user namespace.

Using Ansible roles has several benefits. One of them is that you can easily reproduce the same deployment with inventory variables. This means that you can manage your application without having to run manual commands. With Ansible, you have complete control over your application.

Parsing SUDO Logs with Grafana Loki

· 10 min read
VoidQuark
Open-source enthusiast

Parsing SUDO Logs with Grafana Loki

Are you interested in monitoring who executes SUDO commands on your system? This guide provides insights into tracking both accepted and rejected SUDO events, along with alerting rules to notify you of any rejected SUDO events.

PrivateBin Deployment with Rootless Podman Using Ansible Role

· 7 min read
VoidQuark
Open-source enthusiast

PrivateBin Deployment with Rootless Podman Using Ansible Role

The PrivateBin Ansible Role deploys the PrivateBin service in a rootless container using Podman. This container operates within the user namespace and is managed by a systemd unit, ensuring a secure and efficient deployment.

This role is designed with simplicity in mind, featuring minimal variables to reduce complexity. It caters to both beginners who are comfortable with default configurations and advanced users looking to customize PrivateBin.

Rootless Promtail with Ansible Enhancing Security and Efficiency

· 5 min read
VoidQuark
Open-source enthusiast

Rootless Promtail with Ansible Enhancing Security and Efficiency

The Ansible Promtail Role allows you to effortlessly deploy and manage Promtail, agent which ships contents of local logs to private Loki. Role is tailored for operating systems such as RedHat, Rocky Linux, AlmaLinux, Ubuntu, and Debian. Before diving into the details, I highly recommend reading the role's README.md file for a comprehensive understanding.

Simplify Node Exporter Deployment with Ansible

· 8 min read
VoidQuark
Open-source enthusiast

Simplify Node Exporter Deployment with Ansible

In this blog post, we will explore how to leverage Ansible and the node_exporter role to streamline the deployment of Node Exporter—a popular Prometheus exporter for monitoring Linux systems. By using this role, you can easily configure and deploy Node Exporter across multiple servers in your infrastructure.

Ansible Linux OS patching

· 7 min read
VoidQuark
Open-source enthusiast

Ansible Linux OS patching

Everyone knows that patching packages are not fun. I decided to create an Ansible role that can patch Enterprise Linux ( RHEL ) and other Red Hat derivatives (e.g. CentOS, Rocky, Alma, Fedora ). This role support 3 modes for patching.

  1. Patch all OS packages to the latest version
  2. Apply all security patches
  3. Apply all bugfix patches

Sometimes restart is necessary. In that case, yum-utils (dnf-utils) provide an excellent utility “needs-restarting”. This utility can inform us if a restart is required. If we mix all this we realize that automated patching is not that hard.