nv-l
[Top] [All Lists]

Re: Mibtable usage (2)

To: nv-l@lists.tivoli.com
Subject: Re: Mibtable usage (2)
From: luc BARNOUIN <luc.barnouin@fr.airsysatm.thomson-csf.com>
Date: Mon, 25 Sep 2000 08:59:35 +0200
Il s'agit d'un message multivolet au format MIME.
James,

Thanks for handling my questions.

I understood the "-inst" purpose, and it works perfectly well in the following
sample :

/usr/OV/bin/mibtable -table .1.3.6.1.2.1.25.2.3.1 -fields
Name=3:25,Size=5:11,Used=6:11 -inst 1,2 -node <nodename>

where I get the first two instances of the hrStorageTable. But my concern was 
with
the sentence "Also, an asterisk (*) can be used as a pattern-matching character 
at
the  end of an instance." extracted from the man pages...

Luc

James_Shanks@TIVOLI.COM a écrit :

> 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



Attachment: luc.barnouin.vcf
Description: Carte pour luc BARNOUIN





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

Archive operated by Skills 1st Ltd

See also: The NetView Web