nv-l
[Top] [All Lists]

mibExpr.conf from Netview for NT (use it on Unix, too)

To: nv-l@lists.tivoli.com
Subject: mibExpr.conf from Netview for NT (use it on Unix, too)
From: "Leslie Clark" <lclark@us.ibm.com>
Date: Thu, 26 Jul 2001 00:51:28 -0400
This works fine as-is on Netview for Unix. Just make sure there are no
blanks after the continuation characters.  This is
/usr/OV/conf/mibExpr.conf.
If you make typos, they are reported in /usr/OV/log/snmpCol.trace after a
restart of
snmpCollect.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - -
#
# $Revision: 1.1 $ $Date: 1994/03/08 22:03:41 $
#
# /usr/lib/OV/conf/mibExpr.conf: List of MIB expressions
#
# The form of this file is:
#                  name "description" expression
#
# The description may be separated into "lines" using the carriage-return
#   character (\015, ctrl-M) as the line separator.  50 characters per
#   line is the normal maximum.
#
# Expression may be any combination of values or operators in postfix
#   notation. "A / (B + C)" would be A B C + /
#
# Operators can be any of the following: + - * /
#
# Value must be a MIB variable or number.  MIB variables always
#  start with a '.'.  If a MIB variable ends in '.', an instance is
#  to be appended
#
# Name must be 13 characters or less, else this may fail on a short
filename
#  system
#
# NOTE: Incorrect modifications to this file may cause data collection to
#       terminate and cause all expressions to fail
#
###############################################################################

# This was event IPIE_EV      0058720261    Interface Percent Input Errors
If%inErrors \
"input errors/total packets received" \
                  .1.3.6.1.2.1.2.2.1.14. \
                  .1.3.6.1.2.1.2.2.1.11. \
                  .1.3.6.1.2.1.2.2.1.12. \
                  + / 100 *

# This was event IPOE_EV      0058720262    Interface Percent Output Errors
If%outErrors \
"output errors/total packets transmitted" \
                  .1.3.6.1.2.1.2.2.1.20. \
                  .1.3.6.1.2.1.2.2.1.17. \
                  .1.3.6.1.2.1.2.2.1.18. \
                  + / 100 *

Trapgend_Diskutil \
"% utilization, as reported by trapgend subagent, \
(blocks - bfree) / (blocks)" \
                  .1.3.6.1.4.1.2.6.4.4.2.1.2.   \
                  .1.3.6.1.4.1.2.6.4.4.2.1.3. - \
                  .1.3.6.1.4.1.2.6.4.4.2.1.2. / 100 *
###############################################################################
#  The following is a list of MIB expressions that can be appended to the file
#  /usr/OV/mibExpr.conf.   These expressions will allow you to collect the
#  following set of TCPIP network performance statistics:
#
#        o %Retransmissions
#        o %Rejects
#        o %Bandwidth Utilization (Half-duplex)
#        o %Bandwidth Utilization, inbound
#        o %Bandwidth Utilization, outbound
#        o Average Packet Size, inbound
#        o Average Packet Size, outbound
#        o Total Throughput, in bytes
#        o Total Throughput, in bits
#        o Undelivered Packets, inbound
#        o Undelivered Packets, outbound
#        o Total Packets, inbound
#        o Total Packets, outbound
#        o Total bits, inbound
#        o Total bits, outbound
#        o Ethernet Total Packets (RMON)
#
#
###############################################################################

Retransmits \
"(ifOutDiscards+ifOutErrors)/(ifOutUcastPkts+ifOutNUcastPkts)" \
     .1.3.6.1.2.1.2.2.1.19. \
     .1.3.6.1.2.1.2.2.1.20. + \
     .1.3.6.1.2.1.2.2.1.17. \
     .1.3.6.1.2.1.2.2.1.18. + /

Rejects \
"%Rejects = (ifInDiscards + IfInUnknownProtos + IfInErrors) / ( ifOutUcastPkts 
+ ifOutNUcastPkts)" \
     .1.3.6.1.2.1.2.2.1.13.  \
     .1.3.6.1.2.1.2.2.1.15.  \
     .1.3.6.1.2.1.2.2.1.14.  + +\
     .1.3.6.1.2.1.2.2.1.17.  \
     .1.3.6.1.2.1.2.2.1.18. + /

# Valid only for half-duplex channels
# (e.g. "normal" ethernet and "normal" FDDI)
BandwidthUtilHdx \
"8*100*(ifInOctets+ifOutOctets) / ifSpeed" \
     .1.3.6.1.2.1.2.2.1.10.  \
     .1.3.6.1.2.1.2.2.1.16. +\
     .1.3.6.1.2.1.2.2.1.5. / \
     800 *


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 *

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 *

AvgPktSzIn  \
"Average size of inbound packets, expressed as   \
ifInOctets/(ifInUcastPkts + ifInNUcastPkts)" \
     .1.3.6.1.2.1.2.2.1.10. \
     .1.3.6.1.2.1.2.2.1.11. \
     .1.3.6.1.2.1.2.2.1.12. +  /

AvgPktSzOut \
"Average size of outbound packets, expressed as  \
ifOutOctets/(ifOutUcastPkts + ifOutNUcastPkts)" \
     .1.3.6.1.2.1.2.2.1.16. \
     .1.3.6.1.2.1.2.2.1.17. \
     .1.3.6.1.2.1.2.2.1.18. +  /

ThruPutBytes \
"ifInOctets + ifOutOctets" \
     .1.3.6.1.2.1.2.2.1.10.  \
     .1.3.6.1.2.1.2.2.1.16. +

DiscardRate \
" (ifinDiscards+ifOutDiscards) * 100 \
  \ (ifInUcastPkts + ifInNUcastPkts +     \
    ifOutUcastPkts + ifOutNUcastPkts)"    \
     .1.3.6.1.2.1.2.2.1.13.            \
     .1.3.6.1.2.1.2.2.1.19. +          \
     .1.3.6.1.2.1.2.2.1.11.            \
     .1.3.6.1.2.1.2.2.1.12. +          \
     .1.3.6.1.2.1.2.2.1.17. +          \
     .1.3.6.1.2.1.2.2.1.18. + / 100 *

ErrorRate \
" (ifinErrors+ifOutErrors)  * 100 \
  \ (ifInUcastPkts + ifInNUcastPkts +     \
    ifOutUcastPkts + ifOutNUcastPkts)"    \
     .1.3.6.1.2.1.2.2.1.14.            \
     .1.3.6.1.2.1.2.2.1.20. +          \
     .1.3.6.1.2.1.2.2.1.11.            \
     .1.3.6.1.2.1.2.2.1.12. +          \
     .1.3.6.1.2.1.2.2.1.17. +          \
     .1.3.6.1.2.1.2.2.1.18. + / 100 *

UndeliveredPktsIn  \
"ifinDiscards + ifinErrors"  \
     .1.3.6.1.2.1.2.2.1.13. \
     .1.3.6.1.2.1.2.2.1.14. +

UndeliveredPktsOut \
"ifOutDiscards + ifOutErrors"  \
     .1.3.6.1.2.1.2.2.1.19. \
     .1.3.6.1.2.1.2.2.1.20. +

TotalPktsIn \
"ifInUcastPkts + ifInNUcastPkts" \
     .1.3.6.1.2.1.2.2.1.11. \
     .1.3.6.1.2.1.2.2.1.12. +

TotalPktsOut \
"ifOutUcastPkts + ifOutNUcastPkts" \
     .1.3.6.1.2.1.2.2.1.17. \
     .1.3.6.1.2.1.2.2.1.18. +

BitsIn \
"ifInOctets * 8" \
     .1.3.6.1.2.1.2.2.1.10.  8 *

BitsOut \
"ifOutOctets * 8" \
     .1.3.6.1.2.1.2.2.1.16.  8  *


ThruPutBits \
"ifInOctets + ifOutOctets * 8" \
        8 \
        .1.3.6.1.2.1.2.2.1.10. \
        .1.3.6.1.2.1.2.2.1.16. +  *


RMONTotalPkts \
"etherStatsBroadcastPkts + etherStatsMulticastPkts" \
        .1.3.6.1.2.1.16.1.1.1.6. \
        .1.3.6.1.2.1.16.1.1.1.7. +
- - - - - - - - - - - - - -  end of that file - - - - - - - - - - - - - - - - - 
- - - - - - -

Cordially,

Leslie A. Clark
IBM Global Services - Systems Mgmt & Networking


<Prev in Thread] Current Thread [Next in Thread>
  • mibExpr.conf from Netview for NT (use it on Unix, too), Leslie Clark <=

Archive operated by Skills 1st Ltd

See also: The NetView Web