nv-l

Re: MIB Expressions

1999-02-12 04:22:39
Subject: Re: MIB Expressions
From: Jose Luis Arbona Orovay <jarbo AT INFOCENTRE.GVA DOT ES>
To: nv-l AT lists.tivoli DOT com
Date: Fri, 12 Feb 1999 10:22:39 +0100
--- Begin Message ---
Subject: Re: MIB Expressions
From: José Luis Arbona Orovay <jarbo AT infocentre.gva DOT es>
To: Discussion of IBM NetView and POLYCENTER Manager on NetView <NV-L AT UCSBVM.ucsb DOT edu>
Date: Fri, 12 Feb 1999 09:09:50 +0100
> 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 AT aholdusa DOT com)
> Ahold Information Services


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