Category Archives: Open Source/Internet

You go here, you go there. Bending DHCP to your will.

TL;DR: How to hand out DNS servers in different orders to different clients based upon MAC address. Background: I was connected into my office’s VPN a few months ago and was noticed some very slow DNS resolution of host names … Continue reading

Posted in Open Source/Internet | Tagged , , | Comments Off

Remind me: Configuring BIND9 plugin for Munin on FreeBSD (and Linux)

I was attempting to get Munin working on a new FreeBSD machine, monitoring the rate of queries to a Bind9 DNS server. Every time I attempted ‘munin-run bind9′ I was presented with the same error: Digging around in the Bind9 … Continue reading

Posted in Open Source/Internet | Tagged , | Comments Off

Munin monitoring your SB6120 Comcast Cable Modem

For those who have spent time debugging their Comcast Internet connection, we all know the frustration of trying to explain to Comcast that something on their end is the problem. In this case, more data is better: latency history, ping … Continue reading

Posted in Open Source/Internet | Comments Off

I Am Lazy: Python, to convert a file’s age in seconds since epoch to a readable format

For my own lazyness, so I don’t need to hunt for this damn chain of syntax. >>> time.strftime(“%Y%m%d-%H%M.%S”, time.gmtime(os.path.getctime(“$path_to_file”))) ’20101213-1948.58′

Posted in Open Source/Internet | Comments Off

Howto: Git, hooks, Nagios, oh my.

At work we have a monitoring configuration workflow where our Nagios config files are parsed and generated before they are allowed to be ‘svn commit’ed. I know this verification has saved me many times when trying to add new hosts … Continue reading

Posted in General, Open Source/Internet | 1 Comment