nv-l
[Top] [All Lists]

Re: Mibtable usage (2)

To: nv-l@lists.tivoli.com
Subject: Re: Mibtable usage (2)
From: James_Shanks@tivoli.com
Date: Fri, 22 Sep 2000 10:44:38 -0400

Luc -

The "-inst" operand only works with instances because that's what is is designed
to do.  The idea is to return only the data about the instances you want and not
the whole table.   See the linguistic connection between "inst" and "instance"
in English.  It is not meant as a security function to restrict MIB browsing to
only certain variables or parts of variables.  SNMP V1/V2 do not provide that,
and NetView doesn't either.

James Shanks
Team Leader, Level 3 Support
 Tivoli NetView for UNIX and NT



luc BARNOUIN <luc.barnouin@FR.AIRSYSATM.THOMSON-CSF.COM> on 09/22/2000 03:36:32
AM

Please respond to IBM NetView Discussion <nv-l@tkg.com>

To:   IBM NetView Discussion <nv-l@tkg.com>
cc:    (bcc: James Shanks/Tivoli Systems)
Subject:  [NV-L] Mibtable usage (2)




Hi everybody,

Re-posted as no answer received...

Does anyone already used the mibtable command with "-inst" parameter, so as to
restrict browsing of the table to a selection of entries?
It works well when using an enumeration of instances (i.e 1,2,5) but I did not
succeeded in using the character string definition (refer to extract from man
pages)

 Syntax

 mibtable -table objID -fields fieldList -node nodeName [-c
     community] [-d] [-appname applicationName] [-t title]

 Flags
 ...

 -inst
                Specifies a list of instance identifiers,
                separated by commas, that specify the rows to be
                retrieved from the table.  The default is to
                return all rows.  Instance identifiers can be
                specified as numeric values, for example, 1,3,5,
                or character strings, for example, ps,/usr, where
                the ASCII equivalent for the characters  is  used as
                the instance ID.  Also, an asterisk (*) can be
                used as a pattern-matching character at  the  end of
                an instance.

My concern would be for example to browse the MIB-II "hrStorage" table with only
hrStorageFixedDisk types...

Thanks for any help

Luc BARNOUIN
_________________________________________________________________________
NV-L List information and Archives: http://www.tkg.com/nv-l


<Prev in Thread] Current Thread [Next in Thread>

Archive operated by Skills 1st Ltd

See also: The NetView Web