Home
David's tidbits
Cancel

Installing RabbitMQ

RabbitMQ is a message broker that enables applications to communicate with each other and exchange information. It implements AMQP messaging protocol. RabbitMQ is an open-source project that is ...

Generating random names in Python

This script shows how to produce a pseudo-random list of proper names, state names and colors plus a timestamp. This script has no purpose except to show a few conventions in python. #!/usr/bin/en...

Using Python with RabbitMQ

Here is some sample code on how t o use Python and RabbitMQ Sources: https://www.rabbitmq.com/tutorials/tutorial-one-python.html https://medium.com/analytics-vidhya/how-to-use-rabbitmq-with-python...

Exercising RabbitMQ

These scripts will show how to “produce” messages and send them to a RabbitMQ instance and then “consume” them. Please note that screen IO is a huge limiter in these examples. If you remove the...

Installing Zabbix on Ubuntu

Recipe: Start with a brand new Ubuntu v22 machine, physical or virtual. Run this script. Wait a few minutes. Enjoy your new Zabbix installation. #!/bin/bash # source: https://itslinuxfo...

Installing the Zabbix Agent on Ubuntu

Here is how you add the Zabbix agent to an Ubuntu v22 machine. #!/bin/bash set -e # Zabbix server IP address or FQDN Z_SERVER_IP=192.168.1.94 wget https://repo.zabbix.com/zabbix/6.2/ubuntu/pool...

Creating stateful Zabbix Docker pods

This script will create a stateful Zabbix series of pod. The only pod that can be accessed is the Apache web server pod and only on port 80/TCP. The database files are stored on a user-defined loca...

Uptime-Kuma in a Docker pod

It is a self-hosted monitoring tool like “Uptime Robot”. Features: Monitoring uptime for HTTP(s) / TCP / HTTP(s) Keyword / Ping / DNS Record / Push / Steam Game Server / Docker Containers...

Create a Stateful MySQL instance in Docker

This will create a stateful MySQL instance in Docker. The database files are stored in ./database_files The configuration files are stored in ./config The default username is ‘root’ The de...

VSphere Thin Provisioning Notes

VMware’s disk thin provisioning can be a useful thing, but it needs to be understood. Space can be consumed when files are added. If those files are deleted, the VM has to be stopped to reclaim the...