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
|