Dynamic elements
The other elements that the probe generates are created
dynamically and are entirely dependent on the network devices. The
varbind variables that are generated by the SNMP trap
are mapped to elements called $1
,$2
,$3
,
and so on. For each varbind, the object ID is placed in a corresponding
element called $OID1
, $OID2
, $OID3
,
and so on up to the number of varbind elements.
Note: Previous versions of the SNMP Probe (pre
version 3.5) had no leading dot (
.
) in the $OIDn
elements,
whereas the latest probe does include the leading dot; if you are
upgrading from an old version of the probe, your rules files may need
updating.The probe can also generate the following elements from various representations of the varbind variables:
$
n
_raw
- raw string representation of the varbind variables (containing all control characters)$
n
_text
- printable text representation of the varbind variables (with non-printable characters replaced with periods)$
n
_hex
- hexadecimal representation of the varbind variablesNote: The $n
_raw
,$
n
_text
, and$
n
_hex
elements are only available for SNMP variables of typeOCTET-STRING
.