Note

The commands described here relate only to the legacy OID model and not the static OID model introduced in Rhino 3.1.

To list or set the OID mappings for counter statistics, use the following Rhino management console commands.

listsnmpcountermappings

Command

listsnmpcountermappings [parameter set type name]
  Description
    Lists the current Parameter Set Type + Counter Name -> Index mappings.  If a
    parameter set type name is specified, then only the mappings associated with
    that parameter set type are listed, otherwise all mappings are listed.

What it does

Lists the current index mappings of the counter names for parameter set types. The mappings represent SNMP statistics from each parameter set type. Includes three columns of information:

  • The parameter set type name

  • The index assigned to the counter

  • The counter name within the parameter set type

Example

[Rhino@localhost (#1)] listsnmpcountermappings Transactions
Counter Mappings
================
Transactions                              2 active
Transactions                              3 started
Transactions                              4 committed
Transactions                              5 rolledBack

setsnmpcountermapping

Command

setsnmpcountermapping [-namespace] <parameter set type name> <counter name>
<-index <index>|-auto|-none>
  Description
    Sets or clears the index used for the specified parameter set type and counter.
    The -index option sets the mapping to a specific index, while the -auto option
    auto-assigns an available index.  The -none option clears any existing mapping.
Note If the parameter set type has default pre-defined counter mapping, -auto will set the counter mapping to the pre-defined value. Otherwise, it will set to an auto-generated value.

What it does

Sets or clears SNMP counter mappings.

Example

[Rhino@localhost (#1)] setsnmpcountermapping Services activeRootSbbs -index 4
SNMP counter mapping for activeRootSbbs set to 4
Previous page Next page
Rhino Version 3.1