From john.belshaw at cggveritas.com Tue Mar 16 10:19:41 2010 From: john.belshaw at cggveritas.com (belshaw, john) Date: Tue, 16 Mar 2010 09:19:41 +0000 Subject: [mrtg-developers] FW: cfgmaker for arista and ifAlias Message-ID: <0FD04BB55509B94B99C324703DEC867D4C283BD137@CRW-EXM01.int.cggveritas.com> I added support for Arista and got the ifAlias working, For a some reason html_escape removes the alias entry for me so I just don't use it for the if_descr entry, Here is a diff from cfgmaker 2.16.3 173c173 < } elsif ( $routers->{$router}{deviceinfo}{Vendor} =~ /(?:hp|juniper|foundry|dellLan|force10|3com|extremenetworks|arista)/) { --- > } elsif ( $routers->{$router}{deviceinfo}{Vendor} =~ /(?:hp|juniper|foundry|dellLan|force10|3com|extremenetworks)/) { 698,699c698 < $if_snmp_alias = $$i{ifAlias}; < last }; --- > last }; 718a718 > 721c721 < #my $html_if_snmp_alias = html_escape($if_snmp_alias); --- > my $html_if_snmp_alias = html_escape($if_snmp_alias); 995,996c995 < '1.3.6.1.4.1.2272.30' => 'nortel', < '1.3.6.1.4.1.30065' => 'arista', --- > '1.3.6.1.4.1.2272.30' => 'nortel' John Belshaw IT Architecture advisor : Network -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.oetiker.ch/pipermail/mrtg-developers/attachments/20100316/13c90e1b/attachment.html From prakashm at hcl.in Wed Mar 17 13:39:56 2010 From: prakashm at hcl.in (Prakash Mariasusai) Date: Wed, 17 Mar 2010 18:09:56 +0530 Subject: [mrtg-developers] Method of retrieving Bits per sec (MRTG ref) Message-ID: <66E3DDEEA70F0D469D1FFE238526B6ED280528DEBB@CHN-HCLT-EVS07.HCLT.CORP.HCL.IN> Hi, I am writing a small program to get the "Bits per sec" value for a network interface in Unix systems (Solaris, Linux severs) similar to the one provided by MRTG in the below link: http://www.switch.ch/network/operation/statistics/geant2.html I assume that MRTG does the same through SNMP. I am new to SNMP and if someone can point me to the appropriate MIB/OID, for doing the same, it would be very helpful. Thanks in advance, Prakash DISCLAIMER: ----------------------------------------------------------------------------------------------------------------------- The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only. It shall not attach any liability on the originator or HCL or its affiliates. Any views or opinions presented in this email are solely those of the author and may not necessarily reflect the opinions of HCL or its affiliates. Any form of reproduction, dissemination, copying, disclosure, modification, distribution and / or publication of this message without the prior written consent of the author of this e-mail is strictly prohibited. If you have received this email in error please delete it and notify the sender immediately. Before opening any mail and attachments please check them for viruses and defect. ----------------------------------------------------------------------------------------------------------------------- -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.oetiker.ch/pipermail/mrtg-developers/attachments/20100317/324cf746/attachment.htm From s.shipway at auckland.ac.nz Wed Mar 17 21:53:58 2010 From: s.shipway at auckland.ac.nz (S Shipway) Date: Wed, 17 Mar 2010 12:53:58 -0800 (PST) Subject: [mrtg-developers] Method of retrieving Bits per sec (MRTG ref) In-Reply-To: <66E3DDEEA70F0D469D1FFE238526B6ED280528DEBB@CHN-HCLT-EVS07.HCLT.CORP.HCL.IN> References: <66E3DDEEA70F0D469D1FFE238526B6ED280528DEBB@CHN-HCLT-EVS07.HCLT.CORP.HCL.IN> Message-ID: <6B587E8C999646469B54486AF21958460D9CAB5634@UXCHANGE7-1.UoA.auckland.ac.nz> MRTG obtains this data by reading the ifInOctets and ifOutOctets values in the IF-MIB via SNMP at 5min intervals, calculating the difference (taking into account possible counter wrap) and dividing by the time interval, then multiplying by 8 to get bits/sec. This is in the standard MIB. If the interface is a high-speed interface (>=100Mbps) and the device supports it, then the MIB-2 isused instead and the h64bit counters ifHCInOctets and ifHCOutOctets are used instead (to prevent counter wrap from causing problems). Steve From: Prakash Mariasusai [via MRTG Mailinglists] [mailto:ml-node+4750489-553955619-68162 at n2.nabble.com] Sent: Thursday, 18 March 2010 3:13 a.m. To: Steve Shipway Subject: Method of retrieving Bits per sec (MRTG ref) Hi, I am writing a small program to get the "Bits per sec" value for a network interface in Unix systems (Solaris, Linux severs) similar to the one provided by MRTG in the below link: http://www.switch.ch/network/operation/statistics/geant2.html I assume that MRTG does the same through SNMP. I am new to SNMP and if someone can point me to the appropriate MIB/OID, for doing the same, it would be very helpful. Thanks in advance, Prakash -- View this message in context: http://n2.nabble.com/Method-of-retrieving-Bits-per-sec-MRTG-ref-tp4750489p4752968.html Sent from the MRTG Developers Mailinglist mailing list archive at Nabble.com. From morph at debian.org Thu Mar 18 22:45:02 2010 From: morph at debian.org (Sandro Tosi) Date: Thu, 18 Mar 2010 22:45:02 +0100 Subject: [mrtg-developers] Spelling fixed for manpages Message-ID: <8b2d7b4d1003181445n33cef61ah91175f590a253b97@mail.gmail.com> Hello, while preparing the Debian package for 2.16.3, some spelling errors were noticed and fixed. Attached is the patch applied. Regards, -- Sandro Tosi (aka morph, morpheus, matrixhasu) My website: http://matrixhasu.altervista.org/ Me at Debian: http://wiki.debian.org/SandroTosi -------------- next part -------------- A non-text attachment was scrubbed... Name: mrtg_2.16.3_manpages_typos.diff Type: text/x-java Size: 13528 bytes Desc: not available Url : http://lists.oetiker.ch/pipermail/mrtg-developers/attachments/20100318/59918f9d/attachment.java From tobi at oetiker.ch Mon Mar 29 08:21:12 2010 From: tobi at oetiker.ch (Tobias Oetiker) Date: Mon, 29 Mar 2010 08:21:12 +0200 (CEST) Subject: [mrtg-developers] Spelling fixed for manpages In-Reply-To: <8b2d7b4d1003181445n33cef61ah91175f590a253b97@mail.gmail.com> References: <8b2d7b4d1003181445n33cef61ah91175f590a253b97@mail.gmail.com> Message-ID: Hi Sandro, thanks a lot I have added them to the repo cheers tobi Mar 18 Sandro Tosi wrote: > Hello, > while preparing the Debian package for 2.16.3, some spelling errors > were noticed and fixed. > > Attached is the patch applied. > > Regards, > -- Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten, Switzerland http://it.oetiker.ch tobi at oetiker.ch ++41 62 775 9902 / sb: -9900 From prakashm at hcl.in Mon Mar 29 14:00:25 2010 From: prakashm at hcl.in (Prakash Mariasusai) Date: Mon, 29 Mar 2010 17:30:25 +0530 Subject: [mrtg-developers] Method of retrieving Bits per sec (MRTG ref) In-Reply-To: <66E3DDEEA70F0D469D1FFE238526B6ED28052D1922@CHN-HCLT-EVS07.HCLT.CORP.HCL.IN> Message-ID: <66E3DDEEA70F0D469D1FFE238526B6ED28053FA4CD@CHN-HCLT-EVS07.HCLT.CORP.HCL.IN> Hi Steve, Thanks for your response. We tried using the below mentioned procedure. We are getting 2 values for bits per sec, one for Incoming packets, and the other on outgoing packets. Is the one displayed in MRTG the sum of these 2 values? In other words, is bytes per sec displayed in MRTG = 8 * [(ifInOctetsVal2 - ifInOctetsVal1)/(T2-T1) + (ifOutOctetsVal2 - ifOutOctetsVal1)/(T2-T1)] ? Pls. let us know. Thanks, Prakash Re: [mrtg-developers] Method of retrieving Bits per sec (MRTG ref) S Shipway Wed, 17 Mar 2010 13:54:09 -0700 MRTG obtains this data by reading the ifInOctets and ifOutOctets values in the IF-MIB via SNMP at 5min intervals, calculating the difference (taking into account possible counter wrap) and dividing by the time interval, then multiplying by 8 to get bits/sec. This is in the standard MIB. If the interface is a high-speed interface (>=100Mbps) and the device supports it, then the MIB-2 isused instead and the h64bit counters ifHCInOctets and ifHCOutOctets are used instead (to prevent counter wrap from causing problems). Steve From: Prakash Mariasusai [via MRTG Mailinglists] [mailto:ml-node+4750489-553955619-68... at n2.nabble.com] Sent: Thursday, 18 March 2010 3:13 a.m. To: Steve Shipway Subject: Method of retrieving Bits per sec (MRTG ref) Hi, I am writing a small program to get the "Bits per sec" value for a network interface in Unix systems (Solaris, Linux severs) similar to the one provided by MRTG in the below link: http://www.switch.ch/network/operation/statistics/geant2.html I assume that MRTG does the same through SNMP. I am new to SNMP and if someone can point me to the appropriate MIB/OID, for doing the same, it would be very helpful. Thanks in advance, Prakash -- View this message in context: http://n2.nabble.com/Method-of-retrieving-Bits-per-sec-MRTG-ref-tp4750489p4752968 DISCLAIMER: ----------------------------------------------------------------------------------------------------------------------- The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only. It shall not attach any liability on the originator or HCL or its affiliates. Any views or opinions presented in this email are solely those of the author and may not necessarily reflect the opinions of HCL or its affiliates. Any form of reproduction, dissemination, copying, disclosure, modification, distribution and / or publication of this message without the prior written consent of the author of this e-mail is strictly prohibited. If you have received this email in error please delete it and notify the sender immediately. Before opening any mail and attachments please check them for viruses and defect. ----------------------------------------------------------------------------------------------------------------------- -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.oetiker.ch/pipermail/mrtg-developers/attachments/20100329/e28226cf/attachment-0001.htm From s.shipway at auckland.ac.nz Mon Mar 29 23:38:41 2010 From: s.shipway at auckland.ac.nz (S Shipway) Date: Mon, 29 Mar 2010 13:38:41 -0800 (PST) Subject: [mrtg-developers] Method of retrieving Bits per sec (MRTG ref) In-Reply-To: <66E3DDEEA70F0D469D1FFE238526B6ED28053FA4CD@CHN-HCLT-EVS07.HCLT.CORP.HCL.IN> References: <66E3DDEEA70F0D469D1FFE238526B6ED28053FA4CD@CHN-HCLT-EVS07.HCLT.CORP.HCL.IN> Message-ID: <6B587E8C999646469B54486AF219584612DB8590F8@UXCHANGE7-1.UoA.auckland.ac.nz> A normal MRTG graph will have two variables (normally shown as one blue line and one green area) - one for Incoming and one for Outgoing. Bits/sec is 8 * [(ifInOctetsVal2 - ifInOctetsVal1)/(T2-T1)], however RRDTool also does 'data time window normalisation' which is a bit too complex to fully describe here and uses averages to make T1 and T2 set to the 5-min time window boundary. Steve From: Prakash Mariasusai [via MRTG Mailinglists] [mailto:ml-node+4817524-446686016-68162 at n2.nabble.com] Sent: Tuesday, 30 March 2010 1:02 a.m. To: Steve Shipway Subject: Re: Method of retrieving Bits per sec (MRTG ref) Hi Steve, Thanks for your response. We tried using the below mentioned procedure. We are getting 2 values for bits per sec, one for Incoming packets, and the other on outgoing packets. Is the one displayed in MRTG the sum of these 2 values? In other words, is bytes per sec displayed in MRTG = 8 * [(ifInOctetsVal2 - ifInOctetsVal1)/(T2-T1) + (ifOutOctetsVal2 - ifOutOctetsVal1)/(T2-T1)] ? Pls. let us know. Thanks, Prakash Re: [mrtg-developers] Method of retrieving Bits per sec (MRTG ref) S Shipway Wed, 17 Mar 2010 13:54:09 -0700 MRTG obtains this data by reading the ifInOctets and ifOutOctets values in the IF-MIB via SNMP at 5min intervals, calculating the difference (taking into account possible counter wrap) and dividing by the time interval, then multiplying by 8 to get bits/sec. This is in the standard MIB. If the interface is a high-speed interface (>=100Mbps) and the device supports it, then the MIB-2 isused instead and the h64bit counters ifHCInOctets and ifHCOutOctets are used instead (to prevent counter wrap from causing problems). Steve From: Prakash Mariasusai [via MRTG Mailinglists] [[hidden email]] Sent: Thursday, 18 March 2010 3:13 a.m. To: Steve Shipway Subject: Method of retrieving Bits per sec (MRTG ref) Hi, I am writing a small program to get the "Bits per sec" value for a network interface in Unix systems (Solaris, Linux severs) similar to the one provided by MRTG in the below link: http://www.switch.ch/network/operation/statistics/geant2.html I assume that MRTG does the same through SNMP. I am new to SNMP and if someone can point me to the appropriate MIB/OID, for doing the same, it would be very helpful. Thanks in advance, Prakash -- View this message in context: http://n2.nabble.com/Method-of-retrieving-Bits-per-sec-MRTG-ref-tp4750489p4752968 DISCLAIMER: ----------------------------------------------------------------------------------------------------------------------- The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only. It shall not attach any liability on the originator or HCL or its affiliates. Any views or opinions presented in this email are solely those of the author and may not necessarily reflect the opinions of HCL or its affiliates. Any form of reproduction, dissemination, copying, disclosure, modification, distribution and / or publication of this message without the prior written consent of the author of this e-mail is strictly prohibited. If you have received this email in error please delete it and notify the sender immediately. Before opening any mail and attachments please check them for viruses and defect. ----------------------------------------------------------------------------------------------------------------------- _______________________________________________ mrtg-developers mailing list [hidden email] https://lists.oetiker.ch/cgi-bin/listinfo/mrtg-developers ________________________________ View message @ http://n2.nabble.com/Re-Method-of-retrieving-Bits-per-sec-MRTG-ref-tp4817524p4817524.html To start a new topic under MRTG Developers Mailinglist, email ml-node+795384-1747653317-68162 at n2.nabble.com To unsubscribe from MRTG Developers Mailinglist, click here< (link removed) =>. -- View this message in context: http://n2.nabble.com/Re-Method-of-retrieving-Bits-per-sec-MRTG-ref-tp4817524p4820970.html Sent from the MRTG Developers Mailinglist mailing list archive at Nabble.com.