NAME
gyptazy - DevOps, Coding, Networking and BSD!

OPTIONS

CONTENT

Blog

Garden Linux with macOS Build Support

(2022-06-23):
Finally, my Garden Linux PR feature(build): Add support for macOS #1013 got merged which allows building Garden Linux images on macOS regarding the underlying hardware architecture (Intel and Apple Silicon are supported). As a result, no further Linux virtual machines are needed to create artifacts. This is a big step forwards for all macOS users in usability and also speeds up the whole local build process. Update: With PR Add support for macOS and CentOS (Stream) in startvm #1027 you may also directly run the created images on macOS. .... [read more]

Monitorix behind Nginx reverse proxy

(2022-05-13):
Introducing Monitorix , a versatile, open-source, and lightweight system monitoring tool that excels in overseeing a wide array of services and system resources. Originally crafted for production environments on Linux/UNIX servers, its adaptability extends seamlessly to embedded devices due to its simplicity and compact size. While Monitorix remains a stalwart choice, contemporary implementations may pose challenges. The conventional practice of exposing services to external entities may not always be ideal, prompting the adoption of a reverse proxy like Nginx as a viable solution. However, managing this setup across multiple systems requires additional configurations. To streamline this process, leveraging the Nginx subfilter function emerges as an elegant solution. The following snippet illustrates the implementation of this approach. Config for nginx location /ns01/ { proxy_pass http://ns01.gyptazy.ch:8080/; proxy_redirect default; sub_filter_once off; sub_filter '/monitorix-cgi/' '/ns01/monitorix-cgi/'; sub_filter '/imgs/' '/ns01/imgs/'; sub_filter '/monitorix/imgs/' '/ns01/imgs/'; sub_filter 'monitorixico.png' '/ns01/monitorix/monitorix/monitorixico.png'; sub_filter 'logo_bot.png' 'monitorix/logo_bot.png'; sub_filter 'logo_top.png' 'monitorix/logo_top.png'; proxy_buffering off; proxy_set_header Host .... [read more]

Garden Linux – A CoreOS Replacement

(2022-05-05):
Garden Linux is a Debian GNU/Linux derivate that aims to provide small and auditable Linux images for most cloud providers (e.g. Ali, AWS, Azure, GCP etc.) and bare-metal systems. Garden Linux is the best Linux for Gardener nodes to increase you cloud platform and replaces the legacy and discontinued CoreOS system. Garden Linux provides great possibilities for customizing and provides a great feature set to fit your needs and is fully Open-source (MIT licensed). By the given feature set it is possible to build Garden Linux with different features (options) like CIS, FedRAMP, ReadOnly mode, etc. Next to this, all features allow full customization to fit the operator's needs. In default, Garden Linux already provides an awesome stack of features like: * Repeatable and auditable builds * Great test framework (PyTest based) * Purely systemd based (network, fstab etc.) * Aiming to always integrate the latest LTS Kernel * Dracut .... [read more]

helloSystem – FreeBSD with a modern desktop

(2022-03-19):
helloSystem is a new desktop system for creators with a focus on simplicity, elegance, usability and a modern design based on FreeBSD. It follows the “less, but better” philosophy and is purely welcoming users from Mac systems. However, it has been several years since I have used FreeBSD as my daily desktop system – so I worked with another BSD system all the time. Now, it was time again to take a look on FreeBSD and I found helloSystem – I was directly in love. A fresh, modern clean desktop with FreeBSD. Quote from the project: For mere mortals. Welcoming to switchers from macOS. Not just a theme. Not a clone of anything, but something with which the long-time Mac user should feel instantly comfortable. The latest technologies, without the complexities of Linux distributions. Without lockdown. Without Big Brother. The user in full control. Within the first days as my .... [read more]

Ansible java_cert Module Featuring Trust CA Cert Option

(2019-09-04):
With Ansible 2.10 my patch got integrated by upstream. Therefore, the Ansible module java_cert provides a new option for trusting imported CA certificates. This comes handy when you are running an infrastructure with a self signed root CA (Certificate Authority). As a result, you may define your own imported root CA as trusted which directly allows secure SSL/TLS connections between JAVA application without allowing untrusted CAs. Example: - name: Import trusted CA from SSL certificate java_cert: cert_path: /opt/certs/rootca.crt keystore_path: /tmp/cacerts keystore_pass: changeit keystore_create: yes state: present cert_alias: LE_RootCA trust_cacert: True Resources: PR: add trustcacerts option for JAVA keytool #61750 .... [read more]

Ansible msteams Module for MS Teams Notifications

(2019-05-03):
With the new ‘msteams’ Ansible callback module you may send notification to a desired Microsoft Teams chat room. This includes the start of a triggered Playbook run, as well as of the final result with more details about the executed run. This may become handy when multiple playbooks are executed periodically as a status update for the DevOp team. This plugin is designed for a just “place it and use it” usage. Therefore, only the room URL needs to be generated within Microsoft Teams and be defined within the config file. You can find this plugin on GitHub. Resources: Config: config file Module: msteams (module) Source: GitHub source code .... [read more]

IMAP2Telegram - Forward Emails to Telegram

(2018-08-25):
There may be some corner cases where you just want to forward your email(s) to a Telegram group or just to yourself. This can be very handy when it comes to monitoring solutions in DevOps related scenarios or for smarthome. However, this script allows you to define a dedicated IMAP box and to forward all received mails to Telegram messaging services. Within the current implementation this is designed to run on CentOS/RedHat systems with systemd, but this can be adapted to run on all other systems, too. After setting up IMAP2Telegram watches within a given IMAP account for new mails and forwards them to a defined Telegram user/group. Resources: Language: Python GitHub: IMAP2Telegram (source code) .... [read more]

[previous][categories]