Non-sample based Rhino statistics (all gauges and counters) that are registered according to the legacy OID model are accessible via SNMP tables.
SNMP Table Structure
Each SNMP table represents a single parameter set type. The values in each SNMP table represent statistics from the individual parameter sets associated with the table’s parameter set type. Each table uses the name of a parameter set, converted to an OID, as a table index. Individual table rows represent parameter sets, while the table columns represent statistics from the parameter set type.
The first column is special, as it contains the parameter set index value as a string. For the purposes of SNMP, the name of the root parameter set for each parameter set type can be considered "(root)".
All other parameter sets use their normal parameter set names, converted to OIDs, as index keys.
For example, the following output (generated using snmpwalk
) shows the legacy OID model registered example Usage.Services.SbbID[name=UsageTestSbb,vendor=OpenCloud,version=1.0]
parameter set type’s representation in the SNMP agent as OIDs:
What the colors represent
|
The OID representation of the table indices in this example is as follows:
-
TestSBBTableIndex is the string
Services.S-f36d2ae2-ageTestSbb,vendor=OpenCloud,version=1.0]
stored in an OID representation as:
83.101.114.118.105.99.101.115.46.83.45.102.51.54.100.50.97.101.50.45.97.103.101.84.101.115.116.83.98.98.44.118.101.110.100.111.114.61.79.112.101.110.67.108.111.117.100.44.118.101.114.115.105.111.110.61.49.46.48.93
-
TestSBBTableIndex.(default) is the string
Services.S-7cb11624-,vendor=OpenCloud,version=1.0].(default)
stored in an OID representation as:
83.101.114.118.105.99.101.115.46.83.45.55.99.98.49.49.54.50.52.45.44.118.101.110.100.111.114.61.79.112.101.110.67.108.111.117.100.44.118.101.114.115.105.111.110.61.49.46.48.93.46.40.100.101.102.97.117.108.116.41
These table indices have parameter set names that are longer than 255 characters.
Therefore, the stored representation is truncated, leading to the -f36d2ae2-
and -7cb11624-
gaps in the decoded strings.
For static model non-statically mapped parameter sets and legacy model parameter sets, exceptionally long parameter set names may be truncated if their OID representation is longer than 255 characters. This is to prevent pathname length problems with management clients that store SNMP statistics in files named after the index OID. |
For usage parameter set types, the base OID and individual statistics can be specified in annotations described in Annotations.
For statistics parameter set type in resource adaptor, the base OID can be specified in element |