From: Brian W. <wil...@bu...> - 2004-02-24 21:37:09
|
Brian, You've ran into a bug in the Cisco v2 MIBS. See : http://sourceforge.net/mailarchive/forum.php? thread_id=2625807&forum_id=33321 for a solution. FYI Max, I have cvs netdisco and cvs snmp-info working wonderfully w/ 3548s. Brian On Feb 24, 2004, at 4:25 PM, Brian Johnson wrote: > Thanks Max. > >> You should try running a debugged macsuck on one of the switches and >> looking >> over the results: >> >> netdisco -D -M device > > Sorry for not macsucking with debugging on sooner -- bad netiquette on > my > part. I did run it and outputted the, well, output to a file. I'm > afraid > I'm a big dummy when it comes to SNMP (ok, a big dummy in general. I > digress), so I'm not sure what to look for. I did notice that it does > say > "Device Type : SNMP::Info::Layer2::C2900" I also noticed a bunch of > "Port > <port> is not in database. Skipped." messages. After some creative > grepping, cutting, and sorting, it appears it said that about all the > ports on the switch, despite the fact that the webpage shows ports it > believes has devices connected. In addition, I've got this error > message: > > Bad operator (Unsigned32): At line 192 in > /usr/local/share/snmp/mibs/CISCO-TC.my > Did not find 'EntPhysicalIndexOrZero' in module SNMPv2-SMI > (/usr/local/share/snmp/mibs/CISCO-PROCESS-MIB.my) > > Originally it said CISCO-TC.my instead of SNMPv2-SMI, but after some > googling, I discovered a post somewhere that said I should change it to > SNMPv2-SMI in CISCO-PROCESS-MIB.my, which I did. > > I don't know how helpful this information is, but it's what kind of > jumped out at me. If there's anything else you think would be helpful, > please let me know. > >> >> That will also tell you what device class it's using for your device. >> 35xxXL switches should be being assigned to the Layer2::C2900 class. >> >> Actually, if you do the "make snmp" method and there is an "SNMP/" >> directory >> in the netdisco/ directory, then you don't need to do an install of >> SNMP::Info. Perl will look for a copy in the local directory when >> netdisco >> is run. I haven't tested it to see what will happen if you have an >> older >> copy installed by perl in the perl-lib/ directories, and then you >> have a >> local copy in the netdisco/ directory. Desired behavior would be of >> course >> to favor the local copy. >> >> You also will want to get in the habit of running "cvs update" from >> the >> SNMP/ directory every now and then (every month?) to keep up with >> patches >> and bug fixes. You could even make that a cron job in >> netdisco.crontab. > > Ouch, forgot about the Install directions for SNMP-Info from CVS, so > didn't think about doing a 'make snmp'. I went back and ran 'make > snmp' > from /usr/local/netdisco. I'm not sure if that will help or hurt or > what > having installed 0.7 originally, doing a 'make install' for pre0.8, and > then doing 'make snmp'. This should be fun :) Thanks also for the > 'cvs > update' tip. I'll add it. > >> I just wish I could respond more evenly to everyone. It's totally >> hit and >> miss and depends on how hard a question it is for me to respond to >> and how >> much free time I have. > > Definitely understood -- you've certainly been more than generous to > me in > answering my questions. I really appreciate it! > > Brian > > > ------------------------------------------------------- > SF.Net is sponsored by: Speed Start Your Linux Apps Now. > Build and deploy apps & Web services for Linux with > a free DVD software kit from IBM. Click Now! > http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click > _______________________________________________ > Netdisco mailing list > net...@li... > https://lists.sourceforge.net/lists/listinfo/netdisco-users > > -- Brian Wilson wi...@nc... Network Analyst W: 919.513.3472 Communication Technologies F: 919.513.1893 North Carolina State University http://www.ncstate.net |