Hi Mitch, I just wanted to plug my modules -- SNMP::Info. You will find support to find and set VLANs on an interface level for all the major network device vendors. It's pretty easy to extend -- new developers always welcome. Part of my design method was to use the MIBs so that you don't have to work with magic numbers and magic responses like you were talking about. It does however use Net-SNMP's Perl module, not the CPAN one. All needed mibs can be found in the companion netdisco-mibs package.
http://sourceforge.net/projects/snmp-info/ Supported devices : http://snmp-info.sourceforge.net/DeviceMatrix.html (a bit out of date) -m On Fri, Aug 25, 2006 at 06:44:07PM -0400, Raful Mr Mitchell H wrote: > I am using Net::SNMP (the perl module, not the perl that modules that come > with NetSNMP). When I run a script to retreive vlan's outside of the mason > and webserver I get normal responses. I should see something similar to: > > 1.3.6.1.4.1.9.9.68.1.2.1.1.2.10030x00000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 > > > However, I sometimes get this when using mason: > 1.3.6.1.4.1.9.9.68.1.2.1.1.2.1002 this is followed by little squares, that is > unreadable characters. > > Again this same script works when not on the web server in a Mason > environment and also does not happen on all devices on the network. > > Thanks, > > Mitch > > Mitch Raful, MCSE CCNP > Network Engineer > HQMC MCCS > 3044 Catlin Avenue > Quantico, VA 22134 > 703-784-5991 > "T'm Mitch Raful, and I approved this message." ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Mason-users mailing list Mason-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mason-users