A Step-by-Step Guide to Connecting Prometheus to pfSense via SNMP
Home, Bangkok, Thailand, 2021-02-07 17:28 +0700
The snmp_exporter is one of the trickier Prometheus components to set up because there’s a few moving parts involved in a full configuration and because of the need to run an extra tool to generate the snmp.yml config file from the ever-mysterious “MIBS”.
Manipulating Time Inside a Docker Container
Home, Bangkok, Thailand, 2020-08-27 21:48 +0700
I had an edge case where I needed to be able to run a Docker container with the time 24 hours ahead of the real time for a single containerized build agent in my TeamCity build farm.
speedtest.net Against Multiple Servers in Prometheus / Grafana
Home, Bangkok, Thailand, 2020-08-22 09:51 +0700
Instability on my residential Internet connection this week prompted me to add some blackbox_exporter probes to my Prometheus/Grafana monitoring system so I could collect outage data to share with my ISP.
Connecting AWS CodeCommit in Multiple Accounts via SSH
Home, Bangkok, Thailand, 2020-08-12 10:12 +0700
Over the past few months I’ve been using CodeCommit on projects that live in different AWS accounts but always using CodeCommit in the Singapore region. This means I need to connect through the same endpoint (git-codecommit.ap-southeast-1.amazonaws.com) but need to be able to specify different access keys depending on which account I am working with.
WAN Failover to 4G with pfSense
Home, Bangkok, Thailand, 2020-08-07 21:18 +0700
I’m always trying to improve my home infrastructure and make it more robust. In February and March I made improvements around monitoring and automatically reacting to power events.
Static Site with S3 and CloudFront
Coffee Club, Hyatt Regency, Bangkok, Thailand, 2020-08-02 10:06 +0700
When I first replatformed this site to being a Jekyll static blog served from S3 I just used simple S3 static site serving as opposed to front-ending the S3 bucket with CloudFront. This is easy to setup but it has a couple of key drawbacks: serving isn’t as fast and you can’t use TLS with plain static S3 web hosting.
3D Printed Fridge Magnet
Home, Bangkok, Thailand, 2020-05-24 15:44 +0700
Our niece Nong Peak stayed over this weekend and this morning we made a cute cat fridge magnet which turned out pretty nicely:
Rode M5 Microphone X-Y Stereo Rig
Home, Bangkok, Thailand, 2020-05-09 12:12 +0700
This was a project to design and print a simple and light-weight rig for mounting my stereo matched pair of Rode M5 condenser microphones in X-Y co-incident arrangement for stereo recording.
USB Hub Under-Desk Mount
Home, Bangkok, Thailand, 2020-04-18 14:43 +0700
Here’s a quick project I just did to mount an old but good quality powered Belkin 7-port USB hub that I had laying around to the underside of my desk.
APC UPS SMS Notifications with Amazon SNS
Home, Bangkok, Thailand, 2020-03-25 17:43 +0700
The automated graceful shutdown I setup for the hosts protected by my APC UPS on Sunday is working well - but I decided I want to be notified when there’s a power event. Building on Amazon Simple Notification Service, I’ve created some simple scripts that notify me both by email and by SMS when the power fails, is restored and when the 10 minute remaining charge threshold has been reached and the hosts are being auto-shutdown.