Archive for June, 2007

Tiger Server servermgrd library for Python

Posted by dre on June 11th, 2007

motivation
I finally found a reason to write some Python. Being something of a monitoring and data junkie, I’ve had a fair amount of experience with snmp, data mining scripts, etc. After writing this post to the server list, I figured I’d make some templates for snmp that published interesting pieces of data about the server. […]

DNS Zone File record generation script

Posted by dre on June 7th, 2007

In wrote the following as part of my response to this.
#!/usr/bin/perl -w
use strict;

# Place the first three octets here.
my $AddressPrefix = “10.0.1″;

# Define the range of numbers, inclusive.
my $range = “2 .. 10″;

# Your fqdn suffix here, e.g. “foo.com” or “k12.fl.us.gov”
my $tld = “937″;

# Need a backwards representation for PTR records
my $octets = join(”.”, reverse(split(/\./, […]