This is a perl module I wrote for ITS when I worked there over the summer. Basically, the NetQuery module is an abstract wrapper for making SNMP queries to a large set of switches. It is meant to gracefully handle most of the more repetitive parts of this process so that the programmer can focus on what they want to do, which is sending SNMP queries to some set of switches. It includes a MIB compiler object inside of itself so that programmers can use the symbolic SNMP name as opposed to the OID (i.e. sysName as opposed to 1.3.6.1.2.1.1.5).
I did a SURF with Prof. Jason Hickey in which I wrote 'reliable multicast' code that can reliably inform senders of message success. It is part of the Mojavecomm Group Communication library. The mojave project is no longer being worked on AFAIK, but you can still get the sources should you so desire.
This is a Haskell/ML-ish shell I'm currently working on. To check out, cd to where you want it and do:
darcs get http://www.ugcs.caltech.edu/~goldstei/proj/ftsh/