We began writing a Tcl/SNMPv2 interface as those interfaces available at that time did not seem to be well designed/implemented (we did not want to fight against slow or fat code again). The result of these efforts is the Scotty Tcl extension which provides besides other goodies a Tcl/SNMP interface which is fast, portable and small. This extensions can also be run as a SNMPv2 agent, so it is easy to write the code to receive configuration data via SNMP and put it in local configuration files.
We also wrote a version of the database server (we call it bones light) that reads a configuration file and allows to manipulate instances of defined classes in Tcl. But we are still not very happy with the bones database.
In the meantime, David J. Hughes (bambi@Bond.edu.au) wrote a simple mini SQL database (msql) which has a nice interface to Tcl. This seems to be a far superior database server for these kind of applications and it allows to switch to commercial systems like oracle or sybase if needed.
To come to an end: We are now switching to msql as our database backend by using the msqltcl interface. The bones classes are already converted into a set of relations. All what is still needed to get it running is to write a MIB extension and implement it as a Tcl script using the Scotty SNMP agent extension.