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

listsnmpoidmappings

Arguments

The optional arguments below are supported. At most one argument may be specified for a given command invocation.

  • <parameter set type> — limits output to only the specified parameter set type name

  • -inactive — limits output to only inactive mappings.

What it does

Lists the base OID Rhino uses to represent SNMP statistics from each parameter set. Includes three columns of information:

  • The base OID used for the parameter set type.

  • active or inactive, for whether the mapping is currently in use. (A mapping may be present but inactive if it maps to a parameter set type representing usage statistics for a service which is not currently deployed). Mappings may also become inactive in the event of an OID conflict.)

  • The parameter set type associated with the OID mapping.

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

Arguments

The following argument must be specified:

  • <parameter set type> — the name of the parameter set type to update.

At most one of the arguments below must also be specified:

  • <oid> — sets the mapping to the specified OID value

  • -auto — sets the OID mapping to a value automatically

  • -none — clears the OID 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.

What it does

Sets or clears SNMP OID mappings.

Example

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

createsnmpmappingconfig

Arguments

The following argument must be specified:

  • <parameter set type> — the name of the parameter set type to create.

What it does

Create a new SNMP mapping configuration for the specified parameter set type.

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

Arguments

The following argument must be specified:

  • <parameter set type> — the name of the parameter set type to remove.

What it does

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

What it does

Removes all currently inactive SNMP parameter set type mappings.

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

clearsnmpoidmapping

Warning Deprecated in Rhino 2.4.0.11 — see setsnmpoidmapping above.

Argument

<parameter set type>

What it does

Clears SNMP OID mappings.

Example

clearsnmpoidmapping JVM
Previous page Next page
Rhino Version 2.5.0