From: Schwimmer, E. E *H. <EE...@hs...> - 2007-01-24 16:52:41
|
Hi Loris, Weird error, haven't had a problem /w speed translation on any of the cisco devices thus far, since that portion of the templates relies upon the public 'mgmt' mib tree. Try walking the 'ifDescr' and 'ifSpeed' OIDs on your 2800, find the table leaves that correspond to your two gigabit ifcs in the ifDescr table, and then find the same leaves in the ifSpeed table and get the values from there. i.e: [mydestkop]$ snmpwalk -c mycid -v2c 10.0.0.1 ifDescr IF-MIB::ifDescr.1 =3D STRING: GigabitEthernet0/0 IF-MIB::ifDescr.2 =3D STRING: GigabitEthernet0/1 ... ... [mydestkop]$ snmpwalk -c mycid -v2c 10.0.0.1 ifSpeed IF-MIB::ifSpeed.1 =3D Gauge32: 1000000000 IF-MIB::ifSpeed.2 =3D Gauge32: 1000000000 ... ... If you have values for ifSpeed that *aren't* 1,000,000,000 (i.e. 1 billion bits per second), then something is funky with your 2800. If they do have that value, then something is funky with devmon, or the 2800 template you are using :) e > -----Original Message----- > From: dev...@li... [mailto:devmon-support- > bo...@li...] On Behalf Of Lor...@pf... > Sent: Wednesday, January 24, 2007 10:28 AM > To: dev...@li... > Subject: Re: [Devmon] "Copying" device templates >=20 >=20 > Cheers Johann and Michael, that was it! >=20 > Now, it KIND OF works... > I get all my fancy columns in BB and all, but my Gi0/0 interface (which is > 1Gbit) is reported as 2Mbit and Gi0/1 (1Gbit again) shows as 100Mbit in > the "Ifc Speed" column. >=20 > How do I go from here? > Do I have to create a template from scratch? > snmpwalk returns bazillions of lines, but I wouldn't know how to use such > an output... >=20 > Loris >=20 >=20 >=20 >=20 >=20 >=20 > "Johann Eggers" <Joh...@te...> > Sent by: dev...@li... >=20 > 24/01/2007 13:42 > Please respond to > dev...@li... >=20 > To > <dev...@li...> > cc > Subject > Re: [Devmon] "Copying" device templates >=20 >=20 >=20 >=20 >=20 >=20 > Running devmon -vv -f -readbbhosts is only for updating the internal > database for newly added hosts. > You have to run ./devmon (with debugging enabled) to see any test results... >=20 > Johann >=20 >=20 > ________________________________ >=20 >=20 > From: dev...@li... [mailto:devmon-support- > bo...@li...] On Behalf Of Lor...@pf... > Sent: Mittwoch, 24. Januar 2007 14:35 > To: dev...@li... > Subject: Re: [Devmon] "Copying" device templates >=20 >=20 > Johann, Michael, thanks for the quick replies! >=20 > Ok, copying the template from cisco-2801 to cisco-2800 and amending those > two entries in the specs file looks more encouraging, but still no joy. >=20 > $ ./devmon -vv -f --readbbhosts > [07-01-24@13:28:12] SNMP querying all hosts in bb-hosts file, please > wait... > [07-01-24@13:28:12] Querying pre-existing hosts > [07-01-24@13:28:12] Discovered i-wexf-a01 as a cisco 2800 > [bb@genesis devmon]$ echo $? > 0 > $ > $ grep DEVMON ~bb/bb/etc/bb-hosts > 10.11.12.13 i-wexf-a01 # DEVMON interfaces > $ >=20 > Then, nothing shows up either in the BB web page for the router, or in > BBOUT, or /var/log/devmon.log >=20 > What am I missing here? >=20 > Loris >=20 >=20 >=20 >=20 >=20 > "Michael A. Price" <mp...@hs...> > Sent by: dev...@li... >=20 > 24/01/2007 13:24 >=20 >=20 >=20 > Please respond to > dev...@li... >=20 >=20 >=20 > To > dev...@li... > cc >=20 > Subject > Re: [Devmon] "Copying" device templates >=20 >=20 >=20 >=20 >=20 >=20 >=20 >=20 >=20 >=20 >=20 > I have done it before.. ;-) >=20 > It give you a good baseline to start from ;-) >=20 > Michael A. Price > Performance Network Engineering > NASA/GSFC Code 440.8/LMB > Greenbelt, Maryland 20770 > Phone: 240-684-1356 > Cell: 410-507-7476 > e-mail: mp...@hs... > ---------------------------------------------- >=20 >=20 >=20 >=20 > Lor...@pf... wrote: > > > > Guys, > > > > running > > $ ./devmon -vv -f --readbbhosts > > [07-01-24@12:58:36] SNMP querying all hosts in bb-hosts file, please > > wait... > > [07-01-24@12:58:36] Querying new hosts using cid '....' and snmp v2 > > [07-01-24@12:58:36] No matching templates for device: i-wexf-a01 > > [07-01-24@12:58:36] Querying new hosts using cid '....' and snmp v2 > > [07-01-24@12:58:36] Querying new hosts using cid '....' and snmp v1 > > [07-01-24@12:58:36] Querying new hosts using cid '....' and snmp v1 > > tells me "No matching templates" for my device > > > > If I then run > > $ snmpstatus i-wexf-a01 xxxxxx > > [10.11.12.13]=3D>[Cisco IOS Software, 2800 Software > > (C2800NM-ADVIPSERVICESK9-M), Version 12.4(12), RELEASE SOFTWARE (fc1) > > Technical Support: http://www.cisco.com/techsupport > > Copyright (c) 1986-2006 by Cisco Systems, Inc. > > Compiled Fri 17-Nov-06 12:02 by prod_rel_team] Up: 3 days, 21:16:14.09 > > Interfaces: 27, Recv/Trans packets: 130668522/128252768 | IP: > > 258569469/1010934 > > 19 interfaces are down! > > $ > > I find out it's a 2800 Cisco Router. > > > > Now, how good/bad would it be to copy the "cisco-2801" template to > > "cisco-2800" and adjusting the "model" and "sysdesc" fields in the > > specs file? > > Woluld this work? > > Is it advisable? > > Alternatives? > > > > Please let me know your thoughts. > > > > Thanks in advance > > > > Loris > > > > > > ------------------------------------------------------------------------ > > > > ------------------------------------------------------------------------ > - > > Take Surveys. Earn Cash. Influence the Future of IT > > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > > opinions on IT & business topics through brief surveys - and earn cash > > > http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3D= DEVDE V > > ------------------------------------------------------------------------ > > > > _______________________________________________ > > Devmon-support mailing list > > Dev...@li... > > https://lists.sourceforge.net/lists/listinfo/devmon-support > > >=20 > ------------------------------------------------------------------------ - > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3D= DEVDE V > _______________________________________________ > Devmon-support mailing list > Dev...@li... > https://lists.sourceforge.net/lists/listinfo/devmon-support------------- -- > ---------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3D= DEVDE V_ > ______________________________________________ > Devmon-support mailing list > Dev...@li... > https://lists.sourceforge.net/lists/listinfo/devmon-support >=20 |