The Secret Diary of Han, Aged 0x29

Archive for the ‘General’ Category

Creating a postfix e-mail account

OK, I had to create a Decafe e-mail for  our new QA team member, in the absense of any real sysadmin manpower… I just figured out how:

  • Login to the mail server.
  • Create a user account in the normal way (useradd -s /bin/bash [username], create homedir and chown to the new user)
  • Edit /etc/postfix/aliases and add any aliases for this new user. One per line, e.g. a.user: user1. run “newaliases”.

That’s it.


Written by Han

February 1, 2006 at 15:27

Posted in General

Software images

Look on \\\ (ending in old home number, btw)

for the Opsware install images.

You can browse from there using windows explorer

Written by Han

February 1, 2006 at 12:48

Posted in General

Server based RSS aggregator (Gregarius) installed on

I installed Gregarius on mgmt1. It provides a river of news view of all our worklogs. It is an easy way to see which worklogs have been updated, similar to the default view in  projectweb.

It is not multiuser, but that doesn’t really matter, as it can display read and unread posts.

Written by Han

January 30, 2006 at 19:16

Posted in General

To minimize configuration

Principle 1:
Use reasonable defaults wherever possible to reduce the configuration complexity.

– SNMP Poller: Use the mibname as the measurementtype name by default

Principle 2:
Where configuration is necessary, do it in one place and at the broadest possible entity.

– SNMP Poller: Configure SNMP version mappings that are other than default for device types, not for individual devices
– SNMP Poller: Configure pollgroups and collgroups for address ranges, not for individual devices

Written by Han

January 25, 2006 at 17:53

Posted in General

For an Alteon SSLVPN an ifIndex is not an ifIndex

The ifTable in Mib-2 is indexed by ifIndex. ifIndex itself is also first column of the ifTable, so you would expect the values of this column to always be the same as the index in the table. And up to know this has proven true for all devices discovered. Today, however, when I tried to discover the interfaces for an Alteon SSL-VPN device for a customer, this law of nature was broken:

bash-2.05# snmpwalk -v2c -cpublic ifIndex
RFC1213-MIB::ifIndex.1 = INTEGER: 5
RFC1213-MIB::ifIndex.2 = INTEGER: 4
RFC1213-MIB::ifIndex.3 = INTEGER: 2
RFC1213-MIB::ifIndex.4 = INTEGER: 3

I had to change the discovery of interfaces from “dynamic” to “index” to cope with this. In “dynamic” it takes the value from the table column, whereas using index, it just uses the table index, which is what we want in this case.

Written by Han

January 24, 2006 at 15:49

Posted in General

Wordpress installed

I just installed WordPress on mgmt1. It’s using Apache / MySQL / PHP on a Windows 2003 server. Isn’t this sick? xampp makes it real easy though.
What remains to be done is to figure out how to support multiple blogs (one for each member) and how to import stuff from a random unsupported partially broken blogging tool

[update] Created a small utility to export all projectweb entries of a user. To support multiple blogs I simply by copied the WordPress installation to multiple directories. This has the advantage that everyone can modify their layouts independently. All reuse the same database though, to facilitate management and backup. 

Written by Han

January 23, 2006 at 18:58

Posted in General