nv-l
[Top] [All Lists]

Re: [NV-L] Incorrect bandwidth data above 100MB

To: Tivoli NetView Discussions <nv-l@lists.ca.ibm.com>
Subject: Re: [NV-L] Incorrect bandwidth data above 100MB
From: Marcelo Zacchi <mzacchi@gmail.com>
Date: Thu, 9 Sep 2010 22:58:59 -0300
Delivery-date: Fri, 10 Sep 2010 02:59:48 +0100
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:content-type; bh=LGpyut+gxnD3suWJ5/hzQxph7N5t/DSJJgJ2zUrsKZw=; b=X6UMtz2VmyRigLIGxDixu4vN4qBX3nTPqHmhOVgMrZIHRN03R4HFnIA7l2UpCpXGlJ q0ldbeDB9KxP1DztdmtDgw9C9k+oTfT11pRsO2NAMNshDLNPXzlQVwuuWvHq1OxLHdA0 lL+IFFTUKcIMgjVJQ3EPJ9YJXJgLq6yxWjVaw=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; b=RjKPYsNBcBsg1VSFHDY/9ogqjOcxYp709ssce5S72FXVIC6G2Y/Szeu61SfkdEKPQl J2lvX21Ycegrfpfht8LtCjFdTVoxQR0Ophxv/7kicKq6K1VcpxVky+HW8gAMz7dIDh6K jKY5JXBfOcZ7PsCp4CHgHk6WmFTT1fS3gN8+o=
Envelope-to: nv-l-archive@lists.skills-1st.co.uk
In-reply-to: <OFF0175929.1502C34B-ON85257799.004D31CA-85257799.004E95F7@us.ibm.com>
List-help: <mailto:nv-l-request@lists.ca.ibm.com?subject=help>
List-id: Tivoli NetView Discussions <nv-l.lists.ca.ibm.com>
List-post: <mailto:nv-l@lists.ca.ibm.com>
List-subscribe: <http://lists.ca.ibm.com/mailman/listinfo/nv-l>, <mailto:nv-l-request@lists.ca.ibm.com?subject=subscribe>
List-unsubscribe: <http://lists.ca.ibm.com/mailman/listinfo/nv-l>, <mailto:nv-l-request@lists.ca.ibm.com?subject=unsubscribe>
References: <AANLkTinExfwQZTpVFdYJiGwwKpVWP71_ShMgmwnWtCYs@mail.gmail.com> <OF8E33FC83.AE5B9F45-ON80257799.002DE419-80257799.00339194@uk.ibm.com> <OFF0175929.1502C34B-ON85257799.004D31CA-85257799.004E95F7@us.ibm.com>
Reply-to: Tivoli NetView Discussions <nv-l@lists.ca.ibm.com>
Sender: nv-l-bounces@lists.ca.ibm.com
John and Leslie,

First of all, thanks for your reply!

I think that John's solutions fits me best, because not all the interfaces have their speed set correctly, so that the ifspeed OID is not a good base for BW utilization.
Today I multiply the output from the ifInOctets by 8 to get the values in bits, but if I, instead, multiplied them by 0.008 I would get them in kbits and so forth. 

I will try it first think tomorrow and tell if it works.

Best regards,
Marcelo Zacchi

On Thu, Sep 9, 2010 at 11:18 AM, Leslie Clark <lclark@us.ibm.com> wrote:

The proper formula for interface utilization has always been, in fifth-grade aritmetic:

octets      second          8bits      1
------  *  ---------     *  -----    * ----
second     speed in bits    1octet     100

That is, ((ifInOctets / ifSpeed) * 8)/ 100

Expressed in reverse Polish in mibExpr.conf, that should be

        .1.3.6.1.2.1.2.2.1.10.  \
        .1.3.6.1.2.1.2.2.1.5. / \
        8 * 100 /
That's what it used to be. The last mibExpr.conf that I have in my archives shows it a little different, but the difference would express the % as a whole number (25%) rather than as .25.

BandwidthUtilIn \
"8*100* ifInOctets / ifSpeed" \
        .1.3.6.1.2.1.2.2.1.10.  \
        .1.3.6.1.2.1.2.2.1.5. / \
        800 *

The high speed interfaces need to be polled with SNMPv2 to get the 64bit mib values, and even then they are likely to wrap if you don't poll frequently enough.
I wonder if the devices were discovered using SNMPv1 community strings and are therefore being polled using 32-bit variables?

I've been out of this for a while, so I may be completely wrong.

Cordially,

Leslie A. Clark
IT Services Specialist, Network Mgmt
Information Technology Services Americas
IBM Global Services
(248) 552-4968 Voicemail, Fax, Pager



From: John M Gatrell <John.Gatrell@uk.ibm.com>
To: Tivoli NetView Discussions <nv-l@lists.ca.ibm.com>
Date: 09/09/2010 05:23 AM
Subject: Re: [NV-L] Incorrect bandwidth data above 100MB
Sent by: nv-l-bounces@lists.ca.ibm.com






Yes, I'm seeing something similar. I'm running on AIX NetView 715 Fixpack3.
The graphs did not look right for me when I started monitoring a router with a Gigabit interface and a Bandwidth 200000 (200 Mbit)

statement. The previous router, which had a bandwidth 100000 statement, was graphed correctly.


I'm using an entry in mibExpr.conf namely

BandwidthUtilOut \

"8*100* ifOutOctets / ifSpeed" \

       .1.3.6.1.2.1.2.2.1.16. \

       .1.3.6.1.2.1.2.2.1.5. / \

       800 *


I tried dividing the ifSpeed by 800 first and this gave more believable results.

Your mileage may vary. I tried using:


NewUtilOut \

"ifOutOctets/(ifSpeed/800)" \

       .1.3.6.1.2.1.2.2.1.16. \

       .1.3.6.1.2.1.2.2.1.5. \

       800 / /


John Gatrell





Unless stated otherwise above:
IBM United Kingdom Limited - Registered in England and Wales with number 741598.
Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU





_______________________________________________
NV-L mailing list
NV-L@lists.ca.ibm.com
Unsubscribe:NV-L-leave@lists.ca.ibm.com
http://lists.ca.ibm.com/mailman/listinfo/nv-l (Browser access limited to internal IBM'ers only)


_______________________________________________
NV-L mailing list
NV-L@lists.ca.ibm.com
Unsubscribe:NV-L-leave@lists.ca.ibm.com
http://lists.ca.ibm.com/mailman/listinfo/nv-l (Browser access limited to internal IBM'ers only)


_______________________________________________
NV-L mailing list
NV-L@lists.ca.ibm.com
Unsubscribe:NV-L-leave@lists.ca.ibm.com
http://lists.ca.ibm.com/mailman/listinfo/nv-l (Browser access limited to 
internal IBM'ers only)
<Prev in Thread] Current Thread [Next in Thread>

Archive operated by Skills 1st Ltd

See also: The NetView Web