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 SNMPtrap 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 Probe for Siemens TNMS SNMP Interface (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: This is a raw string representation of the varbind variables (containing all control characters)
  • $n_text: This is a printable text representation of the varbind variables (with non-printable characters replaced with periods)
  • $n_hex: This is a hexadecimal representation of the varbind variables
Note: The $n_raw, $n_text, and $n_hex elements are only available for SNMP variables of type OCTET-STRING.