To list, set, create, remove and remove inactive parameter set type → OID mappings, use the following rhino-console commands.

listsnmpoidmappings

Command

listsnmpoidmappings [parameter set type name|-inactive]
  Description
    Lists the current Parameter Set Type -> OID mappings.  If a parameter set type
    name is specified, then only the OID mapping associated with that parameter set
    type are listed, otherwise all mappings are listed.  The -inactive option limits
    the listing to only inactive mappings.

Example

[Rhino@localhost (#20)] listsnmpoidmappings
Parameter Set Type OID Mappings
================================
1.3.6.1.4.1.19808.2.1.1 (active) Events
1.3.6.1.4.1.19808.2.1.2 (active) Activities
1.3.6.1.4.1.19808.2.1.3 (active) StagingThreads
1.3.6.1.4.1.19808.2.1.4 (active) LockManagers
1.3.6.1.4.1.19808.2.1.5 (active) Services
1.3.6.1.4.1.19808.2.1.6 (active) Transactions
1.3.6.1.4.1.19808.2.1.7 (active) ObjectPools
1.3.6.1.4.1.19808.2.1.8 (active) SystemInfo
1.3.6.1.4.1.19808.2.1.9 (active) MemDB-Local
1.3.6.1.4.1.19808.2.1.10 (active) MemDB-Replicated
1.3.6.1.4.1.19808.2.1.12 (active) LicenseAccounting
1.3.6.1.4.1.19808.2.1.13 (active) ActivityHandler
1.3.6.1.4.1.19808.2.1.14 (active) JVM
1.3.6.1.4.1.19808.2.1.15 (active) EventRouter
1.3.6.1.4.1.19808.2.1.16 (active) JDBCDatasource
1.3.6.1.4.1.19808.2.1.17 (active) Limiters
1.3.6.1.4.1.19808.2.1.18 (active) Savanna-Membership
1.3.6.1.4.1.19808.2.1.19 (active) Savanna-Group
1.3.6.1.4.1.19808.2.1.20 (active) StagingThreads-TM
1.3.6.1.4.1.19808.2.1.21 (active) StagingThreads-Misc

setsnmpoidmapping

Command

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

Example

[Rhino@localhost (#22)] setsnmpoidmapping JVM 1.3.6.1.4.1.19808.2.1.14

createsnmpmappingconfig

Command

createsnmpmappingconfig [-namespace] <parameter set type name>
  Description
    Create a new SNMP mapping configuration for the specified parameter set type.
    The mapping is created in the global environment unless the optional -namespace
    argument is used, in which case the mapping is created in the current namespace
    instead.

Example

[Rhino@localhost (#23)] createsnmpmappingconfig Usage.Services.SbbID[name=UsageTestSbb,vendor=OpenCloud,version=1.0]
SNMP mapping config for parameter set type Usage.Services.SbbID[name=UsageTestSbb,vendor=OpenCloud,version=1.0] created
Note

After creation, the oid mapping for the specified parameter set type is set to cleared status. Command setsnmpoidmapping can be used to set the oid mapping afterwards.

removesnmpmappingconfig

Command

removesnmpmappingconfig <parameter set type name>
  Description
    Remove the SNMP mapping configuration for the specified parameter set type

Example

[Rhino@localhost (#24)] removesnmpmappingconfig Usage.Services.SbbID[name=UsageTestSbb,vendor=OpenCloud,version=1.0]
SNMP mapping config for parameter set type Usage.Services.SbbID[name=UsageTestSbb,vendor=OpenCloud,version=1.0] removed

removeinactivesnmpmappingconfigs

Command

removeinactivesnmpmappingconfigs
  Description
    Removes all SNMP mapping configurations that are currently inactive

Example

[Rhino@localhost (#25)] removeinactivesnmpmappingconfigs
Removing mapping configuration for parameter set type Activities
Removing mapping configuration for parameter set type Events
Removed 2 mapping configurations
Previous page Next page
Rhino Version 2.6.1