From: Joshua K. <fo...@tr...> - 2008-06-18 18:12:53
|
We actually monitor our Po, Port Channels, and then use Network Weathermap for a view of the bandwidth with our network. A Port Channel is muxing a number of ports together and if you poll the ifHCSpeed for the Port Channel it will show you the combined bandwidth of the ports that have been muxed. So if you have a Port Channel with 4 gig ports in it. Then when you walk the device and poll the ifHCSpeed for that Port Channel. You will get 4gig back as the speed of that interface. Port Channeling will also load share between the interfaces and balance out the traffic on it's own. And if you loose one or more of the ports out of the Port Channel, depending on how many ports are in it, you will still have traffic moving through it. Glad I was able to help you out. -Josh -----Original Message----- From: dev...@li... [mailto:dev...@li...] On Behalf Of Christian Hammers Sent: Wednesday, June 18, 2008 10:57 AM To: dev...@li... Subject: Re: [Devmon] 10 Gigabit Ethernet Interfaces? Hello Works fine, thanks! I would propose to substitute if_load by if_hcload for templates/cisco-6506/ templates/cisco-6509/ templates/cisco-7206/ templates/cisco-7300/ At least for those I did it on my server and they seem to support those OIDs for all interfaces. BTW, Interfacenames matching /Po[0-9]+/ should be excluded as they are some kind of channel bundling but do not show the accumulated ifSpeeds as their own ifSpeed and thus can result in a load of >100%. bye, -christian- On Tue, 17 Jun 2008 13:22:11 -0400 "Joshua Krause" <fo...@tr...> wrote: > You have to modify some of the files in the templates folder to use the > ifHighSpeed oids. Devmon supports the 64 bit counters but you need to use > the 64 bit counter oids. Here is some output in the templates I use. > > ###### OIDS ####### > ifName : .1.3.6.1.2.1.31.1.1.1.1 : branch > ifAlias : .1.3.6.1.2.1.31.1.1.1.18 : branch > ifHighSpeed : .1.3.6.1.2.1.31.1.1.1.15 : branch > ifHCInOctets : .1.3.6.1.2.1.31.1.1.1.6 : branch > ifHCOutOctets : .1.3.6.1.2.1.31.1.1.1.10 : branch > ifAdminStatNum : .1.3.6.1.2.1.2.2.1.7 : branch > ifOperStatNum : .1.3.6.1.2.1.2.2.1.8 : branch > > ###### Transforms ####### > # Create a human-readable ifc speed > ifSpeed_T : MATH : {ifHighSpeed} x 1000000 > ifHighSpeed_T : SPEED : {ifSpeed_T} > # Get bit speed delta (so we dont have to provide custom delta limit) > ifInOps_T : DELTA : {ifHCInOctets} > ifOutOps_T : DELTA : {ifHCOutOctets} > # Convert our octets delta into bits per second > ifInBps_T : MATH : {ifInOps_T} x 8 > ifOutBps_T : MATH : {ifOutOps_T} x 8 > # Make some easily readable speed variables > ifInSpeed_T : SPEED : {ifInBps_T} > ifOutSpeed_T : SPEED : {ifOutBps_T} > # Now determine our percentage load, based on traffic and ifc speed > ifInLoad_T : MATH : ({ifInBps_T} / {ifSpeed_T}) x 100 > ifOutLoad_T : MATH : ({ifOutBps_T} / {ifSpeed_T}) x 100 > # Create an alias in a bracketed box, or nothing if alias is blank > ifAliasBox : REGSUB : {ifAlias} /(\S+.*)/ [$1]/ > > ####### Message ####### > <b>Interface error rates:</b> > Input load: yellow={ifInLoad_T.thresh:yellow}%, > red={ifInLoad_T.thresh:red}% > Output load: yellow={ifOutLoad_T.thresh:yellow}%, > red={ifOutLoad_T.thresh:red}% > TABLE: noalarmsmsg,rrd(DS:ds0:ifHCInOctets:COUNTER; > DS:ds1:ifHCOutOctets:COUNTER) > Interface Name|Interface Speed|Rate in (load %)|Rate out (load %) > {ifName}{ifAliasBox}|{ifHighSpeed_T}|{ifInLoad_T.color}{ifInSpeed_T} > ({ifInLoad_T}%){ifInLoad_T.errors}|{ifOutLoad_T.color}{ifOutSpeed_T} > ({ifOutLoad_T}%){if > OutLoad_T.errors} > > -Josh > > > -----Original Message----- > From: dev...@li... > [mailto:dev...@li...] On Behalf Of Christian > Hammers > Sent: Tuesday, June 17, 2008 12:13 PM > To: dev...@li... > Subject: [Devmon] 10 Gigabit Ethernet Interfaces? > > Hello > > We have some 10 GigE Interfaces here which are shown in if_load as only > "4.29 Gbps" with a usage of 106% :) > > This is probably because the MIB defines ifSpeed as Gauge32 but devmon does > not follow the recommendation to use IF-MIB::ifHighSpeed in case the MAXVAL > of 4294967295 is returned. > > # snmptranslate -Td IF-MIB::ifSpeed > ... If the > bandwidth of the interface is greater than the maximum value > reportable by this object then this object should report its > maximum value (4,294,967,295) and ifHighSpeed must be used > to report the interface's speed. > ... > > bye, > > -christian- > -- NetCologne Gesellschaft für Telekommunikation mbH Network Engineering & Design Am Coloneum 9 Tel.: +49-221-2222-8711 50829 Köln Fax.: +49-221-2222-78711 Geschäftsführer: Werner Hanf, Karl-Heinz Zankel HRB 25580, AG Köln ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Devmon-support mailing list Dev...@li... https://lists.sourceforge.net/lists/listinfo/devmon-support |