Sensu Reports in your Motd with Puppet!

Intro Sensu is a pretty cool monitoring framework. The authors designed it to be configured by a configuration management system from the beginning. Check out how easily I can make it put a report in my motd with a little bit of python and puppet. The Report Script Sensu’s API is super easy to work with. For this I will be using the Events endpoint. Here is a quick script to get the events for a host (gist):

Managing DNS Automatically with Puppet

Why So you have a decent amount of things configured in Puppet. Great! Are you finding that you have to manually update your DNS entries when things change, like when new hosts or added, or additional services are created? Why? Your DNS zone files will forever be out of date, waiting for humans to update them. Just say no. Puppet already knows what the ip addresses and hostnames of your servers, why not take advantage of that existing data?

Getting Started With Sensu Using Puppet. For Real.

Nagios. So familiar. I feel like I’ve run Nagios at every job I have ever had. Talk to most ops people, even at really big places, and they will probably admit to using it. Puppet’s exported resources takes away some of the pain, but sometimes I think to myself, there must be a better way to do this. Sensu might be that better way. Let’s try it out, but gosh, I am SO lazy.

Dropbear with Mosh on a Low End Server

I love my low end boxes. I also love mosh. Low end boxes usually are tight on resources, so Dropbear is often used as a lightweight ssh server. Mosh is mostly tested with openssh-client/server, so I think there are some bugs. But it can work, just make sure: You are using the same version of mosh on the server as you are on your client. (otherwise they may not support the same command line options)

Goodbye Intel - My Favorite Commands

Working at Intel has been a great experience. I wish I could have stayed longer, but in the end we decided to part ways. During my stay I learned lots of stuff. I would like to boil my experience down to my top Linux commands. The List git: Lots of git. syscfg: Managing bios settings from within Linux. Nice. (Intel platforms) setupbios: More bios settings from within Linux. (Dell platforms) puppet: I actually enjoy manually running puppet.

Rebuilding Packages for ARM (or any other arch)

Sometimes there are packages out there that don’t come in your cool new Architecture. In my case it is ARM, and the package I wanted was Puppet. Here is how to rebuild source packages the cool way. Add the Puppet repo so you can get fresh source packages cd /tmp # Add the repo, even though it may not have arm binaries... wget dpkg -i puppetlabs-release-precise.deb # Get dependencies.

An Overdrive Pro Connecting on OpenWrt

Have a fancy FreedomPop Overdrive Pro? Want to hook it up to your OpenWrt based router to use as a backup (or primary?) internet connection? Lets do it. Plug it into your router via USB. Then run: opkg install kmod-usb-net-cdc-ether Run dmesg and it will report which eth device came up. Mine shows up as “eth1”. Now make eth1 your “wan” interface: uci set network.wan.ifname=eth1 uci commit reboot Whoa.

A Team Fortress 2 See ‘n Say!

Hopefully Valve will offer me a job instead of suing me? :) Teardown [gallery ids=“991,992,993,994,995,996,999,1001,1002,1000,1003,997”] Parts Many See N’ Says to destroy (I burned through 3) An Arduino (yes, because I’m a lazy noob) Wave shield Some sort of ISP programmer Speaker / Switch / Hot-glue / Resistors / etc How It Works A user pulls the handle, activating the normally-open switch and powering the arduino

Getting Started With SPDY on Nginx

SPDY is a fancy new way to do HTTP, pioneered by Google. Pretty much all modern browsers support it now, except for of course, IE. If you have SSL enabled and are using nginx, they you are pretty close to running your sites with SPDY. What how easy it is! Step 1: Get a version of nginx with spdy enabled. Ubuntu Get some packages. The Ubuntu packages have “–with-http_spdy_module” compiled, so you can install them with no problem:

Disabling Microphone Auto-Gain (Sensitivity) For Google Plus Hangouts

Google’s Google Plus Hangout / Gtalk plugin automatically adjust your volume to account for varying noise conditions by default. Sometimes this is an undesired behavior, but there is no button to turn it off. Here is how you do it: Linux: Run this in a terminal: echo "audio-flags=1" > ~/.config/google-googletalkplugin/options Windows: Set the registry Key: HKEY_CURRENT_USER\<wbr></wbr>Software\Google\Google Talk Plugin\options\audio-flags = 1 Mac OSX: Edit the plist: ~/Library/Preferences/com.<wbr></wbr>google.GoogleTalkPluginD.plist and set “Audio Flags” = 1