Archive | Uncategorized

30 January 2012 ~ Comments Off

Custom Thresholding for specific nodes in OpenNMS

OpenNMS ships with the thresholds for some events already defined. For example, there is a memory threshold defined as: <group name="netsnmp-memory-nonlinux" rrdRepository="/opt/opennms/share/rrd/snmp/"> <expression type="low" expression="memAvailReal / memTotalReal * 100.0" ds-type="node" ds-label="" value="5.0" rearm="10.0" trigger="2"/> </group> ie. if free memory drops below 5% then an event will be created. The alert will be cancelled automatically if [...]

Continue Reading

30 January 2012 ~ Comments Off

DNSimple Self Registration Recipe

Earlier this month, I completed a
switch to DNSimple for my
domain’s DNS provider. I am still happy with the switch, and finally,
just now, got around to writing a recipe to have my systems
automatically register themselves in DNS.

In the post, …

Continue Reading

28 January 2012 ~ Comments Off

iTerm2 with tmux

A new “which tool is best” battle is raging in the internets amongst
developers and system administrators. The contestants are screen
and tmux, and the
jury is still out.
This is very much an argument over what color to paint the bikeshed,

Continue Reading

10 January 2012 ~ Comments Off

Troubleshooting Headless Tests on a Remote CI Server

I just ran into a problem that was causing the Jasmine
tests on our Jenkins CI box to hang forever, and I
figured I should document this handy little troubleshooting tip in case someone
else might find it helpful.

If you hop onto your CI box while you…

Continue Reading

09 January 2012 ~ Comments Off

Upgrading RHEL 6.2 to CentOS 6.2

I had a utility server running RHEL 6.2 (I installed it as part of a RHEV evaluation process). However, I have no RHEL entitlements so am not able to get updates. So, I converted it to CentOS 6.2, with a little help from this post: yum clean all mkdir ~/centos cd ~/centos wget http://mirror.centos.org/centos/6.2/os/x86_64/RPM-GPG-KEY-CentOS-6 wget [...]

Continue Reading

03 January 2012 ~ Comments Off

Chef Report Handler for Growl

A few weeks ago, I listened to the
Changelog Podcast
episode featuring Chris Forsythe, lead of the Growl project. I
actually don’tWdidn’t use Growl for a long time, because I really
disliked notifications of any kind, as they are distractin…

Continue Reading

02 January 2012 ~ Comments Off

Switching to DNSimple

Reminder: this blog reflects my opinions and thoughts, and not
those of my employer, Opscode, Inc.

Like any good sysadmin, I have my own domain for email and other
purposes. I actually have had a couple, but this post is about my
current one. I origin…

Continue Reading

19 December 2011 ~ Comments Off

How I like my Java

This is a repost of my article earlier posted at Jordan Sissel’s awesome SysAdvent
After years of working in Java-based environments, there are a number of things that I like to implement together with the teams I`m working with – the application does…

Continue Reading

13 December 2011 ~ Comments Off

Which Linux distribution for a MySQL server?

I was pleased to read this link on the excellent MySQL Performance Blog.

Continue Reading

24 November 2011 ~ Comments Off

Ruby In Ubuntu 11.10

I was playing around with Ubuntu 11.10 the other day, to explore some of the
changes that have happened to Ruby lately, and thought I’d share my findings.

First off, there are still Ruby 1.8(.7p352) packages. This is the
default you get with the…

Continue Reading