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: Leslie Clark <lclark@us.ibm.com>
Date: Thu, 9 Sep 2010 10:18:17 -0400
Delivery-date: Thu, 09 Sep 2010 15:18:42 +0100
Envelope-to: nv-l-archive@lists.skills-1st.co.uk
In-reply-to: <OF8E33FC83.AE5B9F45-ON80257799.002DE419-80257799.00339194@uk.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>
Reply-to: Tivoli NetView Discussions <nv-l@lists.ca.ibm.com>
Sender: nv-l-bounces@lists.ca.ibm.com

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)
<Prev in Thread] Current Thread [Next in Thread>

Archive operated by Skills 1st Ltd

See also: The NetView Web