nv-l
[Top] [All Lists]

Re: MIB Expressions

To: nv-l@lists.tivoli.com
Subject: Re: MIB Expressions
From: Jose Luis Arbona Orovay <jarbo@INFOCENTRE.GVA.ES>
Date: Fri, 12 Feb 1999 10:22:39 +0100
Reply-to: Discussion of IBM NetView and POLYCENTER Manager on NetView <NV-L@UCSBVM.UCSB.EDU>
Sender: Discussion of IBM NetView and POLYCENTER Manager on NetView <NV-L@UCSBVM.UCSB.EDU>
--- Begin Message ---
To: Discussion of IBM NetView and POLYCENTER Manager on NetView <NV-L@UCSBVM.ucsb.edu>
Subject: Re: MIB Expressions
From: José Luis Arbona Orovay <jarbo@infocentre.gva.es>
Date: Fri, 12 Feb 1999 09:09:50 +0100
References: <85256715.005AEABE.00@USCOMM02.aholdusa.com>
> Does anyone have experience or information in creating MIB Expressions?  I
> am wanting to create
> some custom MIB expressions in Netview and have found very limited
> information regarding how to create
> them?  Any information would be appreciated.

It uses a post-fix notation, first the operands and last the operator. Here is
an example:

LANIf%Util \
"% interface utilization from                          \
((ifInOctets + ifOutOctets) * 8 * 100) / ifSpeed"      \
                            .1.3.6.1.2.1.2.2.1.10.     \
                            .1.3.6.1.2.1.2.2.1.16. +   \
                            8 * 100 *                  \
                            .1.3.6.1.2.1.2.2.1.5. /

the '\' means that the expression continues in the next line. As you can see
the format is:
    ExpresionName "Description" Operations

being Operation some like: 6 7 * (eq. 6*7) or MIBVariable 9 * 100 / (eq.
MIBVariable * 9 / 100).

Be careful when using MIBVariables, you must put a '.' at the end:
.1.3.6.1.2.1.2.2.1.10.

Hope this helps.

    Jose Luis



>
>
> Regards
>
> Dave Kretzmer   (dkretzme@aholdusa.com)
> Ahold Information Services


--- End Message ---
<Prev in Thread] Current Thread [Next in Thread>

Archive operated by Skills 1st Ltd

See also: The NetView Web