The UDR structure is wrapped in a UDR called SampleUDR
. Apart from the generated structure, the SampleUDR
also holds an instance of a SampleMetaData UDR, holding meta data about the performed request. There is also a special kind of SampleUDR
called FlatSampleUDR
used for unresolved requests.
SampleUDR
The type of the input generated for responses that are mapped to the generated UDR structure.
Field | Description |
---|---|
| Meta information associated with the request. |
FlatSampleUDR
A special kind of SampleUDR
used in responses to unresolved requests. That is, requests triggered by an SnmpRequestUDR
with the unresolved field set to true. The fields are the same as for a SampleUDR
, but the data field is now a flat structure.
Field | Description |
---|---|
| A flat, unresolved OID -> Value mapping |
| Meta information associated with the request. |
SampleData
Contains data of a received SNMP response. For resolved requests, this is the generated UDR structure, compiled from the MIB files. The fields selected for polling in the SNMP Request agent are populated, unless the corresponding request times out or fails.
FlatSampleData
Contains SNMP response data for unresolved requests.
...
If isScalar is false, it means the data in the field value is a map representing a flattened tree structure. Each key - value pair in the map represents a node in the tree where key is an OID string and value is the scalar value.
SampleMetaData
Contains meta information for a request or response.
...